Пример #1
0
 /// <summary>Reads an empty return value from the response frame. If the response frame carries
 /// a failure, reads and throws this exception.</summary>
 public void ReadVoidReturnValue()
 {
     if (ReplyStatus == ReplyStatus.OK)
     {
         InputStream.ReadEmptyEncapsulation(_communicator, Ice1Definitions.Encoding, Payload.Slice(1));
     }
     else
     {
         throw ReadException();
     }
 }
Пример #2
0
 /// <summary>Reads an empty return value from the response frame. If the response frame carries
 /// a failure, reads and throws this exception.</summary>
 public void ReadVoidReturnValue()
 {
     if (ReplyStatus == ReplyStatus.OK)
     {
         InputStream.ReadEmptyEncapsulation(_communicator, Protocol.GetEncoding(), Payload.Slice(1));
     }
     else
     {
         throw ReadException();
     }
 }
Пример #3
0
 /// <summary>Reads the empty parameter list, calling this methods ensure that the frame payload
 /// correspond to the empty parameter list.</summary>
 /// <param name="communicator">The communicator.</param>
 // TODO: we currently need the communicator only to skip (read) tagged classes.
 public void ReadEmptyParamList(Communicator communicator) =>
 InputStream.ReadEmptyEncapsulation(communicator, Protocol.GetEncoding(), Payload);
Пример #4
0
 /// <summary>Reads the empty parameter list, calling this methods ensure that the frame payload
 /// correspond to the empty parameter list.</summary>
 public void ReadEmptyParamList() =>
 InputStream.ReadEmptyEncapsulation(_communicator, Ice1Definitions.Encoding, Payload);