Ejemplo n.º 1
0
 public void parseTypeDeclaration_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   parseTypeDeclaration_args args = new parseTypeDeclaration_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   parseTypeDeclaration_result result = new parseTypeDeclaration_result();
   result.Success = iface_.parseTypeDeclaration(args.TypeDeclaration);
   oprot.WriteMessageBegin(new TMessage("parseTypeDeclaration", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Ejemplo n.º 2
0
 public void send_parseTypeDeclaration(string typeDeclaration)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("parseTypeDeclaration", TMessageType.Call, seqid_));
   parseTypeDeclaration_args args = new parseTypeDeclaration_args();
   args.TypeDeclaration = typeDeclaration;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }