public void GetAllPorts_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetAllPorts_args args = new GetAllPorts_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetAllPorts_result result = new GetAllPorts_result(); try { result.Success = iface_.GetAllPorts(args.ComponentID); } catch (AsapiException asapiEx) { result.AsapiEx = asapiEx; } oprot.WriteMessageBegin(new TMessage("GetAllPorts", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_GetAllPorts(string componentID) { oprot_.WriteMessageBegin(new TMessage("GetAllPorts", TMessageType.Call, seqid_)); GetAllPorts_args args = new GetAllPorts_args(); args.ComponentID = componentID; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }