public ValueTask <OutgoingResponseFrame> DispatchAsync(IncomingRequestFrame request, Current current) { var ae = new AlsoEmpty(); var responseFrame = OutgoingResponseFrame.WithReturnValue(current, compress: false, format: default,
public ValueTask <OutgoingResponseFrame> DispatchAsync(IncomingRequestFrame request, Current current) { var ae = new AlsoEmpty(); var responseFrame = OutgoingResponseFrame.WithReturnValue(current, format: null, ae, (OutputStream ostr, AlsoEmpty ae) => ostr.WriteClass(ae)); return(new ValueTask <OutgoingResponseFrame>(responseFrame)); }
public override bool ice_invoke(byte[] inParams, out byte[] outParams, Ice.Current current) { Ice.Communicator communicator = current.adapter.getCommunicator(); Ice.OutputStream @out = new Ice.OutputStream(communicator); @out.startEncapsulation(current.encoding, Ice.FormatType.DefaultFormat); AlsoEmpty ae = new AlsoEmpty(); @out.writeObject(ae); @out.writePendingObjects(); @out.endEncapsulation(); outParams = @out.finished(); return true; }
public override bool ice_invoke(byte[] inParams, out byte[] outParams, Ice.Current current) { Ice.Communicator communicator = current.adapter.getCommunicator(); Ice.OutputStream @out = new Ice.OutputStream(communicator); @out.startEncapsulation(current.encoding, Ice.FormatType.DefaultFormat); AlsoEmpty ae = new AlsoEmpty(); @out.writeValue(ae); @out.writePendingValues(); @out.endEncapsulation(); outParams = @out.finished(); return(true); }