Beispiel #1
0
 public void isTrackerConnected_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   isTrackerConnected_args args = new isTrackerConnected_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   isTrackerConnected_result result = new isTrackerConnected_result();
   result.Success = iface_.isTrackerConnected(args.TrackerId);
   oprot.WriteMessageBegin(new TMessage("isTrackerConnected", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Beispiel #2
0
 public void send_isTrackerConnected(int trackerId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("isTrackerConnected", TMessageType.Call, seqid_));
   isTrackerConnected_args args = new isTrackerConnected_args();
   args.TrackerId = trackerId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }