glooxd  0.3-svn
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
glooxd Namespace Reference

Namespaces

namespace  util

Classes

class  AuthenticationHandler
class  C2S
 The base class for the Client-to-Server (C2S) component. More...
class  ComponentBase
 An abstract base class for the server's components. More...
class  ConfigHandler
 An interface that can be re-implemented to receive configuration updates. More...
class  ConfigManager
 The manager for the server configuration. More...
class  ConnectionCompression
 This is an implementation of a de/compressing connection. More...
class  DiscoManager
 An implementation of the server-side disco management. More...
class  Domain
 An abstraction of a XMPP domain and its configuration. More...
class  DomainHandler
 A base class for entities that handle Tags for a specific domain. More...
class  FeatureCompression
 An abstraction of the STARTTLS stream feature. More...
class  FeatureResourceBind
 An abstraction of the Resource Bind stream feature. More...
class  FeatureSASL
 An abstraction of the SASL stream feature. More...
class  FeatureSession
 An abstraction of the Session Create stream feature. More...
class  FeatureSTARTTLS
 An abstraction of the STARTTLS stream feature. More...
class  MessageManager
 An implementation of the server-side message management. More...
class  Plugin
 Abstract base class for a (sub)protocol such as Roster Management, Private XML Storage, etc. More...
class  PresenceManager
 An implementation of the server-side presence management. More...
class  RosterManager
 An implementation of the server-side roster management protocol from RFC3921. More...
class  RosterProvider
class  Router
 The base class for the routing component. More...
class  ServerEventHandler
 An interface that can be re-implemented to receive server events. More...
class  SM
 Implements a client session manager. More...
class  StreamBase
 A class that abstracts a single client connection. Used by C2S. More...
class  StreamFeature
 This is the base class for a strean feature. It allows to plug new features (and associated processing) into the server. More...
class  TagHandler
 A base class for entities that handles Tags for a specific domain. More...
class  VCardManager
 An implementation of the server-side presence management. More...

Typedefs

typedef std::list
< StreamFeature * > 
FeatureList
typedef std::map< std::string,
gloox::SubscriptionType > 
Roster

Enumerations

enum  LogArea {
  LogAreaC2S = 0x1000000, LogAreaSM = 0x2000000, LogAreaS2S = 0x4000000, LogAreaRouter = 0x8000000,
  LogAreaStreamBase = 0x10000000, LogAreaClientStream = 0x20000000, LogAreaServerStream = 0x40000000
}
enum  StreamState {
  StateDisconnected = 0, StateReset = 1, StateTransportConnected = 2, StateTLS = 4,
  StateAuthentication = 8, StateCompression = 16, StateDone = 32, StateReallyDone = 64
}

Functions

gloox::Tag * returnError (const gloox::Tag *tag, gloox::StanzaError se, gloox::StanzaErrorType type)

Variables

const std::string XMLNS_SERVER = "jabber:server"
const std::string XMLNS_GLOOXD = "http://camaya.net/glooxd"
const std::string XMPP_STREAM_VERSION_MAJOR = "1"
const std::string XMPP_STREAM_VERSION_MINOR = "0"
const std::string GLOOXD_VERSION = "0.3-svn"
const std::string GLOOXD_DOMAIN = "glooxd"

Detailed Description

The principal namespace for glooxd, an embeddable XMPP server.

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net

Typedef Documentation

typedef std::list<StreamFeature*> FeatureList

A list of stream features.

Definition at line 168 of file glooxd.h.

typedef std::map<std::string, gloox::SubscriptionType> Roster

A simple map of JID/subscription type pairs.

Note
Will eventually be replaced by gloox::Roster.

Definition at line 32 of file rosterprovider.h.

Enumeration Type Documentation

enum LogArea

glooxd log areas.

Enumerator:
LogAreaC2S 

Log messages from C2S.

LogAreaSM 

Log messages from SM.

LogAreaS2S 

Log messages from S2S.

LogAreaRouter 

Log messages from Router.

LogAreaStreamBase 

Log messages from a StreamBase.

LogAreaClientStream 

Log messages from a ClientStream (i.e. a s2s connection).

LogAreaServerStream 

Log messages from a ServerStream (i.e. a c2s connection).

Definition at line 139 of file glooxd.h.

Describes the current stream state.

Enumerator:
StateDisconnected 

No client connected.

StateReset 

The stream has been reset, stream greeting expected

StateTransportConnected 

We have someone connected on the other end.

StateTLS 

TLS handshake complete, stream encrypted.

StateAuthentication 

Client authenticated.

StateCompression 

Stream compressed.

StateDone 

Stream initiation is done.

StateReallyDone 

Stream init really done.

Definition at line 153 of file glooxd.h.

Function Documentation

gloox::Tag * returnError ( const gloox::Tag *  tag,
gloox::StanzaError  se = gloox::StanzaErrorServiceUnavailable,
gloox::StanzaErrorType  type = gloox::StanzaErrorTypeCancel 
)

Returns a customized error stanza depending on the given parameters.

Parameters
tagA Tag to reply to.
eA StanzaError to include in the reply.

Definition at line 33 of file glooxd.cpp.

Variable Documentation

GLOOXD_API const std::string GLOOXD_DOMAIN = "glooxd"

glooxd internal domain (address suffix)

Definition at line 31 of file glooxd.cpp.

GLOOXD_API const std::string GLOOXD_VERSION = "0.3-svn"

glooxd version

Definition at line 30 of file glooxd.cpp.

GLOOXD_API const std::string XMLNS_GLOOXD = "http://camaya.net/glooxd"

glooxd private namespace

Definition at line 26 of file glooxd.cpp.

GLOOXD_API const std::string XMLNS_SERVER = "jabber:server"

Supported stream version (major).

Definition at line 25 of file glooxd.cpp.

GLOOXD_API const std::string XMPP_STREAM_VERSION_MAJOR = "1"

Supported stream version (major).

Definition at line 28 of file glooxd.cpp.

GLOOXD_API const std::string XMPP_STREAM_VERSION_MINOR = "0"

Supported stream version (minor).

Definition at line 29 of file glooxd.cpp.