Ejemplo n.º 1
0
 public void send_logoutSession(string tokenKey)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("logoutSession", TMessageType.Call, seqid_));
   logoutSession_args args = new logoutSession_args();
   args.TokenKey = tokenKey;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public void logoutSession_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   logoutSession_args args = new logoutSession_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   logoutSession_result result = new logoutSession_result();
   try {
     iface_.logoutSession(args.TokenKey);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("logoutSession", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }