live
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
DarwinInjector Class Reference

#include <DarwinInjector.hh>

Inheritance diagram for DarwinInjector:
Inheritance graph
[legend]
Collaboration diagram for DarwinInjector:
Collaboration graph
[legend]

Public Member Functions

void addStream (RTPSink *rtpSink, RTCPInstance *rtcpInstance)
 
Boolean setDestination (char const *remoteRTSPServerNameOrAddress, char const *remoteFileName, char const *sessionName="", char const *sessionInfo="", portNumBits remoteRTSPServerPortNumber=554, char const *remoteUserName="", char const *remotePassword="", char const *sessionAuthor="", char const *sessionCopyright="", int timeout=-1)
 
UsageEnvironmentenvir () const
 
char const * name () const
 
virtual Boolean isSource () const
 
virtual Boolean isSink () const
 
virtual Boolean isRTCPInstance () const
 
virtual Boolean isRTSPClient () const
 
virtual Boolean isRTSPServer () const
 
virtual Boolean isMediaSession () const
 
virtual Boolean isServerMediaSession () const
 

Static Public Member Functions

static DarwinInjectorcreateNew (UsageEnvironment &env, char const *applicationName="DarwinInjector", int verbosityLevel=0)
 
static Boolean lookupByName (UsageEnvironment &env, char const *name, DarwinInjector *&result)
 
static Boolean lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium)
 
static void close (UsageEnvironment &env, char const *mediumName)
 
static void close (Medium *medium)
 

Protected Member Functions

TaskTokennextTask ()
 

Private Member Functions

virtual Boolean isDarwinInjector () const
 
 DarwinInjector (UsageEnvironment &env, char const *applicationName, int verbosityLevel)
 
virtual ~DarwinInjector ()
 
void genericResponseHandler1 (int responseCode, char *responseString)
 

Static Private Member Functions

static void genericResponseHandler (RTSPClient *rtspClient, int responseCode, char *responseString)
 

Private Attributes

char const * fApplicationName
 
int fVerbosityLevel
 
RTSPClientfRTSPClient
 
unsigned fSubstreamSDPSizes
 
SubstreamDescriptor * fHeadSubstream
 
SubstreamDescriptor * fTailSubstream
 
MediaSessionfSession
 
unsigned fLastTrackId
 
char fWatchVariable
 
int fResultCode
 
char * fResultString
 

Detailed Description

Definition at line 57 of file DarwinInjector.hh.

Constructor & Destructor Documentation

DarwinInjector::DarwinInjector ( UsageEnvironment env,
char const *  applicationName,
int  verbosityLevel 
)
private
virtual DarwinInjector::~DarwinInjector ( )
privatevirtual

Member Function Documentation

void DarwinInjector::addStream ( RTPSink rtpSink,
RTCPInstance rtcpInstance 
)
static void Medium::close ( UsageEnvironment env,
char const *  mediumName 
)
staticinherited
static void Medium::close ( Medium medium)
staticinherited
static DarwinInjector* DarwinInjector::createNew ( UsageEnvironment env,
char const *  applicationName = "DarwinInjector",
int  verbosityLevel = 0 
)
static
UsageEnvironment& Medium::envir ( ) const
inlineinherited

Definition at line 59 of file Media.hh.

References Medium::fEnviron.

Referenced by MediaSubsession::env(), RTPInterface::envir(), RTSPServer::RTSPClientConnection::envir(), and RTSPServer::RTSPClientSession::envir().

59 {return fEnviron;}
UsageEnvironment & fEnviron
Definition: Media.hh:83
static void DarwinInjector::genericResponseHandler ( RTSPClient rtspClient,
int  responseCode,
char *  responseString 
)
staticprivate
void DarwinInjector::genericResponseHandler1 ( int  responseCode,
char *  responseString 
)
private
virtual Boolean DarwinInjector::isDarwinInjector ( ) const
privatevirtual

Reimplemented from Medium.

virtual Boolean Medium::isMediaSession ( ) const
virtualinherited

Reimplemented in MediaSession.

virtual Boolean Medium::isRTCPInstance ( ) const
virtualinherited

Reimplemented in RTCPInstance.

virtual Boolean Medium::isRTSPClient ( ) const
virtualinherited

Reimplemented in RTSPClient.

virtual Boolean Medium::isRTSPServer ( ) const
virtualinherited

Reimplemented in RTSPServer.

virtual Boolean Medium::isServerMediaSession ( ) const
virtualinherited

Reimplemented in ServerMediaSession.

virtual Boolean Medium::isSink ( ) const
virtualinherited

Reimplemented in MediaSink.

virtual Boolean Medium::isSource ( ) const
virtualinherited

Reimplemented in MediaSource.

static Boolean Medium::lookupByName ( UsageEnvironment env,
char const *  mediumName,
Medium *&  resultMedium 
)
staticinherited
static Boolean DarwinInjector::lookupByName ( UsageEnvironment env,
char const *  name,
DarwinInjector *&  result 
)
static
char const* Medium::name ( ) const
inlineinherited

Definition at line 61 of file Media.hh.

References Medium::fMediumName.

61 {return fMediumName;}
char fMediumName[mediumNameMaxLen]
Definition: Media.hh:84
TaskToken& Medium::nextTask ( )
inlineprotectedinherited

Definition at line 78 of file Media.hh.

References Medium::fNextTask.

78  {
79  return fNextTask;
80  }
TaskToken fNextTask
Definition: Media.hh:85
Boolean DarwinInjector::setDestination ( char const *  remoteRTSPServerNameOrAddress,
char const *  remoteFileName,
char const *  sessionName = "",
char const *  sessionInfo = "",
portNumBits  remoteRTSPServerPortNumber = 554,
char const *  remoteUserName = "",
char const *  remotePassword = "",
char const *  sessionAuthor = "",
char const *  sessionCopyright = "",
int  timeout = -1 
)

Field Documentation

char const* DarwinInjector::fApplicationName
private

Definition at line 93 of file DarwinInjector.hh.

SubstreamDescriptor* DarwinInjector::fHeadSubstream
private

Definition at line 97 of file DarwinInjector.hh.

unsigned DarwinInjector::fLastTrackId
private

Definition at line 100 of file DarwinInjector.hh.

int DarwinInjector::fResultCode
private

Definition at line 102 of file DarwinInjector.hh.

char* DarwinInjector::fResultString
private

Definition at line 103 of file DarwinInjector.hh.

RTSPClient* DarwinInjector::fRTSPClient
private

Definition at line 95 of file DarwinInjector.hh.

MediaSession* DarwinInjector::fSession
private

Definition at line 99 of file DarwinInjector.hh.

unsigned DarwinInjector::fSubstreamSDPSizes
private

Definition at line 96 of file DarwinInjector.hh.

SubstreamDescriptor* DarwinInjector::fTailSubstream
private

Definition at line 98 of file DarwinInjector.hh.

int DarwinInjector::fVerbosityLevel
private

Definition at line 94 of file DarwinInjector.hh.

char DarwinInjector::fWatchVariable
private

Definition at line 101 of file DarwinInjector.hh.


The documentation for this class was generated from the following file: