public Murmur.LogEntry[] getLog(int first, int last, _System.Collections.Generic.Dictionary<string, string> context__) { IceInternal.Outgoing og__ = handler__.getOutgoing("getLog", Ice.OperationMode.Idempotent, context__); try { try { IceInternal.BasicStream os__ = og__.ostr(); os__.writeInt(first); os__.writeInt(last); } catch(Ice.LocalException ex__) { og__.abort(ex__); } bool ok__ = og__.invoke(); try { if(!ok__) { try { og__.throwUserException(); } catch(Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } IceInternal.BasicStream is__ = og__.istr(); is__.startReadEncaps(); Murmur.LogEntry[] ret__; { int szx__ = is__.readSize(); is__.startSeq(szx__, 5); ret__ = new Murmur.LogEntry[szx__]; for(int ix__ = 0; ix__ < szx__; ++ix__) { ret__[ix__] = new Murmur.LogEntry(); ret__[ix__].read__(is__); is__.checkSeq(); is__.endElement(); } is__.endSeq(szx__); } is__.endReadEncaps(); return ret__; } catch(Ice.LocalException ex__) { throw new IceInternal.LocalExceptionWrapper(ex__, false); } } finally { handler__.reclaimOutgoing(og__); } }
public static Murmur.LogEntry[] read(IceInternal.BasicStream is__) { Murmur.LogEntry[] v__; { int szx__ = is__.readAndCheckSeqSize(5); v__ = new Murmur.LogEntry[szx__]; for(int ix__ = 0; ix__ < szx__; ++ix__) { v__[ix__] = new Murmur.LogEntry(); v__[ix__].read__(is__); } } return v__; }
public static Murmur.LogEntry[] read(IceInternal.BasicStream is__) { Murmur.LogEntry[] v__; { int szx__ = is__.readSize(); is__.startSeq(szx__, 5); v__ = new Murmur.LogEntry[szx__]; for(int ix__ = 0; ix__ < szx__; ++ix__) { v__[ix__] = new Murmur.LogEntry(); v__[ix__].read__(is__); is__.checkSeq(); is__.endElement(); } is__.endSeq(szx__); } return v__; }
public Murmur.LogEntry[] end_getLog(Ice.AsyncResult r__) { IceInternal.OutgoingAsync outAsync__ = (IceInternal.OutgoingAsync)r__; IceInternal.OutgoingAsync.check__(outAsync__, this, __getLog_name); if(!outAsync__.wait__()) { try { outAsync__.throwUserException__(); } catch(Murmur.InvalidSecretException) { throw; } catch(Ice.UserException ex__) { throw new Ice.UnknownUserException(ex__.ice_name(), ex__); } } Murmur.LogEntry[] ret__; IceInternal.BasicStream is__ = outAsync__.istr__; is__.startReadEncaps(); { int szx__ = is__.readAndCheckSeqSize(5); ret__ = new Murmur.LogEntry[szx__]; for(int ix__ = 0; ix__ < szx__; ++ix__) { ret__[ix__] = new Murmur.LogEntry(); ret__[ix__].read__(is__); } } is__.endReadEncaps(); return ret__; }