コード例 #1
0
ファイル: AsapiServer.cs プロジェクト: Walid-Shouman/AsTeRICS
 public void GetComponentPropertyKeys_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     GetComponentPropertyKeys_args args = new GetComponentPropertyKeys_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     GetComponentPropertyKeys_result result = new GetComponentPropertyKeys_result();
     result.Success = iface_.GetComponentPropertyKeys(args.ComponentID);
     oprot.WriteMessageBegin(new TMessage("GetComponentPropertyKeys", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
コード例 #2
0
ファイル: AsapiServer.cs プロジェクト: Walid-Shouman/AsTeRICS
 public void send_GetComponentPropertyKeys(string componentID)
 {
     oprot_.WriteMessageBegin(new TMessage("GetComponentPropertyKeys", TMessageType.Call, seqid_));
     GetComponentPropertyKeys_args args = new GetComponentPropertyKeys_args();
     args.ComponentID = componentID;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }