Inheritance: Smuxi.Engine.ProtocolManagerBase
Example #1
0
        public override void Sync()
        {
            Trace.Call();

            base.Sync();

            XmppProtocolManager = (XmppProtocolManager) ProtocolManager;
        }
Example #2
0
 public InviteToMenu(XmppProtocolManager protocolManager,
                     ChatViewManager chatViewManager,
                     PersonModel invitee)
     : this(protocolManager,
                     chatViewManager,
                     new [] { invitee })
 {
 }
Example #3
0
 public XmppPersonModel(Jid jid, string nick, XmppProtocolManager protocolManager)
     : base(jid, nick, protocolManager.NetworkID, protocolManager.Protocol, protocolManager)
 {
     Trace.Call(jid, nick, protocolManager);
     Jid = jid.Bare;
     Resources = new Dictionary<string, XmppResourceModel>();
     Ask = AskType.NONE;
     Subscription = SubscriptionType.none;
     Temporary = true;
     if (!String.IsNullOrEmpty(jid.Resource)) {
         GetOrCreateResource(jid);
     }
 }
Example #4
0
 public XmppPersonModel(Jid jid, string nick, XmppProtocolManager protocolManager)
     : base(jid, nick, protocolManager.NetworkID, protocolManager.Protocol, protocolManager)
 {
     Trace.Call(jid, nick, protocolManager);
     Jid          = jid.Bare;
     Resources    = new Dictionary <string, XmppResourceModel>();
     Ask          = AskType.NONE;
     Subscription = SubscriptionType.none;
     Temporary    = true;
     if (!String.IsNullOrEmpty(jid.Resource))
     {
         GetOrCreateResource(jid);
     }
 }
Example #5
0
        public InviteToMenu(XmppProtocolManager protocolManager,
                            ChatViewManager chatViewManager,
                            IList<PersonModel> invitees)
        {
            if (protocolManager == null) {
                throw new ArgumentNullException("protocolManager");
            }
            if (chatViewManager == null) {
                throw new ArgumentNullException("chatViewManager");
            }
            if (invitees == null) {
                throw new ArgumentNullException("invitees");
            }

            ProtocolManager = protocolManager;
            ChatViewManager = chatViewManager;
            Invitees = invitees;
        }