Esempio n. 1
0
 public Room(Jid room, Jid userJid, IXmppClient xmppClient, IClient client)
 {
     this.roomJid = room;
     this.userJid = userJid;
     this.xmppClient = xmppClient;
     this.client = client;
 }
Esempio n. 2
0
 public Room(Jid room, Jid userJid, IXmppClient xmppClient, IClient client)
 {
     this.roomJid    = room;
     this.userJid    = userJid;
     this.xmppClient = xmppClient;
     this.client     = client;
 }
Esempio n. 3
0
        public BendBackend(IConfiguration configuration)
        {
            this.configuration = configuration;

            this.jid    = new Jid(this.configuration.Jid);
            this.client = new XmppClient(new XmppTcpClientStream(this.jid, this.configuration.Password, new DnsEndPoint(this.jid.Domain, 5222)));
            this.observableSubscription = this.client.Subscribe(this);
        }
Esempio n. 4
0
 public static IClient MultiUserChat(this IXmppClient self)
 {
     return(extensions.GetValue(self, CreateMultiUserChatClient));
 }
Esempio n. 5
0
 private static IClient CreateMultiUserChatClient(IXmppClient xmppClient)
 {
     return(new Client(xmppClient));
 }
Esempio n. 6
0
 public Client(IXmppClient xmppClient)
 {
     this.xmppClient = xmppClient;
 }
Esempio n. 7
0
 private static IClient CreateMultiUserChatClient(IXmppClient xmppClient)
 {
     return new Client(xmppClient);
 }
Esempio n. 8
0
 public Client(IXmppClient xmppClient)
 {
     this.xmppClient = xmppClient;
 }