Example #1
0
 public void RegisterRemoteProducer_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     RegisterRemoteProducer_args args = new RegisterRemoteProducer_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     RegisterRemoteProducer_result result = new RegisterRemoteProducer_result();
     try {
         result.Success = iface_.RegisterRemoteProducer(args.TargetComponentID, args.TargetInputPortID);
     } catch (AsapiException asapiEx) {
         result.AsapiEx = asapiEx;
     }
     oprot.WriteMessageBegin(new TMessage("RegisterRemoteProducer", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Example #2
0
 public void send_RegisterRemoteProducer(string targetComponentID, string targetInputPortID)
 {
     oprot_.WriteMessageBegin(new TMessage("RegisterRemoteProducer", TMessageType.Call, seqid_));
     RegisterRemoteProducer_args args = new RegisterRemoteProducer_args();
     args.TargetComponentID = targetComponentID;
     args.TargetInputPortID = targetInputPortID;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }