コード例 #1
0
ファイル: TalkService.cs プロジェクト: Banandana/LineSharp
 public void send_leaveGroup(int reqSeq, string groupId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("leaveGroup", TMessageType.Call, seqid_));
   leaveGroup_args args = new leaveGroup_args();
   args.ReqSeq = reqSeq;
   args.GroupId = groupId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
コード例 #2
0
 public void send_leaveGroup(string userId, List<string> groupList, Session session)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("leaveGroup", TMessageType.Call, seqid_));
   leaveGroup_args args = new leaveGroup_args();
   args.UserId = userId;
   args.GroupList = groupList;
   args.Session = session;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }