static void Main(string[] args) { var session = new Session(new Account { Jid = "*****@*****.**", Password = "******", Port = 5222, Server = "talkto.directi.com", Domain = "directi.com", Resource = "myresource" }); session.Start(); Console.ReadLine(); }
public FeatureNegotiationHandler(Session session) : base(session) { OnAuthenticated = packet => packet; OnResourceBinding = packet => packet; }
protected StanzaHandler(Session session) { Session = session; Stream = session.Stream; }
public AuthenticationPlainPw(Session session) : base(session) { _account = Stream.Properties.Account; OnAuthentication = packet => packet; }
protected IqHandler(Session session) : base(session) { }
public Disco(Session session) : base(session) { }
public RosterHandler(Session session) : base(session) { }
public ResourceBinder(Session session) : base(session) { OnBinding = packet => packet; }