Home Units Hierarchy Routines All identifiers

Class unaIcyStreamers

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaIcyStreamers = class(unaThread)

Description

– unaIcyStreamers –

Hierarchy

Overview

Methods

Public constructor create(const host, port: string);
Public function sendData(data: pointer; len: unsigned): unsigned;
Public function sendText(const text: aString): unsigned;
Protected function execute(threadIndex: unsigned): int; override;
Protected function sendDataTo(data: pointer; len: unsigned; id, connId: unsigned): unsigned;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure handleSocketEvent(event: unaSocketEvent; id, connId: tConID; data: pointer; len: uint); virtual; abstract;
Protected procedure handleStatus(); virtual; abstract;
Protected procedure onSocksEvent(sender: tObject; event: unaSocketEvent; id, connId: tConID; data: pointer; size: uint);
Protected procedure startIn(); override;
Protected procedure startOut(); override;

Properties

Public property host: string read f_host write f_host;
Public property port: string read f_port write f_port;
Public property status: tunaIcyStreamerStatus read f_status;
Public property timeOut: tTimeout read f_timeOut write f_timeOut;
Public property URL: string read f_URL write f_URL;

Description

Methods

Public constructor create(const host, port: string);
 
Public function sendData(data: pointer; len: unsigned): unsigned;
 
Public function sendText(const text: aString): unsigned;
 
Protected function execute(threadIndex: unsigned): int; override;
 
Protected function sendDataTo(data: pointer; len: unsigned; id, connId: unsigned): unsigned;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure handleSocketEvent(event: unaSocketEvent; id, connId: tConID; data: pointer; len: uint); virtual; abstract;
 
Protected procedure handleStatus(); virtual; abstract;
 
Protected procedure onSocksEvent(sender: tObject; event: unaSocketEvent; id, connId: tConID; data: pointer; size: uint);
 
Protected procedure startIn(); override;
 
Protected procedure startOut(); override;
 

Properties

Public property host: string read f_host write f_host;
 
Public property port: string read f_port write f_port;
 
Public property status: tunaIcyStreamerStatus read f_status;
 
Public property timeOut: tTimeout read f_timeOut write f_timeOut;
 
Public property URL: string read f_URL write f_URL;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09