Exemple #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, Payload.Slice(1));
     }
     else
     {
         throw ReadException();
     }
 }
Exemple #2
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, Payload);