/// <summary> /// Log in to the server /// </summary> /// <param name="service">The JabberClient instance to connect</param> /// <param name="propertyFile">The name of an XML file to store properties in.</param> /// <returns>True if the user clicked OK, false on cancel</returns> public static bool Login(Jabber.Server.JabberService service, string propertyFile) { return(new ComponentLogin(service).Login(propertyFile)); }
/// <summary> /// Create a new XDB tracker /// </summary> /// <param name="comp">The component to send/receive on</param> public XdbTracker(JabberService comp) { m_comp = comp; m_comp.OnXdb += new XdbHandler(OnXdb); }
/// <summary> /// Create a Client Login dialog box that manages a component /// </summary> /// <param name="service">The component to manage</param> public ComponentLogin(Jabber.Server.JabberService service) : this() { this.Xmpp = service; }