Beispiel #1
0
 public XMPPRoster(XMPPConnection xmppconnection)
 {
     this.xmppconnection = xmppconnection;
     try
     {
         xmppconnection.AssertValid();
         rosteritems = xmppconnection.im.GetRoster();
     }
     catch (XmppException e)
     {
         Console.Write(e);
         return;
     }
     catch (InvalidOperationException e)
     {
         Console.Write(e);
         return;
     }
     catch (IOException e)
     {
         Console.Write(e);
         return;
     }
     catch (System.Security.Authentication.AuthenticationException e)
     {
         Console.Write(e);
         return;
     }
     catch (XmppErrorException e)
     {
         Console.Write(e);
         return;
     }
 }
Beispiel #2
0
 public Login(XMPPConnection xmppconnection)
 {
     InitializeComponent();
     this.xmppconnection = xmppconnection;
     this.BringToFront();
 }
 public XMPPConversation(XMPPConnection xmppconnection)
 {
     this.xmppconnection = xmppconnection;
 }