public static void write(IceInternal.BasicStream os__, IDHT.keyvaluepair[] v__) { if(v__ == null) { os__.writeSize(0); } else { os__.writeSize(v__.Length); for(int ix__ = 0; ix__ < v__.Length; ++ix__) { (v__[ix__] == null ? new IDHT.keyvaluepair() : v__[ix__]).write__(os__); } } }
private void slaveDisconnected(string id, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges, _System.Collections.Generic.Dictionary<string, string> context__, bool explicitContext__) { if(explicitContext__ && context__ == null) { context__ = emptyContext_; } int cnt__ = 0; while(true) { Ice.ObjectDel_ delBase__ = null; try { delBase__ = getDelegate__(false); DHTNodeDel_ del__ = (DHTNodeDel_)delBase__; del__.slaveDisconnected(id, newRanges, childRanges, context__); return; } catch(IceInternal.LocalExceptionWrapper ex__) { handleExceptionWrapper__(delBase__, ex__, null); } catch(Ice.LocalException ex__) { handleException__(delBase__, ex__, null, ref cnt__); } } }
public static void write(IceInternal.BasicStream os__, IDHT.range[] v__) { if(v__ == null) { os__.writeSize(0); } else { os__.writeSize(v__.Length); for(int ix__ = 0; ix__ < v__.Length; ++ix__) { v__[ix__].write__(os__); } } }
public void slaveDisconnected(string id, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges) { slaveDisconnected(id, newRanges, childRanges, null, false); }
public void slaveDisconnected(string id, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges, _System.Collections.Generic.Dictionary<string, string> context__) { slaveDisconnected(id, newRanges, childRanges, context__, true); }
public void masterDisconnected(string connectTo, IDHT.range subtree, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges) { masterDisconnected(connectTo, subtree, newRanges, childRanges, null, false); }
public void masterDisconnected(string connectTo, IDHT.range subtree, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges, _System.Collections.Generic.Dictionary<string, string> context__) { masterDisconnected(connectTo, subtree, newRanges, childRanges, context__, true); }
public abstract void slaveDisconnected(string id, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges, Ice.Current current__);
public nodeConf(string nodeId, string parentNode, int min, int max, IDHT.keyvaluepair[] elems) { this.nodeId = nodeId; this.parentNode = parentNode; this.min = min; this.max = max; this.elems = elems; }
public void slaveDisconnected(string id, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges) { slaveDisconnected(id, newRanges, childRanges, Ice.ObjectImpl.defaultCurrent); }
public abstract void masterDisconnected(string connectTo, IDHT.range subtree, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges, Ice.Current current__);
public void masterDisconnected(string connectTo, IDHT.range subtree, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges) { masterDisconnected(connectTo, subtree, newRanges, childRanges, Ice.ObjectImpl.defaultCurrent); }
public void slaveDisconnected(string id, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges, _System.Collections.Generic.Dictionary<string, string> context__) { Ice.Current current__ = new Ice.Current(); initCurrent__(ref current__, "slaveDisconnected", Ice.OperationMode.Normal, context__); IceInternal.Direct.RunDelegate run__ = delegate(Ice.Object obj__) { DHTNode servant__ = null; try { servant__ = (DHTNode)obj__; } catch(_System.InvalidCastException) { throw new Ice.OperationNotExistException(current__.id, current__.facet, current__.operation); } servant__.slaveDisconnected(id, newRanges, childRanges, current__); return Ice.DispatchStatus.DispatchOK; }; IceInternal.Direct direct__ = null; try { direct__ = new IceInternal.Direct(current__, run__); try { Ice.DispatchStatus status__ = direct__.servant().collocDispatch__(direct__); _System.Diagnostics.Debug.Assert(status__ == Ice.DispatchStatus.DispatchOK); } finally { direct__.destroy(); } } catch(Ice.SystemException) { throw; } catch(System.Exception ex__) { IceInternal.LocalExceptionWrapper.throwWrapper(ex__); } }
public void slaveDisconnected(string id, IDHT.range[] newRanges, IDHT.nodeConf[] childRanges, _System.Collections.Generic.Dictionary<string, string> context__) { IceInternal.Outgoing og__ = handler__.getOutgoing("slaveDisconnected", Ice.OperationMode.Normal, context__); try { try { IceInternal.BasicStream os__ = og__.ostr(); os__.writeString(id); if(newRanges == null) { os__.writeSize(0); } else { os__.writeSize(newRanges.Length); for(int ix__ = 0; ix__ < newRanges.Length; ++ix__) { newRanges[ix__].write__(os__); } } if(childRanges == null) { os__.writeSize(0); } else { os__.writeSize(childRanges.Length); for(int ix__ = 0; ix__ < childRanges.Length; ++ix__) { (childRanges[ix__] == null ? new IDHT.nodeConf() : childRanges[ix__]).write__(os__); } } } catch(Ice.LocalException ex__) { og__.abort(ex__); } bool ok__ = og__.invoke(); if(!og__.istr().isEmpty()) { try { if(!ok__) { try { og__.throwUserException(); } catch(Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } og__.istr().skipEmptyEncaps(); } catch(Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } } finally { handler__.reclaimOutgoing(og__); } }