C# Class agsXMPP.net.BoshClientSocket

Inheritance: BaseSocket
Afficher le fichier Open project: SiteView/ECC8.13

Private Properties

Свойство Type Description
BuildPostData string
GenerateKeys void
GenerateRid int
GenerateSeed string
GetRandomNumber int
Init void
OnEndWrite void
OnGetRequestStream void
OnGetResponse void
OnGetSessionRequestResponse void
OnGetSessionRequestStream void
ParseResponse void
StartWebRequest void
StartWebRequest void
TerminateBoshSession void

Méthodes publiques

Méthode Description
BoshClientSocket ( XmppConnection con ) : System
Connect ( ) : void
Disconnect ( ) : void
RequestBoshSession ( ) : void
Reset ( ) : void
Send ( byte bData ) : void
Send ( string data ) : void
TimeOutGetRequestStream ( Object stateObj ) : void

Private Methods

Méthode Description
BuildPostData ( ) : string
GenerateKeys ( ) : void

Generates a bunch of keys

GenerateRid ( ) : int
GenerateSeed ( ) : string
GetRandomNumber ( int min, int max ) : int
Init ( ) : void
OnEndWrite ( IAsyncResult ar ) : void
OnGetRequestStream ( IAsyncResult ar ) : void
OnGetResponse ( IAsyncResult ar ) : void
OnGetSessionRequestResponse ( IAsyncResult result ) : void
OnGetSessionRequestStream ( IAsyncResult ar ) : void
ParseResponse ( string res, string &body, string &stanzas ) : void

This is ugly code, but currently all BOSH server implementaions are not namespace correct, which means we can't use the XML parser here and have to spit it with string functions.

StartWebRequest ( ) : void
StartWebRequest ( bool retry, string content ) : void
TerminateBoshSession ( ) : void

Method Details

BoshClientSocket() public méthode

public BoshClientSocket ( XmppConnection con ) : System
con XmppConnection
Résultat System

Connect() public méthode

public Connect ( ) : void
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

RequestBoshSession() public méthode

public RequestBoshSession ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

Send() public méthode

public Send ( byte bData ) : void
bData byte
Résultat void

Send() public méthode

public Send ( string data ) : void
data string
Résultat void

TimeOutGetRequestStream() public méthode

public TimeOutGetRequestStream ( Object stateObj ) : void
stateObj Object
Résultat void