Description | Hierarchy | Fields | Methods | Properties |
type unaIcyStreamers = class(unaThread)
– unaIcyStreamers –
constructor create(const host, port: string); |
|
function sendData(data: pointer; len: unsigned): unsigned; |
|
function sendText(const text: aString): unsigned; |
|
function execute(threadIndex: unsigned): int; override; |
|
function sendDataTo(data: pointer; len: unsigned; id, connId: unsigned): unsigned; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure handleSocketEvent(event: unaSocketEvent; id, connId: tConID; data: pointer; len: uint); virtual; abstract; |
|
procedure handleStatus(); virtual; abstract; |
|
procedure onSocksEvent(sender: tObject; event: unaSocketEvent; id, connId: tConID; data: pointer; size: uint); |
|
procedure startIn(); override; |
|
procedure startOut(); override; |
property host: string read f_host write f_host; |
|
property port: string read f_port write f_port; |
|
property status: tunaIcyStreamerStatus read f_status; |
|
property timeOut: tTimeout read f_timeOut write f_timeOut; |
|
property URL: string read f_URL write f_URL; |
constructor create(const host, port: string); |
|
function sendData(data: pointer; len: unsigned): unsigned; |
|
function sendText(const text: aString): unsigned; |
|
function execute(threadIndex: unsigned): int; override; |
|
function sendDataTo(data: pointer; len: unsigned; id, connId: unsigned): unsigned; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure handleSocketEvent(event: unaSocketEvent; id, connId: tConID; data: pointer; len: uint); virtual; abstract; |
|
procedure handleStatus(); virtual; abstract; |
|
procedure onSocksEvent(sender: tObject; event: unaSocketEvent; id, connId: tConID; data: pointer; size: uint); |
|
procedure startIn(); override; |
|
procedure startOut(); override; |
|
property host: string read f_host write f_host; |
|
property port: string read f_port write f_port; |
|
property status: tunaIcyStreamerStatus read f_status; |
|
property timeOut: tTimeout read f_timeOut write f_timeOut; |
|
property URL: string read f_URL write f_URL; |
|
(c) 2012 Lake of Soft