Description | Hierarchy | Fields | Methods | Properties |
type unaRTSPClient = class(unaThread)
Basic RTSP client.
constructor create(const userAgent: string = 'unaRTPSClient/1.1'); |
|
function sendRequest(req: int; const uri: string = ''; const control: string = ''; const params: string = ''): HRESULT; |
|
function execute(threadID: unsigned): int; override; |
|
procedure BeforeDestruction(); override; |
|
procedure close(const uri: string = ''); |
|
procedure onReqError(const uri, control: string; req: int; errorCode: HRESULT); virtual; |
|
procedure onResponse(const uri, control: string; req: int; response: unaHTTPparser); virtual; |
constructor create(const userAgent: string = 'unaRTPSClient/1.1'); |
|
Creates RTPS client. |
function sendRequest(req: int; const uri: string = ''; const control: string = ''; const params: string = ''): HRESULT; |
|
Sends request to server.
Parameters
|
function execute(threadID: unsigned): int; override; |
|
procedure BeforeDestruction(); override; |
|
Cleans up socket. |
procedure close(const uri: string = ''); |
|
Closes an open connections to a server. If URI is '', closes all connections. |
procedure onReqError(const uri, control: string; req: int; errorCode: HRESULT); virtual; |
|
procedure onResponse(const uri, control: string; req: int; response: unaHTTPparser); virtual; |
|
(c) 2012 Lake of Soft