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

ServerGM Class Reference
[GraphManager]

#include <ServerGM.h>

Inheritance diagram for ServerGM:

Inheritance graph
[legend]
Collaboration diagram for ServerGM:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ServerGM (GMUser *user, MNSelector &sel)
virtual ~ServerGM ()
virtual void init (int idx)=0
virtual void uninit ()=0
virtual void start ()=0
virtual void set_hostnames (const MNString &Client, const MNString &Server)=0
virtual void set_ports (int idx, MNSocket *locDownRtp, MNSocket *locDownRtcp, int distDown, MNSocket *locUpRtp, MNSocket *locUpRtcp, int distUp)=0
void set_lcrtp (bool lcrtp)
virtual void set_send_tfrc (bool tfrc)
virtual void set_recv_tfrc (bool tfrc)
virtual void setNptSeek (int npt)
virtual int getNptSeconds ()
virtual void setRTPTimestamp (int idx, u_int32 rtptime)
virtual void set_client_max_bw (int client_max_bw)
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)=0
virtual int play (int start, int stopp)=0
virtual int stop ()=0
virtual int pause ()=0
virtual int jump (long pos)=0
virtual void setLCRTPMode (bool)
virtual long getFilePos ()

Protected Member Functions

bool lcrtp () const
bool send_tfrc () const
bool recv_tfrc () const

Protected Attributes

int _client_max_bw

Detailed Description

The GMUser class is a base class for, e.g. MNStreamer. MNStreamer could be used directly, but RTP code should not rely on RTSP code at all.


Constructor & Destructor Documentation

ServerGM::ServerGM (  GMUser *  user,
MNSelector &  sel
) 
 

virtual ServerGM::~ServerGM (   )  [virtual]
 


Member Function Documentation

virtual long ServerGM::getFilePos (   )  [inline, virtual]
 

Reimplemented in FileStreamerGM, and SendBlockStreamerGM.

virtual int ServerGM::getNptSeconds (   )  [virtual]
 

Reimplemented in ClientSideReflectorGM.

virtual void ServerGM::init (  int  idx  )  [pure virtual]
 

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.

virtual int ServerGM::jump (  long  pos  )  [pure virtual]
 

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.

bool ServerGM::lcrtp (   )  const [inline, protected]
 

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

Implemented in ClientSideReflectorGM.

virtual int ServerGM::pause (   )  [pure virtual]
 

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.

virtual int ServerGM::play (  int  start,
int  stopp
)  [pure virtual]
 

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.

bool ServerGM::recv_tfrc (   )  const [inline, protected]
 

bool ServerGM::send_tfrc (   )  const [inline, protected]
 

virtual void ServerGM::set_client_max_bw (  int  client_max_bw  )  [virtual]
 

virtual void ServerGM::set_hostnames (  const MNString &  Client,
const MNString &  Server
)  [pure virtual]
 

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.

void ServerGM::set_lcrtp (  bool  lcrtp  ) 
 

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

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.

virtual void ServerGM::set_recv_tfrc (  bool  tfrc  )  [virtual]
 

Called by the datapump that creates this GM. If tfrc==true, this host sends a request for TFRC upstream. Its receiving stream handlers should be able to handle TFRC messages.

virtual void ServerGM::set_send_tfrc (  bool  tfrc  )  [virtual]
 

Called by the datapump that creates this GM. If tfrc==true, this host has received a request for TFRC from a downstream host and sending stream handlers should send TFRC messages accordingly.

virtual void ServerGM::setLCRTPMode (  bool   )  [inline, virtual]
 

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

Reimplemented in ClientSideReflectorGM.

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

Reimplemented in ClientSideReflectorGM.

virtual void ServerGM::start (   )  [pure virtual]
 

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.

virtual int ServerGM::stop (   )  [pure virtual]
 

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.

virtual void ServerGM::uninit (   )  [pure virtual]
 

Implemented in ClientSideReflectorGM, FileStreamerGM, LCRTPCachingReflectorGM, LCRTPFileRecorderGM, PatchGM, RTPReflectorGM, SendBlockStreamerGM, and TranscodingGM.


Member Data Documentation

int ServerGM::_client_max_bw [protected]
 


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