public void InsertComponent_Process(int seqid, TProtocol iprot, TProtocol oprot) { InsertComponent_args args = new InsertComponent_args(); args.Read(iprot); iprot.ReadMessageEnd(); InsertComponent_result result = new InsertComponent_result(); try { iface_.InsertComponent(args.ComponentID, args.ComponentType); } catch (AsapiException asapiEx) { result.AsapiEx = asapiEx; } oprot.WriteMessageBegin(new TMessage("InsertComponent", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_InsertComponent(string componentID, string componentType) { oprot_.WriteMessageBegin(new TMessage("InsertComponent", TMessageType.Call, seqid_)); InsertComponent_args args = new InsertComponent_args(); args.ComponentID = componentID; args.ComponentType = componentType; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }