/// <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(); } }
/// <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(); } }
/// <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);
/// <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);