22#ifndef _RTSP_REGISTER_SENDER_HH
23#define _RTSP_REGISTER_SENDER_HH
25#ifndef _RTSP_CLIENT_HH
34 char const* remoteClientNameOrAddress,
portNumBits remoteClientPortNum,
36 int verbosityLevel,
char const* applicationName);
62 char const* remoteClientNameOrAddress,
portNumBits remoteClientPortNum,
char const* rtspURLToRegister,
65 int verbosityLevel = 0,
char const* applicationName =
NULL);
71 char const* remoteClientNameOrAddress,
portNumBits remoteClientPortNum,
char const* rtspURLToRegister,
73 Boolean requestStreamingViaTCP,
char const* proxyURLSuffix,
Boolean reuseConnection,
74 int verbosityLevel,
char const* applicationName);
80 char*& cmdURL,
Boolean& cmdURLWasAllocated,
81 char const*& protocolStr,
82 char*& extraHeaders,
Boolean& extraHeadersWereAllocated);
107 char const* remoteClientNameOrAddress,
portNumBits remoteClientPortNum,
char const* rtspURLToDeregister,
109 char const* proxyURLSuffix =
NULL,
110 int verbosityLevel = 0,
char const* applicationName =
NULL);
114 char const* remoteClientNameOrAddress,
portNumBits remoteClientPortNum,
char const* rtspURLToDeregister,
116 char const* proxyURLSuffix,
117 int verbosityLevel,
char const* applicationName);
123 char*& cmdURL,
Boolean& cmdURLWasAllocated,
124 char const*& protocolStr,
125 char*& extraHeaders,
Boolean& extraHeadersWereAllocated);
void() responseHandler(RTSPClient *rtspClient, int resultCode, char *resultString)
virtual ~RequestRecord_DEREGISTER()
RequestRecord_DEREGISTER(unsigned cseq, RTSPClient::responseHandler *rtspResponseHandler, char const *rtspURLToDeregister, char const *proxyURLSuffix)
char const * rtspURLToDeregister() const
virtual Boolean setRequestFields(RequestRecord *request, char *&cmdURL, Boolean &cmdURLWasAllocated, char const *&protocolStr, char *&extraHeaders, Boolean &extraHeadersWereAllocated)
RTSPDeregisterSender(UsageEnvironment &env, char const *remoteClientNameOrAddress, portNumBits remoteClientPortNum, char const *rtspURLToDeregister, RTSPClient::responseHandler *rtspResponseHandler, Authenticator *authenticator, char const *proxyURLSuffix, int verbosityLevel, char const *applicationName)
static RTSPDeregisterSender * createNew(UsageEnvironment &env, char const *remoteClientNameOrAddress, portNumBits remoteClientPortNum, char const *rtspURLToDeregister, RTSPClient::responseHandler *rtspResponseHandler, Authenticator *authenticator=NULL, char const *proxyURLSuffix=NULL, int verbosityLevel=0, char const *applicationName=NULL)
virtual ~RTSPDeregisterSender()
char * fRTSPURLToRegisterOrDeregister
virtual ~RequestRecord_REGISTER_or_DEREGISTER()
char const * proxyURLSuffix() const
RequestRecord_REGISTER_or_DEREGISTER(unsigned cseq, char const *cmdName, RTSPClient::responseHandler *rtspResponseHandler, char const *rtspURLToRegisterOrDeregister, char const *proxyURLSuffix)
portNumBits fRemoteClientPortNum
RTSPRegisterOrDeregisterSender(UsageEnvironment &env, char const *remoteClientNameOrAddress, portNumBits remoteClientPortNum, Authenticator *authenticator, int verbosityLevel, char const *applicationName)
virtual ~RTSPRegisterOrDeregisterSender()
Boolean requestStreamingViaTCP() const
Boolean reuseConnection() const
char const * rtspURLToRegister() const
Boolean fRequestStreamingViaTCP
RequestRecord_REGISTER(unsigned cseq, RTSPClient::responseHandler *rtspResponseHandler, char const *rtspURLToRegister, Boolean reuseConnection, Boolean requestStreamingViaTCP, char const *proxyURLSuffix)
virtual ~RequestRecord_REGISTER()
void grabConnection(int &sock, struct sockaddr_storage &remoteAddress)
virtual Boolean setRequestFields(RequestRecord *request, char *&cmdURL, Boolean &cmdURLWasAllocated, char const *&protocolStr, char *&extraHeaders, Boolean &extraHeadersWereAllocated)
RTSPRegisterSender(UsageEnvironment &env, char const *remoteClientNameOrAddress, portNumBits remoteClientPortNum, char const *rtspURLToRegister, RTSPClient::responseHandler *rtspResponseHandler, Authenticator *authenticator, Boolean requestStreamingViaTCP, char const *proxyURLSuffix, Boolean reuseConnection, int verbosityLevel, char const *applicationName)
virtual ~RTSPRegisterSender()
static RTSPRegisterSender * createNew(UsageEnvironment &env, char const *remoteClientNameOrAddress, portNumBits remoteClientPortNum, char const *rtspURLToRegister, RTSPClient::responseHandler *rtspResponseHandler, Authenticator *authenticator=NULL, Boolean requestStreamingViaTCP=False, char const *proxyURLSuffix=NULL, Boolean reuseConnection=False, int verbosityLevel=0, char const *applicationName=NULL)