public UploadOfflinePictureAction(IQQContext context,
         QQActionListener listener, QQUser user, string file)
     : base(context, listener)
 {
     _user = user;
     _file = file;
 }
 public MarkEmailAction(bool status, List<QQEmail> markList,
         IQQContext context, QQActionListener listener)
     : base(context, listener)
 {
     this.status = status;
     this.markList = markList;
 }
 public GetUserPicAction(IQQContext context, QQActionListener listener,
     CFaceItem cface, QQMsg msg, Stream picOut)
     : base(context, listener)
 {
     this.cface = cface;
     this.msg = msg;
     this.picOut = picOut;
 }
 public GetOffPicAction(IQQContext context, QQActionListener listener,
     OffPicItem offpic, QQMsg msg, Stream picOut)
     : base(context, listener)
 {
     _offpic = offpic;
     _msg = msg;
     _picOut = picOut;
 }
 /**
  * <p>Constructor for GetGroupPicAction.</p>
  *
  * @param context a {@link iqq.im.core.IQQContext} object.
  * @param listener a {@link iqq.im.IQQActionListener} object.
  * @param cface a {@link iqq.im.bean.content.CFaceItem} object.
  * @param msg a {@link iqq.im.bean.QQMsg} object.
  * @param picOut a {@link java.io.OutputStream} object.
  */
 public GetGroupPicAction(IQQContext context, QQActionListener listener,
                                     CFaceItem cface, QQMsg msg, Stream picOut)
     : base(context, listener)
 {
     _cface = cface;
     _msg = msg;
     _picOut = picOut;
 }
 public void Init(IQQContext context)
 {
     for (var i = -1; i < _pollThreadNum; ++i)
     {
         var col = new BlockingCollection<IQQActor>();
         var task = Task.Run(() => Run(col), _cts.Token);
         _actorQueues[i] = new Tuple<BlockingCollection<IQQActor>, Task>(col, task);
     }
 }
Beispiel #7
0
 public WebLoginAction(IQQContext context, QQActionListener listener, 
     string username, string password, long uin, string verifyCode)
     : base(context, listener)
 {
     _username = username;
     _password = password;
     _uin = uin;
     _verifyCode = verifyCode;
 }
 public GetDiscussionListAction(IQQContext context, ActionEventListener listener = null)
     : base(context, listener)
 {
 }
 public GetTuringRobotReplyAction(IQQContext context, QQActionListener listener, QQMsg input)
     : base(context, listener)
 {
     _input = input;
 }
Beispiel #10
0
 public GetQRCodeAction(IQQContext context, ActionEventListener listener = null) : base(context, listener)
 {
 }
Beispiel #11
0
 public SearchGroupInfoAction(IQQContext context, QQActionListener listener, QQGroupSearchList buddy)
     : base(context, listener)
 {
     _buddy = buddy;
 }
Beispiel #12
0
 public GetRecentListAction(IQQContext context, QQActionListener listener) : base(context, listener)
 {
 }
 public GetGroupListAction(IQQContext context, QQActionListener listener)
     : base(context, listener)
 {
 }
Beispiel #14
0
 public StoreModule(IQQContext context)
     : base(context)
 {
 }
Beispiel #15
0
 public GetFriendFaceAction(IQQContext context, QQActionListener listener, QQUser user)
     : base(context, listener)
 {
     this._user = user;
 }
 public GetGroupInfoAction(IQQContext context, QQGroup group, ActionEventListener listener = null) : base(context, listener)
 {
     _group = group;
 }
Beispiel #17
0
 protected WebQQInfoAction(IQQContext context, ActionEventListener listener = null)
     : base(context, listener)
 {
 }
Beispiel #18
0
 public GetOnlineFriendAction(IQQContext context, QQActionListener listener) : base(context, listener)
 {
 }
Beispiel #19
0
 public StoreModule(IQQContext context) : base(context)
 {
 }
 public GetDiscussionListAction(IQQContext context, ActionEventListener listener = null) : base(context, listener)
 {
 }
Beispiel #21
0
 public SendMsgAction(IQQContext context, QQActionListener listener, QQMsg msg)
     : base(context, listener)
 {
     _msg = msg;
 }
 public LoginEmailAction(IQQContext context, QQActionListener listener)
     : base(context, listener)
 {
 }
 public GetStrangerInfoAction(IQQContext context, QQActionListener listener,
         QQUser user)
     : base(context, listener)
 {
     this.user = user;
 }
Beispiel #24
0
 public PollMsgAction(IQQContext context, ActionEventListener listener = null) : base(context, listener)
 {
 }
Beispiel #25
0
 public PollMsgAction(IQQContext context, ActionEventListener listener = null)
     : base(context, listener)
 {
 }
Beispiel #26
0
 protected WebQQAction(IQQContext context, ActionEventListener listener = null)
     : base(context.GetSerivce <IHttpService>())
 {
     _context       = context;
     OnActionEvent += listener;
 }
Beispiel #27
0
 public CheckEmailSig(string url, IQQContext context, QQActionListener listener)
     : base(context, listener)
 {
     this._url = url;
 }
Beispiel #28
0
 public GetPT4Auth(IQQContext context, QQActionListener listener) : base(context, listener)
 {
 }
Beispiel #29
0
 public PollMsgAction(IQQContext context, QQActionListener listener) : base(context, listener)
 {
 }
Beispiel #30
0
 public ChatModule(IQQContext context) : base(context)
 {
 }
 public GetFriendInfoAction(IQQContext context, QQFriend friend, ActionEventListener listener = null)
     : base(context, listener)
 {
     _friend = friend;
 }
Beispiel #32
0
 public LoginModule(IQQContext context) : base(context)
 {
 }
Beispiel #33
0
 public AccountModule(IQQContext context) : base(context)
 {
 }
Beispiel #34
0
 public GetDiscuzListAction(IQQContext context, QQActionListener listener) : base(context, listener)
 {
 }
 public GetFriendQQNumberAction(IQQContext context, QQFriend friend, ActionEventListener listener = null)
     : base(context, listener)
 {
     _friend = friend;
 }
Beispiel #36
0
 public ChannelLoginAction(IQQContext context, ActionEventListener listener = null) : base(context, listener)
 {
 }
 public GetCustomFaceSigAction(IQQContext context, QQActionListener listener)
     : base(context, listener)
 {
 }
Beispiel #38
0
 public CheckSigAction(IQQContext context, ActionEventListener listener = null) : base(context, listener)
 {
 }
 public GetSelfInfoAction(IQQContext context, QQActionListener listener)
     : base(context, listener)
 {
 }
Beispiel #40
0
 /**
  * <p>Constructor for AbstractHttpAction.</p>
  *
  * @param context  a {@link IQQContext} object.
  * @param listener a {@link QQActionListener} object.
  */
 public GetWebqq(IQQContext context, QQActionListener listener) : base(context, listener)
 {
 }
 public GetOnlineFriendAction(IQQContext context, QQActionListener listener)
     : base(context, listener)
 {
 }
Beispiel #42
0
 protected QQAction(IQQContext context, ActionEventListener listener = null)
     : base(context.GetSerivce <IHttpService>())
 {
     SetContext(context);
     OnActionEvent += listener;
 }
 public GetGroupInfoAction(IQQContext context, QQGroup group, ActionEventListener listener = null)
     : base(context, listener)
 {
     _group = group;
 }
Beispiel #44
0
 public GetVFWebqq(IQQContext context, QQActionListener listener)
     : base(context, listener)
 {
 }
Beispiel #45
0
 protected WebQQAction(IQQContext context, ActionEventListener listener = null)
     : base(context.GetSerivce<IHttpService>())
 {
     _context = context; 
     OnActionEvent += listener;
 }
Beispiel #46
0
 public virtual void Init(IQQContext context)
 {
     Context = context;
 }
 public GetVfwebqqAction(IQQContext context, ActionEventListener listener = null)
     : base(context, listener)
 {
 }
Beispiel #48
0
 public GetUserLevelAction(IQQContext context, QQActionListener listener, QQUser user)
     : base(context, listener)
 {
     _user = user;
 }
Beispiel #49
0
 public GetQRCodeAction(IQQContext context, ActionEventListener listener = null)
     : base(context, listener)
 {
 }
Beispiel #50
0
 public GetCaptchaImageAction(IQQContext context, QQActionListener listener, long uin)
     : base(context, listener)
 {
     _uin = uin;
 }
 public GetCaptchaImageAction(IQQContext context, QQActionListener listener, long uin)
     : base(context, listener)
 {
     _uin = uin;
 }
Beispiel #52
0
 public static Task FireNotifyAsync(this IQQContext context, QQNotifyEventType type, object target = null)
 {
     return(context.FireNotifyAsync(QQNotifyEvent.CreateEvent(type, target)));
 }
 public ChannelLoginAction(IQQContext context, QQActionListener listener, QQStatus status)
     : base(context, listener)
 {
     this._status = status;
 }
Beispiel #54
0
 public GetSelfInfoAction(IQQContext context, ActionEventListener listener = null) : base(context, listener)
 {
 }
 public GetFriendInfoAction(IQQContext context, QQActionListener listener, QQUser buddy)
     : base(context, listener)
 {
     _buddy = buddy;
 }
Beispiel #56
0
 public CheckQRCodeAction(IQQContext context, QQActionListener listener) : base(context, listener)
 {
 }
 public UploadCustomFaceAction(IQQContext context, QQActionListener listener, string file)
     : base(context, listener)
 {
     _file = file;
 }
Beispiel #58
0
 public UploadCustomFaceAction(IQQContext context, QQActionListener listener, string file)
     : base(context, listener)
 {
     _file = file;
 }
 public GetGroupInfoAction(IQQContext context, QQActionListener listener, QQGroup group)
     : base(context, listener)
 {
     this._group = group;
 }
 public GetOnlineFriendsAction(IQQContext context, ActionEventListener listener = null) : base(context, listener)
 {
 }