VCDoc
Class Tree
Name
unaSocks_SHOUT
.unaSHOUTreceiver
Class Hierarchy
/
unaThread
/
unaObject
/ TObject
Description
Basic SHOUTcast receiver (TCP only).
Members
Fields
Field
Description
Methods
Method
Description
unaObject
.
acquire
unaObject
.
acquire
Exclusive acquire.
unaObject
.
acquireStatic
Static version of unconditional acquire().
unaObject
.
acquireStatic
Static version of acquire(). Always uses WO access level.
unaObject
.
AfterConstruction
Makes sure "inherited" create() was called during object's creation.
unaObject
.
BeforeDestruction
Sets f_destroying to true.
unaObject
.
create
Creates an object.
unaObject
.
Destroy
unaObject
.
release
Release either after successfull RO or WO acquire.
unaObject
.
releaseRO
Releases the object after successfull RO acquisition.
unaObject
.
releaseWO
Releases the object after successfull WO acquisition.
unaObject
.
releseStatic
Static version of releaseWO().
unaThread
.
AfterConstruction
Makes sure "inherited" create() was called during object's creation.
unaThread
.
askStop
Notifies the thread it should be stopped ASAP.
unaThread
.
BeforeDestruction
Destroys the thread. If thread is running, stops it by calling the stop() method.
unaThread
.
create
Creates new thread if active is true. If active is false thread should be created by calling the start() method.
unaThread
.
doSetStatus
unaThread
.
execute
This method will be called when execution starts in a new thread.
unaThread
.
getHandle
unaThread
.
getStatus
unaThread
.
getThreadId
unaThread
.
grantStart
Called just before execute() method.
unaThread
.
grantStop
Called just before shouldStop property will be set to true.
unaThread
.
onPause
unaThread
.
onResume
unaThread
.
pause
Suspends thread execution.
unaThread
.
resume
Resumes thread execution.
unaThread
.
setDefaultStopTimeout
unaThread
.
shouldStopThread
Returns true if thread with specified ID was marked to termination.
unaThread
.
sleepThread
Pauses the thread for specified amount of milliseconds.
unaThread
.
start
Starts the thread.
unaThread
.
startIn
Called just before execute() method.
unaThread
.
startOut
Called just after execute() method.
unaThread
.
stop
Stops the thread.
unaThread
.
waitForTerminate
Wait till thread is terminated.
unaThread
.
wakeUp
If thread has entered the sleepThread() state, wakes the thread up, making the speep() method to return True.
BeforeDestruction
Cleans the instance.
create
Creates a new instance.
execute
getICYHeaderValue
Returns specifyied ICY header.
onMetadata
onPayload
startIn
Called just before execute() method.
startOut
Called just after execute() method.
Properties
Property
Description
unaObject
.
destroying
True when object is being destroyed.
unaObject
.
_classID
Returns string description of this instance.
unaObject
.
_this
Returns pointer to self (this instance of object). Useful is some cases where self will refer to method's owner object instead.
unaThread
.
globalIndex
unaThread
.
onExecute
Fires when execution starts in a new thread. See comments for execute() method for details.
unaThread
.
priority
Specifies the priority of the thread.
unaThread
.
shouldStop
True when thread is (about to be) stopped.
errorCode
ICY or some other error code.
libOK
song_title
song_url
srv_bitrate
srv_genre
srv_name
srv_url
URI
Stream URI.
userAgent
User-agent:
Events
Event
Description
(c) 2001-2011
Lake of Soft
Created with
DelphiCodeToDoc
.