RTP Audio System  2.0.0
AbstractMediaServer Class Reference
Inheritance diagram for AbstractMediaServer:
TimedThread MultiTimerThread< Timers > Thread Synchronizable AlphaServer

List of all members.

Public Member Functions

 AbstractMediaServer ()
 ~AbstractMediaServer ()

Protected Member Functions

MediaServentcreateServent (const String &identifier, SocketAddress *peerAddress)
void deleteServent (const String &identifier, const ShutdownReason reason)
MediaServentfindServent (const String &identifier)
virtual MediaServentserventFactory (const String &identifier, SocketAddress *peerAddress)=0
virtual
AbstractMediaServentRequest
createRequest (void *request, const size_t length)=0

Private Member Functions

void * stop ()
void timerEvent ()

Private Attributes

card64 DefaultTimeout
multimap< const String,
MediaServent * > 
ServentSet

Friends

class RTPAdaptionLayer

Constructor & Destructor Documentation


Member Function Documentation

virtual AbstractMediaServentRequest* AbstractMediaServer::createRequest ( void *  request,
const size_t  length 
) [protected, pure virtual]

Implemented in AlphaServer.

MediaServent * AbstractMediaServer::createServent ( const String identifier,
SocketAddress peerAddress 
) [protected]
void AbstractMediaServer::deleteServent ( const String identifier,
const ShutdownReason  reason 
) [protected]
MediaServent * AbstractMediaServer::findServent ( const String identifier) [protected]
virtual MediaServent* AbstractMediaServer::serventFactory ( const String identifier,
SocketAddress peerAddress 
) [protected, pure virtual]

Implemented in AlphaServer.

void * AbstractMediaServer::stop ( ) [private, virtual]

Reimplementation of Thread's stop() method.

See also:
Thread::stop

Reimplemented from MultiTimerThread< Timers >.

void AbstractMediaServer::timerEvent ( ) [private, virtual]

The virtual timerEvent() method, which contains the timed thread's implementation. It has to be implemented by classes, which inherit TimedThread. This method is called regularly with the given interval.

Implements TimedThread.


Friends And Related Function Documentation

friend class RTPAdaptionLayer [friend]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines