#include <RTSPClient.hh>
Collaboration diagram for RTSPClient::RequestRecord:

Public Member Functions | |
| RequestRecord (unsigned cseq, char const *commandName, responseHandler *handler, MediaSession *session=NULL, MediaSubsession *subsession=NULL, u_int32_t booleanFlags=0, double start=0.0f, double end=-1.0f, float scale=1.0f, char const *contentStr=NULL) | |
| virtual | ~RequestRecord () |
| RequestRecord *& | next () |
| unsigned & | cseq () |
| char const * | commandName () const |
| MediaSession * | session () const |
| MediaSubsession * | subsession () const |
| u_int32_t | booleanFlags () const |
| double | start () const |
| double | end () const |
| float | scale () const |
| char * | contentStr () const |
| responseHandler *& | handler () |
Private Attributes | |
| RequestRecord * | fNext |
| unsigned | fCSeq |
| char const * | fCommandName |
| MediaSession * | fSession |
| MediaSubsession * | fSubsession |
| u_int32_t | fBooleanFlags |
| double | fStart |
| double | fEnd |
| float | fScale |
| char * | fContentStr |
| responseHandler * | fHandler |
Definition at line 173 of file RTSPClient.hh.
| RTSPClient::RequestRecord::RequestRecord | ( | unsigned | cseq, | |
| char const * | commandName, | |||
| responseHandler * | handler, | |||
| MediaSession * | session = NULL, |
|||
| MediaSubsession * | subsession = NULL, |
|||
| u_int32_t | booleanFlags = 0, |
|||
| double | start = 0.0f, |
|||
| double | end = -1.0f, |
|||
| float | scale = 1.0f, |
|||
| char const * | contentStr = NULL | |||
| ) |
Definition at line 1582 of file RTSPClient.cpp.
01585 : fNext(NULL), fCSeq(cseq), fCommandName(commandName), fSession(session), fSubsession(subsession), fBooleanFlags(booleanFlags), 01586 fStart(start), fEnd(end), fScale(scale), fContentStr(strDup(contentStr)), fHandler(handler) { 01587 }
| RTSPClient::RequestRecord::~RequestRecord | ( | ) | [virtual] |
Definition at line 1589 of file RTSPClient.cpp.
References fContentStr, and fNext.
01589 { 01590 // Delete the rest of the list first: 01591 delete fNext; 01592 01593 delete[] fContentStr; 01594 }
| RequestRecord*& RTSPClient::RequestRecord::next | ( | ) | [inline] |
Definition at line 180 of file RTSPClient.hh.
References fNext.
Referenced by RTSPClient::RequestQueue::dequeue(), RTSPClient::RequestQueue::enqueue(), RTSPClient::RequestQueue::findByCSeq(), and RTSPClient::RequestQueue::putAtHead().
00180 { return fNext; }
| unsigned& RTSPClient::RequestRecord::cseq | ( | ) | [inline] |
Definition at line 181 of file RTSPClient.hh.
References fCSeq.
Referenced by RTSPClient::RequestQueue::findByCSeq(), RTSPClient::handleResponseBytes(), RTSPClient::resendCommand(), and RTSPClient::sendRequest().
00181 { return fCSeq; }
| char const* RTSPClient::RequestRecord::commandName | ( | ) | const [inline] |
Definition at line 182 of file RTSPClient.hh.
References fCommandName.
Referenced by RTSPClient::handleResponseBytes(), RTSPClient::resendCommand(), and RTSPClient::sendRequest().
00182 { return fCommandName; }
| MediaSession* RTSPClient::RequestRecord::session | ( | ) | const [inline] |
Definition at line 183 of file RTSPClient.hh.
References fSession.
Referenced by RTSPClient::handleResponseBytes(), and RTSPClient::sendRequest().
00183 { return fSession; }
| MediaSubsession* RTSPClient::RequestRecord::subsession | ( | ) | const [inline] |
Definition at line 184 of file RTSPClient.hh.
References fSubsession.
Referenced by RTSPClient::handleResponseBytes(), and RTSPClient::sendRequest().
00184 { return fSubsession; }
| u_int32_t RTSPClient::RequestRecord::booleanFlags | ( | ) | const [inline] |
Definition at line 185 of file RTSPClient.hh.
References fBooleanFlags.
Referenced by RTSPClient::handleResponseBytes(), and RTSPClient::sendRequest().
00185 { return fBooleanFlags; }
| double RTSPClient::RequestRecord::start | ( | ) | const [inline] |
Definition at line 186 of file RTSPClient.hh.
References fStart.
Referenced by RTSPClient::sendRequest().
00186 { return fStart; }
| double RTSPClient::RequestRecord::end | ( | ) | const [inline] |
Definition at line 187 of file RTSPClient.hh.
References fEnd.
Referenced by RTSPClient::sendRequest().
00187 { return fEnd; }
| float RTSPClient::RequestRecord::scale | ( | ) | const [inline] |
Definition at line 188 of file RTSPClient.hh.
References fScale.
Referenced by RTSPClient::sendRequest().
00188 { return fScale; }
| char* RTSPClient::RequestRecord::contentStr | ( | ) | const [inline] |
Definition at line 189 of file RTSPClient.hh.
References fContentStr.
Referenced by RTSPClient::handleResponseBytes(), and RTSPClient::sendRequest().
00189 { return fContentStr; }
| responseHandler*& RTSPClient::RequestRecord::handler | ( | ) | [inline] |
Definition at line 190 of file RTSPClient.hh.
References fHandler.
Referenced by RTSPClient::changeResponseHandler(), RTSPClient::handleRequestError(), and RTSPClient::handleResponseBytes().
00190 { return fHandler; }
RequestRecord* RTSPClient::RequestRecord::fNext [private] |
unsigned RTSPClient::RequestRecord::fCSeq [private] |
char const* RTSPClient::RequestRecord::fCommandName [private] |
MediaSession* RTSPClient::RequestRecord::fSession [private] |
u_int32_t RTSPClient::RequestRecord::fBooleanFlags [private] |
double RTSPClient::RequestRecord::fStart [private] |
double RTSPClient::RequestRecord::fEnd [private] |
float RTSPClient::RequestRecord::fScale [private] |
char* RTSPClient::RequestRecord::fContentStr [private] |
1.5.2