Component Class Reference

This is an implementation of a basic jabber Component. More...

#include <component.h>

Inheritance diagram for Component:

Inheritance graph
[legend]
Collaboration diagram for Component:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Component (const std::string &ns, const std::string &server, const std::string &component, const std::string &password, int port=5347)
virtual ~Component ()
void disconnect ()


Detailed Description

This is an implementation of a basic jabber Component.

It's using XEP-0114 (Jabber Component Protocol) to authenticate with a server.

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.3

Definition at line 33 of file component.h.


Constructor & Destructor Documentation

Component ( const std::string &  ns,
const std::string &  server,
const std::string &  component,
const std::string &  password,
int  port = 5347 
)

Constructs a new Component.

Parameters:
ns The namespace that qualifies the stream. Either jabber:component:accept or jabber:component:connect. See XEP-0114 for details.
server The server to connect to.
component The component's hostname. FQDN.
password The component's password.
port The port to connect to. The default of 5347 is the default port of the router in jabberd2.

Definition at line 27 of file component.cpp.

virtual ~Component (  )  [inline, virtual]

Virtual Destructor.

Definition at line 52 of file component.h.


Member Function Documentation

void disconnect (  )  [inline]

Disconnects from the server.

Definition at line 57 of file component.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 27 11:08:19 2008 for gloox by  doxygen 1.5.5