コード例 #1
0
ファイル: IncomingResponseFrame.cs プロジェクト: wandec/ice
 /// <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);