/// <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(JabberService service, string propertyFile) { return new ComponentLogin(service).Login(propertyFile); }
/// <summary> /// Create a Client Login dialog box that manages a component /// </summary> /// <param name="service">The component to manage</param> public ComponentLogin(JabberService service) : this() { this.Xmpp = service; }
/// <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); }