C# 클래스 agsXMPP.XmppComponentConnection

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

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

상속: XmppConnection
파일 보기 프로젝트 열기: SiteView/ECC8.13 1 사용 예제들

공개 메소드들

메소드 설명
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)

비공개 메소드들

메소드 설명
CleanupSession ( ) : void
Login ( ) : void
SendOpenStream ( ) : void
_Open ( ) : void
m_StreamParser_OnStreamError ( object sender, Exception ex ) : void

메소드 상세

Open() 공개 메소드

public Open ( ) : void
리턴 void

Open() 공개 메소드

public Open ( string server, int port ) : void
server string
port int
리턴 void

Send() 공개 메소드

public Send ( Element e ) : void
e Element
리턴 void

SocketOnConnect() 공개 메소드

public SocketOnConnect ( object sender ) : void
sender object
리턴 void

SocketOnDisconnect() 공개 메소드

public SocketOnDisconnect ( object sender ) : void
sender object
리턴 void

SocketOnError() 공개 메소드

public SocketOnError ( object sender, Exception ex ) : void
sender object
ex System.Exception
리턴 void

StreamParserOnStreamElement() 공개 메소드

public StreamParserOnStreamElement ( object sender, agsXMPP.Xml.Dom.Node e ) : void
sender object
e agsXMPP.Xml.Dom.Node
리턴 void

StreamParserOnStreamEnd() 공개 메소드

public StreamParserOnStreamEnd ( object sender, agsXMPP.Xml.Dom.Node e ) : void
sender object
e agsXMPP.Xml.Dom.Node
리턴 void

StreamParserOnStreamStart() 공개 메소드

public StreamParserOnStreamStart ( object sender, agsXMPP.Xml.Dom.Node e ) : void
sender object
e agsXMPP.Xml.Dom.Node
리턴 void

XmppComponentConnection() 공개 메소드

Creates a new Component Connection to a given server and port
public XmppComponentConnection ( ) : System
리턴 System

XmppComponentConnection() 공개 메소드

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
리턴 System

XmppComponentConnection() 공개 메소드

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
리턴 System