예제 #1
0
 public void send_releaseSession()
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("releaseSession", TMessageType.Call, seqid_));
   releaseSession_args args = new releaseSession_args();
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
예제 #2
0
 public void releaseSession_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   releaseSession_args args = new releaseSession_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   releaseSession_result result = new releaseSession_result();
   try {
     iface_.releaseSession();
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("releaseSession", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }