Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
glooxwrapper::Client Class Reference

#include <glooxwrapper.h>

Collaboration diagram for glooxwrapper::Client:

Public Member Functions

gloox::Client * getWrapped ()
 
bool connect (bool block=true)
 
gloox::ConnectionError recv (int timeout=-1)
 
const string getID () const
 
const string getJID () const
 
void send (const IQ &iq)
 
void setTls (gloox::TLSPolicy tls)
 
void setCompression (bool compression)
 
void setSASLMechanisms (int mechanisms)
 
void registerStanzaExtension (StanzaExtension *ext)
 
void registerConnectionListener (ConnectionListener *cl)
 
void registerIqHandler (IqHandler *ih, int exttype)
 
void registerMessageHandler (MessageHandler *mh)
 
bool removePresenceExtension (int type)
 
Discodisco () const
 
 Client (const string &server)
 
 Client (const JID &jid, const string &password, int port=-1)
 
 ~Client ()
 
void setPresence (gloox::Presence::PresenceType pres, int priority, const string &status="")
 
void disconnect ()
 

Private Member Functions

 NONCOPYABLE (Client)
 

Private Attributes

gloox::Client * m_Wrapped
 
ClientImplm_Impl
 
Discom_DiscoWrapper
 

Constructor & Destructor Documentation

◆ Client() [1/2]

glooxwrapper::Client::Client ( const string server)

◆ Client() [2/2]

glooxwrapper::Client::Client ( const JID jid,
const string password,
int  port = -1 
)

◆ ~Client()

glooxwrapper::Client::~Client ( )

Member Function Documentation

◆ connect()

bool glooxwrapper::Client::connect ( bool  block = true)

◆ disco()

Disco * glooxwrapper::Client::disco ( ) const
inline

◆ disconnect()

void glooxwrapper::Client::disconnect ( )

◆ getID()

const glooxwrapper::string glooxwrapper::Client::getID ( ) const

◆ getJID()

const glooxwrapper::string glooxwrapper::Client::getJID ( ) const

◆ getWrapped()

gloox::Client * glooxwrapper::Client::getWrapped ( )
inline

◆ NONCOPYABLE()

glooxwrapper::Client::NONCOPYABLE ( Client  )
private

◆ recv()

gloox::ConnectionError glooxwrapper::Client::recv ( int  timeout = -1)

◆ registerConnectionListener()

void glooxwrapper::Client::registerConnectionListener ( glooxwrapper::ConnectionListener hnd)

◆ registerIqHandler()

void glooxwrapper::Client::registerIqHandler ( glooxwrapper::IqHandler ih,
int  exttype 
)

◆ registerMessageHandler()

void glooxwrapper::Client::registerMessageHandler ( glooxwrapper::MessageHandler hnd)

◆ registerStanzaExtension()

void glooxwrapper::Client::registerStanzaExtension ( glooxwrapper::StanzaExtension ext)

◆ removePresenceExtension()

bool glooxwrapper::Client::removePresenceExtension ( int  type)

◆ send()

void glooxwrapper::Client::send ( const IQ iq)

◆ setCompression()

void glooxwrapper::Client::setCompression ( bool  compression)

◆ setPresence()

void glooxwrapper::Client::setPresence ( gloox::Presence::PresenceType  pres,
int  priority,
const string status = "" 
)

◆ setSASLMechanisms()

void glooxwrapper::Client::setSASLMechanisms ( int  mechanisms)

◆ setTls()

void glooxwrapper::Client::setTls ( gloox::TLSPolicy  tls)

Member Data Documentation

◆ m_DiscoWrapper

Disco* glooxwrapper::Client::m_DiscoWrapper
private

◆ m_Impl

ClientImpl* glooxwrapper::Client::m_Impl
private

◆ m_Wrapped

gloox::Client* glooxwrapper::Client::m_Wrapped
private

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