예제 #1
0
 public void profileViewPanel_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   profileViewPanel_args args = new profileViewPanel_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   profileViewPanel_result result = new profileViewPanel_result();
   try {
     result.Success = iface_.profileViewPanel(args.ProfileView, args.Session);
   } catch (UserException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("profileViewPanel", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
예제 #2
0
 public void send_profileViewPanel(ProfileView profileView, Session session)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("profileViewPanel", TMessageType.Call, seqid_));
   profileViewPanel_args args = new profileViewPanel_args();
   args.ProfileView = profileView;
   args.Session = session;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }