Exemplo n.º 1
0
            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();
            }
Exemplo n.º 2
0
            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));
            }