Method | Description | |
---|---|---|
ChangePassword ( string newPass ) : void |
Changing the Password. You should use this function only when connected with SSL or TLS because the password is sent in plain text over the connection. After this request was successful the new password is set automatically in the Username Property |
|
Open ( ) : void |
This method open the connections to the xmpp server and authenticates you to ther server. This method is async, don't assume you are already connected when it returns. You have to wait for the OnLogin Event
|
|
Open ( string username, string password ) : void |
This method open the connections to the xmpp server and authenticates you to ther server. This method is async, don't assume you are already connected when it returns. You have to wait for the OnLogin Event
|
|
Open ( string username, string password, int priority ) : void |
This method open the connections to the xmpp server and authenticates you to ther server. This method is async, don't assume you are already connected when it returns. You have to wait for the OnLogin Event
|
|
Open ( string username, string password, string resource ) : void |
This method open the connections to the xmpp server and authenticates you to ther server. This method is async, don't assume you are already connected when it returns. You have to wait for the OnLogin Event
|
|
Open ( string username, string password, string resource, int priority ) : void |
This method open the connections to the xmpp server and authenticates you to ther server. This method is async, don't assume you are already connected when it returns. You have to wait for the OnLogin Event
|
|
RequestAgents ( ) : void | ||
RequestRoster ( ) : void | ||
Send ( Element e ) : void | ||
SendMyPresence ( ) : void |
Sends our Presence, the packet is built of Status, Show and Priority
|
|
SocketOnConnect ( object sender ) : void | ||
SocketOnDisconnect ( object sender ) : void | ||
SocketOnError ( object sender, |
||
StreamParserOnStreamElement ( object sender, agsXMPP.Xml.Dom.Node e ) : void | ||
StreamParserOnStreamEnd ( object sender, agsXMPP.Xml.Dom.Node e ) : void | ||
StreamParserOnStreamError ( object sender, |
||
StreamParserOnStreamStart ( object sender, agsXMPP.Xml.Dom.Node e ) : void | ||
UpdateCapsVersion ( ) : void |
Sets the caps version automatically from the DiscoInfo object. Call this member after each change of the DiscoInfo object
|
|
XmppClientConnection ( ) : System | ||
XmppClientConnection ( SocketConnectionType type ) : System | ||
XmppClientConnection ( string server ) : System | ||
XmppClientConnection ( string server, int port ) : System |
Method | Description | |
---|---|---|
BuildMyJid ( ) : Jid |
Refreshes the myJid Member Variable
|
|
CleanupSession ( ) : void |
Does the Clieanup of the Session and sends the OnClose Event
|
|
DoRaiseEventBinded ( ) : void | ||
FireOnAuthError ( Element e ) : void | ||
GetRegistrationFields ( object data ) : void |
requests the registration fields
|
|
InitSaslHandler ( ) : void | ||
OnAgents ( object sender, agsXMPP.protocol.client.IQ iq, object data ) : void | ||
OnAuthenticate ( object sender, agsXMPP.protocol.client.IQ iq, object data ) : void | ||
OnChangePasswordResult ( object sender, agsXMPP.protocol.client.IQ iq, object data ) : void |
|
|
OnGetAuthInfo ( object sender, agsXMPP.protocol.client.IQ iq, object data ) : void | ||
OnRegisterResult ( object sender, agsXMPP.protocol.client.IQ iq, object data ) : void | ||
OnRegistrationFieldsResult ( object sender, agsXMPP.protocol.client.IQ iq, object data ) : void | ||
OnRosterIQ ( agsXMPP.protocol.client.IQ iq ) : void | ||
OpenSocket ( ) : void | ||
PickSRVRecord ( ) : agsXMPP.Net.Dns.SRVRecord |
Picks one of the SRV records. priority and weight are evaluated by the following algorithm.
|
|
RaiseOnLogin ( ) : void | ||
RemoveSrvRecord ( agsXMPP.Net.Dns.SRVRecord rec ) : void | ||
RequestLoginInfo ( ) : void | ||
Reset ( ) : void | ||
ResolveSrv ( ) : void |
Resolves the connection host of a xmpp domain when SRV records are set
|
|
SendStreamHeader ( bool startParser ) : void | ||
SetConnectServerFromSRVRecords ( ) : void | ||
_Open ( ) : void | ||
m_SaslHandler_OnSaslEnd ( object sender ) : void | ||
m_SaslHandler_OnSaslStart ( object sender, agsXMPP.Sasl.SaslEventArgs args ) : void |
public ChangePassword ( string newPass ) : void | ||
newPass | string | value of the new password |
return | void |
public Open ( string username, string password ) : void | ||
username | string | your username |
password | string | your password |
return | void |
public Open ( string username, string password, int priority ) : void | ||
username | string | your username |
password | string | your password |
priority | int | priority which will be sent with presence packets |
return | void |
public Open ( string username, string password, string resource ) : void | ||
username | string | your username |
password | string | your passowrd |
resource | string | resource for this connection |
return | void |
public Open ( string username, string password, string resource, int priority ) : void | ||
username | string | your username |
password | string | your password |
resource | string | resource for this connection |
priority | int | priority which will be sent with presence packets |
return | void |
public SocketOnConnect ( object sender ) : void | ||
sender | object | |
return | void |
public SocketOnDisconnect ( object sender ) : void | ||
sender | object | |
return | void |
public SocketOnError ( object sender, |
||
sender | object | |
ex | ||
return | void |
public StreamParserOnStreamElement ( object sender, agsXMPP.Xml.Dom.Node e ) : void | ||
sender | object | |
e | agsXMPP.Xml.Dom.Node | |
return | void |
public StreamParserOnStreamEnd ( object sender, agsXMPP.Xml.Dom.Node e ) : void | ||
sender | object | |
e | agsXMPP.Xml.Dom.Node | |
return | void |
public StreamParserOnStreamError ( object sender, |
||
sender | object | |
ex | ||
return | void |
public StreamParserOnStreamStart ( object sender, agsXMPP.Xml.Dom.Node e ) : void | ||
sender | object | |
e | agsXMPP.Xml.Dom.Node | |
return | void |
public XmppClientConnection ( SocketConnectionType type ) : System | ||
type | SocketConnectionType | |
return | System |
public XmppClientConnection ( string server ) : System | ||
server | string | |
return | System |
public XmppClientConnection ( string server, int port ) : System | ||
server | string | |
port | int | |
return | System |