Static Public Member Functions | |
static NPLJabberClient | GetJabberClient (const char *sJID) |
get an existing jabber client instance interface by its JID. | |
static NPLJabberClient | CreateJabberClient (const char *sJID) |
Create a new jabber client instance with the given jabber client ID. | |
static bool | CloseJabberClient (const char *sJID) |
close a given jabber client instance. |
NPLJabberClient ParaScripting::JabberClientManager::GetJabberClient | ( | const char * | sJID | ) | [static] |
get an existing jabber client instance interface by its JID.
If the client is not created using CreateJabberClient() before, function may return NULL.
sJID,: | such as "lixizhi@paraweb3d.com" |
NPLJabberClient ParaScripting::JabberClientManager::CreateJabberClient | ( | const char * | sJID | ) | [static] |
Create a new jabber client instance with the given jabber client ID.
It does not open a connection immediately.
sJID,: | such as "lixizhi@paraweb3d.com" |
bool ParaScripting::JabberClientManager::CloseJabberClient | ( | const char * | sJID | ) | [static] |
close a given jabber client instance.
Basically, there is no need to close a web service, unless one wants to reopen it with different credentials
sJID,: | such as "lixizhi@paraweb3d.com" |