Home Units Hierarchy Routines All identifiers

Class unaRTSPClientSocket

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaRTSPClientSocket = class(unaObject)

Description

Clinet socket with URI

Hierarchy

Overview

Methods

Public constructor create(socket: unaSocket; const uri: string; id: int64);
Public destructor Destroy(); override;
Public function getIdleTime(): uint64;
Public function nextSeq(): int;
Public function okSendReq(): bool;
Public class function uri2id(const scheme, host, port: string): int64;

Properties

Public property connFailures: int read f_connFailures;
Protected property id: int64 read f_id;
Public property response: unaHTTPparser read f_response;
Public property socket: unaSocket read f_socket;
Public property uri: string read f_uri;

Description

Methods

Public constructor create(socket: unaSocket; const uri: string; id: int64);
 
Public destructor Destroy(); override;
 
Public function getIdleTime(): uint64;
 
Returns

idle time (time since last network activity) in milliseconds

Public function nextSeq(): int;
 
Returns

next sequence number

Public function okSendReq(): bool;
 
Returns

True if socket is connected and ready to send data

Public class function uri2id(const scheme, host, port: string): int64;
 

Properties

Public property connFailures: int read f_connFailures;
 
Protected property id: int64 read f_id;
 
Public property response: unaHTTPparser read f_response;
 
Public property socket: unaSocket read f_socket;
 
Public property uri: string read f_uri;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09