コード例 #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(JabberService service, string propertyFile)
 {
     return new ComponentLogin(service).Login(propertyFile);
 }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
ファイル: XdbTracker.cs プロジェクト: csfmeridian/jabber-net
 /// <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);
 }