|
| | JBServerEngine (const char *name="jbserverengine") |
| |
| | ~JBServerEngine () |
| |
| virtual void | cleanup (bool final=false, bool waitTerminate=true) |
| |
| virtual void | buildStreamName (String &name, const JBStream *stream) |
| |
| JBServerStream * | findServerStream (const String &local, const String &remote, bool out, bool auth=true) |
| |
| JBServerStream * | createServerStream (const String &local, const String &remote, const char *dbId=0, const char *dbKey=0, bool dbOnly=false, const NamedList *params=0) |
| |
| JBServerStream * | createCompStream (const String &name, const String &local, const String &remote, const NamedList *params=0) |
| |
| JBClusterStream * | findClusterStream (const String &remote, JBClusterStream *skip=0) |
| |
| virtual JBClusterStream * | createClusterStream (const String &local, const String &remote, const NamedList *params=0) |
| |
| unsigned int | terminateClientStreams (const JabberID &jid, XMPPError::Type error=XMPPError::NoError, const char *reason=0) |
| |
| | JBEngine (const char *name="jbengine") |
| |
| virtual | ~JBEngine () |
| |
| unsigned int | streamReadBuffer () const |
| |
| bool | exiting () const |
| |
| void | setExiting () |
| |
| unsigned int | redirectMax () const |
| |
| bool | hasClientTls () const |
| |
| JBRemoteDomainDef * | remoteDomainDef (const String &domain) |
| |
| virtual void | destruct () |
| |
| virtual void | initialize (const NamedList ¶ms) |
| |
| bool | acceptConn (Socket *sock, SocketAddr &remote, JBStream::Type t, bool ssl=false) |
| |
| virtual JBStream * | findStream (const String &id, JBStream::Type hint=JBStream::TypeCount) |
| |
| ObjList * | findClientStreams (bool in, const JabberID &jid, int flags=0xffffffff) |
| |
| ObjList * | findClientStreams (bool in, const JabberID &jid, const ObjList &resources, int flags=0xffffffff) |
| |
| JBClientStream * | findClientStream (bool in, const JabberID &jid) |
| |
| virtual unsigned int | dropAll (JBStream::Type type=JBStream::TypeCount, const JabberID &local=JabberID::empty(), const JabberID &remote=JabberID::empty(), XMPPError::Type error=XMPPError::NoError, const char *reason=0) |
| |
| virtual bool | hasDomain (const String &domain) |
| |
| virtual void | processEvent (JBEvent *ev) |
| |
| virtual void | returnEvent (JBEvent *ev, XMPPError::Type error=XMPPError::NoError, const char *reason=0) |
| |
| virtual void | encryptStream (JBStream *stream) |
| |
| virtual void | connectStream (JBStream *stream) |
| |
| virtual void | compressStream (JBStream *stream, const String &formats) |
| |
| virtual void | buildDialbackKey (const String &id, const String &local, const String &remote, String &key) |
| |
| bool | checkDupId (JBStream *stream) |
| |
| virtual void | printXml (const JBStream *stream, bool send, XmlChild &xml) const |
| |
| virtual void | printXml (const JBStream *stream, bool send, XmlFragment &frag) const |
| |
| | DebugEnabler (int level=TelEngine::debugLevel(), bool enabled=true) |
| |
| int | debugLevel () const |
| |
| int | debugLevel (int level) |
| |
| bool | debugEnabled () const |
| |
| void | debugEnabled (bool enable) |
| |
| const char * | debugName () const |
| |
| bool | debugAt (int level) const |
| |
| bool | debugChained () const |
| |
| void | debugChain (const DebugEnabler *chain=0) |
| |
| void | debugCopy (const DebugEnabler *original=0) |
| |
| | Mutex (bool recursive=false, const char *name=0) |
| |
| | Mutex (const Mutex &original) |
| |
| | ~Mutex () |
| |
| Mutex & | operator= (const Mutex &original) |
| |
| virtual bool | lock (long maxwait=-1) |
| |
| virtual bool | unlock () |
| |
| virtual bool | locked () const |
| |
| const char * | owner () const |
| |
| bool | recursive () const |
| |
| virtual | ~Lockable () |
| |
| virtual bool | check (long maxwait=-1) |
| |
| virtual bool | unlockAll () |
| |
| | GenObject () |
| |
| virtual | ~GenObject () |
| |
| virtual bool | alive () const |
| |
| virtual const String & | toString () const |
| |
| virtual const String & | traceId () const |
| |
| virtual void * | getObject (const String &name) const |
| |
| NamedCounter * | getObjCounter () const |
| |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
| |
A Jabber server engine.
This class implements a Jabber server engine