Example #1
0
 public void send_GetLibraryTypeName(int _homeId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("GetLibraryTypeName", TMessageType.Call, seqid_));
   GetLibraryTypeName_args args = new GetLibraryTypeName_args();
   args._homeId = _homeId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Example #2
0
 public void GetLibraryTypeName_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   GetLibraryTypeName_args args = new GetLibraryTypeName_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   GetLibraryTypeName_result result = new GetLibraryTypeName_result();
   result.Success = iface_.GetLibraryTypeName(args._homeId);
   oprot.WriteMessageBegin(new TMessage("GetLibraryTypeName", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }