Exemple #1
0
 public void send_set_cql_version(string version)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("set_cql_version", TMessageType.Call, seqid_));
   set_cql_version_args args = new set_cql_version_args();
   args.Version = version;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemple #2
0
 public void set_cql_version_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   set_cql_version_args args = new set_cql_version_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   set_cql_version_result result = new set_cql_version_result();
   try {
     iface_.set_cql_version(args.Version);
   } catch (InvalidRequestException ire) {
     result.Ire = ire;
   }
   oprot.WriteMessageBegin(new TMessage("set_cql_version", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
 public void send_set_cql_version(string version)
 {
     oprot_.WriteMessageBegin(new TMessage("set_cql_version", TMessageType.Call, seqid_));
     set_cql_version_args args = new set_cql_version_args();
     args.Version = version;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }