Example #1
0
        private XmppConnection ConnectTo(string hostName, string userName, string password)
        {
            var connection = XmppConnection.CreateXmppConnection(hostName);

            connection.Connect();
            connection.Login(userName, password, AuctionResource);

            return(connection);
        }
 public FakeAuctionServer(string itemId)
 {
     ItemId      = itemId;
     _connection = XmppConnection.CreateXmppConnection(SharedConstants.XMPP_HOSTNAME);
 }