메소드 | 설명 | |
---|---|---|
IqGrabber ( |
|
|
OnIq ( object sender, agsXMPP.protocol.client.IQ iq ) : void |
An IQ Element is received. Now check if its one we are looking for and raise the event in this case.
|
|
Remove ( string id ) : void |
Pending request can be removed. This is useful when a ressource for the callback is destroyed and we are not interested anymore at the result.
|
|
SendIq ( agsXMPP.protocol.client.IQ iq ) : agsXMPP.protocol.client.IQ |
Sends an Iq synchronous and return the response or null on timeout. Timeout time used is SynchronousTimeout
|
|
SendIq ( agsXMPP.protocol.client.IQ iq, int timeout ) : agsXMPP.protocol.client.IQ |
Sends an Iq synchronous and return the response or null on timeout
|
|
SendIq ( agsXMPP.protocol.client.IQ iq, IqCB cb, object cbArg ) : void |
Send an IQ Request and store the object with callback in the Hashtable
|
메소드 | 설명 | |
---|---|---|
SynchronousIqResult ( object sender, agsXMPP.protocol.client.IQ iq, object data ) : void |
Callback for synchronous iq grabbing
|
public IqGrabber ( |
||
conn | ||
리턴 | System |
public OnIq ( object sender, agsXMPP.protocol.client.IQ iq ) : void | ||
sender | object | |
iq | agsXMPP.protocol.client.IQ | |
리턴 | void |
public Remove ( string id ) : void | ||
id | string | ID of the Iq we are not interested anymore |
리턴 | void |
public SendIq ( agsXMPP.protocol.client.IQ iq ) : agsXMPP.protocol.client.IQ | ||
iq | agsXMPP.protocol.client.IQ | The IQ to send |
리턴 | agsXMPP.protocol.client.IQ |
public SendIq ( agsXMPP.protocol.client.IQ iq, int timeout ) : agsXMPP.protocol.client.IQ | ||
iq | agsXMPP.protocol.client.IQ | The IQ to send |
timeout | int | |
리턴 | agsXMPP.protocol.client.IQ |
public SendIq ( agsXMPP.protocol.client.IQ iq, IqCB cb, object cbArg ) : void | ||
iq | agsXMPP.protocol.client.IQ | The iq to send |
cb | IqCB | the callback function which gets raised for the response |
cbArg | object | additional object for arguments |
리턴 | void |