예제 #1
0
 /// <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));
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <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;
 }
예제 #4
0
 /// <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);
 }