Example #1
0
 public void GetOutputPorts_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     GetOutputPorts_args args = new GetOutputPorts_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     GetOutputPorts_result result = new GetOutputPorts_result();
     try {
         result.Success = iface_.GetOutputPorts(args.ComponentID);
     } catch (AsapiException asapiEx) {
         result.AsapiEx = asapiEx;
     }
     oprot.WriteMessageBegin(new TMessage("GetOutputPorts", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Example #2
0
 public void send_GetOutputPorts(string componentID)
 {
     oprot_.WriteMessageBegin(new TMessage("GetOutputPorts", TMessageType.Call, seqid_));
     GetOutputPorts_args args = new GetOutputPorts_args();
     args.ComponentID = componentID;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }