Example #1
0
 public GetSiteIDResponse GetSiteID(GetSiteIDRequest request)
 {
     return GetClient().GetSiteID(request);
 }
Example #2
0
 public void Read(TProtocol iprot)
 {
     TField field;
     iprot.ReadStructBegin();
     while (true)
     {
       field = iprot.ReadFieldBegin();
       if (field.Type == TType.Stop) {
     break;
       }
       switch (field.ID)
       {
     case 1:
       if (field.Type == TType.Struct) {
     Request = new GetSiteIDRequest();
     Request.Read(iprot);
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     default:
       TProtocolUtil.Skip(iprot, field.Type);
       break;
       }
       iprot.ReadFieldEnd();
     }
     iprot.ReadStructEnd();
 }
Example #3
0
 public void send_GetSiteID(GetSiteIDRequest Request)
 {
     oprot_.WriteMessageBegin(new TMessage("GetSiteID", TMessageType.Call, seqid_));
     GetSiteID_args args = new GetSiteID_args();
     args.Request = Request;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Example #4
0
 public GetSiteIDResponse GetSiteID(GetSiteIDRequest Request)
 {
     send_GetSiteID(Request);
     return recv_GetSiteID();
 }