Home Units Hierarchy Routines All identifiers

Class unaIcyServer

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaIcyServer = class(unaIcyStreamers)

Description

ICY server

Hierarchy

Overview

Methods

Public constructor create(const port: string; maxClients: unsigned = 3; metaDataAlign: unsigned = $2000; bitrate: int = 128; const special: string = '');
Public function write(data: pArray; len: unsigned): unsigned;
Public function writeMetadata(const title, url: aString): unsigned;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure handleSocketEvent(event: unaSocketEvent; id, connId: tConID; data: pointer; len: uint); override;
Protected procedure handleStatus(); override;

Properties

Public property clients: unaIcyServerClientList read f_clients;
Public property servedBytes: int64 read f_servedBytes;

Description

Methods

Public constructor create(const port: string; maxClients: unsigned = 3; metaDataAlign: unsigned = $2000; bitrate: int = 128; const special: string = '');
 
Public function write(data: pArray; len: unsigned): unsigned;
 
Public function writeMetadata(const title, url: aString): unsigned;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure handleSocketEvent(event: unaSocketEvent; id, connId: tConID; data: pointer; len: uint); override;
 
Protected procedure handleStatus(); override;
 

Properties

Public property clients: unaIcyServerClientList read f_clients;
 
Public property servedBytes: int64 read f_servedBytes;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09