Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ClientSideReflectorGM Class Reference

#include <ClientSideReflectorGM.h>

Inheritance diagram for ClientSideReflectorGM:

Inheritance graph
[legend]
Collaboration diagram for ClientSideReflectorGM:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClientSideReflectorGM (GMUser *user, MNSelector &sel, MNString &url, RTSP::TransportTypes requested_transport=RTSP::RTP_AVP_UDP)
virtual ~ClientSideReflectorGM ()
virtual void init (int idx)
void addSubsession ()
void attachToServerSideReflectorGM (int idx)
virtual void set_hostnames (const MNString &client, const MNString &server)
virtual void set_ports (int idx, MNSocket *locDownRtp, MNSocket *locDownRtcp, int distDown, MNSocket *locUpRtp, MNSocket *locUpRtcp, int distUp)
virtual int open_file (int idx, const char *name, int rtp_pt, SDP::PayloadTypes int_pt, u_int32_t bw, SDP::RetransTypes int_rt, int packetsize)
void setupForNewSession (int idx, u_int32_t bw)
void setupForExistingSession (int idx)
virtual bool graphManNotify (int idx, SH::Base *caller, SH::Notification attribute, void *msg)
virtual void uninit ()
virtual void start ()
virtual int play (int startp, int stopp)
virtual int stop ()
void detach ()
virtual int pause ()
virtual int jump (long pos)
virtual void setNptSeek (int npt)
virtual int getNptSeconds ()
virtual void setRTPTimestamp (int idx, u_int32 rtptime)

Detailed Description

This class handles the client side of the RTP connection while using dynamic reflection


Constructor & Destructor Documentation

ClientSideReflectorGM::ClientSideReflectorGM (  GMUser *  user,
MNSelector &  sel,
MNString &  url,
RTSP::TransportTypes  requested_transport = RTSP::RTP_AVP_UDP
) 
 

virtual ClientSideReflectorGM::~ClientSideReflectorGM (   )  [virtual]
 


Member Function Documentation

void ClientSideReflectorGM::addSubsession (   ) 
 

void ClientSideReflectorGM::attachToServerSideReflectorGM (  int  idx  ) 
 

void ClientSideReflectorGM::detach (   ) 
 

this disconnects all subsessions from the serverSideReflectorGM to prepare the connection to a new serverSideReflectorGM

virtual int ClientSideReflectorGM::getNptSeconds (   )  [virtual]
 

Reimplemented from ServerGM.

virtual bool ClientSideReflectorGM::graphManNotify (  int  idx,
SH::Base *  caller,
SH::Notification  attribute,
void *  msg
)  [virtual]
 

Implements SHGraphManager.

virtual void ClientSideReflectorGM::init (  int  idx  )  [virtual]
 

Implements ServerGM.

virtual int ClientSideReflectorGM::jump (  long  pos  )  [virtual]
 

Implements ServerGM.

virtual int ClientSideReflectorGM::open_file (  int  idx,
const char *  name,
int  rtp_pt,
SDP::PayloadTypes  int_pt,
u_int32_t  bw,
SDP::RetransTypes  int_rt,
int  packetsize
)  [virtual]
 

Implements ServerGM.

virtual int ClientSideReflectorGM::pause (   )  [virtual]
 

Implements ServerGM.

virtual int ClientSideReflectorGM::play (  int  startp,
int  stopp
)  [virtual]
 

Implements ServerGM.

virtual void ClientSideReflectorGM::set_hostnames (  const MNString &  client,
const MNString &  server
)  [virtual]
 

Implements ServerGM.

virtual void ClientSideReflectorGM::set_ports (  int  idx,
MNSocket *  locDownRtp,
MNSocket *  locDownRtcp,
int  distDown,
MNSocket *  locUpRtp,
MNSocket *  locUpRtcp,
int  distUp
)  [virtual]
 

Implements ServerGM.

virtual void ClientSideReflectorGM::setNptSeek (  int  npt  )  [virtual]
 

to adjust the presentation time after a seek

Reimplemented from ServerGM.

virtual void ClientSideReflectorGM::setRTPTimestamp (  int  idx,
u_int32  rtptime
)  [virtual]
 

sets the timestamp from the RTP-Info field from the response to a rtsp play messsage

Reimplemented from ServerGM.

void ClientSideReflectorGM::setupForExistingSession (  int  idx  ) 
 

this gets called when the client joins an existing reflector session after an individual repositioning request

void ClientSideReflectorGM::setupForNewSession (  int  idx,
u_int32_t  bw
) 
 

this gets called when a new reflector session is established after an individual repositioning request

virtual void ClientSideReflectorGM::start (   )  [virtual]
 

Implements ServerGM.

virtual int ClientSideReflectorGM::stop (   )  [virtual]
 

Implements ServerGM.

virtual void ClientSideReflectorGM::uninit (   )  [virtual]
 

Implements ServerGM.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:35:51 2005 for Komssys by doxygen 1.3.8