public void send_OnEvent(MCoSimulationEvents @event) { oprot_.WriteMessageBegin(new TMessage("OnEvent", TMessageType.Call, seqid_)); OnEvent_args args = new OnEvent_args(); args.Event = @event; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_OnEvent(AsyncCallback callback, object state, MCoSimulationEvents @event) { oprot_.WriteMessageBegin(new TMessage("OnEvent", TMessageType.Call, seqid_)); OnEvent_args args = new OnEvent_args(); args.Event = @event; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }