dtn::net::GenericServer< T > Class Template Reference

#include <GenericServer.h>

Inheritance diagram for dtn::net::GenericServer< T >:
dtn::daemon::IndependentComponent dtn::daemon::Component ibrcommon::JoinableThread ibrcommon::Thread

List of all members.

Classes

class  ClientCleaner

Public Member Functions

 GenericServer ()
virtual ~GenericServer ()
void add (T *obj)

Protected Member Functions

virtual T * accept ()=0
virtual void listen ()=0
virtual void shutdown ()=0
virtual void connectionUp (T *conn)=0
virtual void connectionDown (T *conn)=0
void shutdownAll ()
void componentUp ()
void componentRun ()
void componentDown ()

Detailed Description

template<class T>
class dtn::net::GenericServer< T >

Definition at line 31 of file GenericServer.h.


Constructor & Destructor Documentation

template<class T>
dtn::net::GenericServer< T >::GenericServer (  )  [inline]

Definition at line 34 of file GenericServer.h.

template<class T>
virtual dtn::net::GenericServer< T >::~GenericServer (  )  [inline, virtual]

Definition at line 38 of file GenericServer.h.


Member Function Documentation

template<class T>
virtual T* dtn::net::GenericServer< T >::accept (  )  [protected, pure virtual]
template<class T>
void dtn::net::GenericServer< T >::add ( T *  obj  )  [inline]
template<class T>
void dtn::net::GenericServer< T >::componentDown (  )  [inline, protected, virtual]

Implements dtn::daemon::IndependentComponent.

Definition at line 108 of file GenericServer.h.

template<class T>
void dtn::net::GenericServer< T >::componentRun ( void   )  [inline, protected, virtual]

Implements dtn::daemon::IndependentComponent.

Definition at line 82 of file GenericServer.h.

template<class T>
void dtn::net::GenericServer< T >::componentUp (  )  [inline, protected, virtual]

Implements dtn::daemon::IndependentComponent.

Definition at line 76 of file GenericServer.h.

template<class T>
virtual void dtn::net::GenericServer< T >::connectionDown ( T *  conn  )  [protected, pure virtual]
template<class T>
virtual void dtn::net::GenericServer< T >::connectionUp ( T *  conn  )  [protected, pure virtual]
template<class T>
virtual void dtn::net::GenericServer< T >::listen (  )  [protected, pure virtual]
template<class T>
virtual void dtn::net::GenericServer< T >::shutdown (  )  [protected, pure virtual]
template<class T>
void dtn::net::GenericServer< T >::shutdownAll (  )  [inline, protected]

Definition at line 56 of file GenericServer.h.


The documentation for this class was generated from the following file:
Generated on Mon Aug 23 08:12:59 2010 for IBR-DTNSuite by  doxygen 1.6.3