C# Class agsXMPP.XmppComponentConnection

use this class to write components that connect to a Jabebr/XMPP server

http://www.xmpp.org/extensions/xep-0114.html

Inheritance: XmppConnection
Afficher le fichier Open project: SiteView/ECC8.13 Class Usage Examples

Méthodes publiques

Méthode Description
Open ( ) : void
Open ( string server, int port ) : void

Send ( Element e ) : void
SocketOnConnect ( object sender ) : void
SocketOnDisconnect ( object sender ) : void
SocketOnError ( object sender, Exception ex ) : void
StreamParserOnStreamElement ( object sender, agsXMPP.Xml.Dom.Node e ) : void
StreamParserOnStreamEnd ( object sender, agsXMPP.Xml.Dom.Node e ) : void
StreamParserOnStreamStart ( object sender, agsXMPP.Xml.Dom.Node e ) : void
XmppComponentConnection ( ) : System

Creates a new Component Connection to a given server and port

XmppComponentConnection ( string server, int port ) : System

Creates a new Component Connection to a given server and port

XmppComponentConnection ( string server, int port, string password ) : System

Creates a new Component Connection to a given server, port and password (secret)

Private Methods

Méthode Description
CleanupSession ( ) : void
Login ( ) : void
SendOpenStream ( ) : void
_Open ( ) : void
m_StreamParser_OnStreamError ( object sender, Exception ex ) : void

Method Details

Open() public méthode

public Open ( ) : void
Résultat void

Open() public méthode

public Open ( string server, int port ) : void
server string
port int
Résultat void

Send() public méthode

public Send ( Element e ) : void
e Element
Résultat void

SocketOnConnect() public méthode

public SocketOnConnect ( object sender ) : void
sender object
Résultat void

SocketOnDisconnect() public méthode

public SocketOnDisconnect ( object sender ) : void
sender object
Résultat void

SocketOnError() public méthode

public SocketOnError ( object sender, Exception ex ) : void
sender object
ex System.Exception
Résultat void

StreamParserOnStreamElement() public méthode

public StreamParserOnStreamElement ( object sender, agsXMPP.Xml.Dom.Node e ) : void
sender object
e agsXMPP.Xml.Dom.Node
Résultat void

StreamParserOnStreamEnd() public méthode

public StreamParserOnStreamEnd ( object sender, agsXMPP.Xml.Dom.Node e ) : void
sender object
e agsXMPP.Xml.Dom.Node
Résultat void

StreamParserOnStreamStart() public méthode

public StreamParserOnStreamStart ( object sender, agsXMPP.Xml.Dom.Node e ) : void
sender object
e agsXMPP.Xml.Dom.Node
Résultat void

XmppComponentConnection() public méthode

Creates a new Component Connection to a given server and port
public XmppComponentConnection ( ) : System
Résultat System

XmppComponentConnection() public méthode

Creates a new Component Connection to a given server and port
public XmppComponentConnection ( string server, int port ) : System
server string host/ip of the listening server
port int port the server listens for the connection
Résultat System

XmppComponentConnection() public méthode

Creates a new Component Connection to a given server, port and password (secret)
public XmppComponentConnection ( string server, int port, string password ) : System
server string host/ip of the listening server
port int port the server listens for the connection
password string password
Résultat System