Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

RTSPClientLayer Class Reference

#include <RTSPClientLayer.h>

List of all members.

Protected Methods

virtual void handleMessageFromApp (cMessage *msg)
virtual void handleMessageFromRTP (cMessage *msg)
virtual void handleMessageFromSocketLayer (cMessage *msg)
virtual void handleResponse (SocketInterfacePacket *sifp)
virtual void handleResponseStateInit (rtspResponse *response)
virtual void handleResponseStateReady (rtspResponse *response)
virtual void handleResponseStatePlaying (rtspResponse *response)
virtual void handleSelfMessage (cMessage *msg)
virtual void closeSession ()

Private Types

enum  FSM_STATES { INIT = 0, READY = FSM_Steady(1), PLAYING = FSM_Steady(2) }

Private Methods

 Module_Class_Members (RTSPClientLayer, cSimpleModule, 0)
virtual void initialize ()
virtual void handleMessage (cMessage *msg)
virtual void writeRequestContents (rtspRequest *request)
virtual void writeResponseContents (rtspResponse *response)

Private Attributes

cFSM fsm
int _cseq
IN_Port _portRTP
opp_string _sessionId
rtspRequestrequest
rtspRequestrequestCopy
cMessage * timeoutMsg
simtime_t _timeout
Socket::Filedesc _socketFd
bool _debug


Detailed Description

An RTSPClientLayer module is the center of the rtsp client layer. It sends and receives rtsp requests. It also communicates with the rtp layer and the RTSPClientModule.


Member Enumeration Documentation

enum RTSPClientLayer::FSM_STATES [private]
 

The states of the finite state machine.

Enumeration values:
INIT 
READY 
PLAYING 


Member Function Documentation

void RTSPClientLayer::closeSession   [protected, virtual]
 

Close this session

void RTSPClientLayer::handleMessage cMessage *    msg [private, virtual]
 

Handles incoming messages.

void RTSPClientLayer::handleMessageFromApp cMessage *    msg [protected, virtual]
 

Handles messages received from the application.

void RTSPClientLayer::handleMessageFromRTP cMessage *    msg [protected, virtual]
 

Handles messages received from rtp layer.

void RTSPClientLayer::handleMessageFromSocketLayer cMessage *    msg [protected, virtual]
 

Handles messages received from socket layer.

void RTSPClientLayer::handleResponse SocketInterfacePacket *    sifp [protected, virtual]
 

Handles RTSP-Messages.

void RTSPClientLayer::handleResponseStateInit rtspResponse   response [protected, virtual]
 

Handles messages state INIT.

void RTSPClientLayer::handleResponseStatePlaying rtspResponse   response [protected, virtual]
 

Handles messages state PLAYING.

void RTSPClientLayer::handleResponseStateReady rtspResponse   response [protected, virtual]
 

Handles messages state READY.

void RTSPClientLayer::handleSelfMessage cMessage *    msg [protected, virtual]
 

Handles self messages.

void RTSPClientLayer::initialize   [private, virtual]
 

Initializes variables.

RTSPClientLayer::Module_Class_Members RTSPClientLayer   ,
cSimpleModule   ,
 
[private]
 

void RTSPClientLayer::writeRequestContents rtspRequest   request [private, virtual]
 

Writes a request to omnet environment.

void RTSPClientLayer::writeResponseContents rtspResponse   response [private, virtual]
 

Writes a response to omnet environment.


Member Data Documentation

int RTSPClientLayer::_cseq [private]
 

The Cseq number.

bool RTSPClientLayer::_debug [private]
 

A debug parameter.

IN_Port RTSPClientLayer::_portRTP [private]
 

The rtp port.

opp_string RTSPClientLayer::_sessionId [private]
 

The session ID.

Socket::Filedesc RTSPClientLayer::_socketFd [private]
 

The rtsp server socket file descriptor.

simtime_t RTSPClientLayer::_timeout [private]
 

The timeout for UDP.

cFSM RTSPClientLayer::fsm [private]
 

rtspRequest* RTSPClientLayer::request [private]
 

The actuel handled request.

rtspRequest* RTSPClientLayer::requestCopy [private]
 

Stores a copy of the last request.

cMessage* RTSPClientLayer::timeoutMsg [private]
 

Timeout message.


The documentation for this class was generated from the following files:
Generated on Thu Aug 7 16:40:42 2003 for RTSP model for OMNeT++ by doxygen1.2.18