Beispiel #1
0
 public void formatTypeInfo_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   formatTypeInfo_args args = new formatTypeInfo_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   formatTypeInfo_result result = new formatTypeInfo_result();
   result.Success = iface_.formatTypeInfo(args.TypeInfo);
   oprot.WriteMessageBegin(new TMessage("formatTypeInfo", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Beispiel #2
0
 public void send_formatTypeInfo(IdaTypeInfo typeInfo)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("formatTypeInfo", TMessageType.Call, seqid_));
   formatTypeInfo_args args = new formatTypeInfo_args();
   args.TypeInfo = typeInfo;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }