public Room(Jid room, Jid userJid, IXmppClient xmppClient, IClient client) { this.roomJid = room; this.userJid = userJid; this.xmppClient = xmppClient; this.client = client; }
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); }
public static IClient MultiUserChat(this IXmppClient self) { return(extensions.GetValue(self, CreateMultiUserChatClient)); }
private static IClient CreateMultiUserChatClient(IXmppClient xmppClient) { return(new Client(xmppClient)); }
public Client(IXmppClient xmppClient) { this.xmppClient = xmppClient; }
private static IClient CreateMultiUserChatClient(IXmppClient xmppClient) { return new Client(xmppClient); }