Package DE_EPAGES::WebInterface::API::Object::MonitorShared
Package DE_EPAGES::Core::API::Object::MonitorShared
Functions
blockTimeOut
if the main thread dont want that the monitor start, it calls this function. monitor sets internal state blocked if not started yet.
Syntax |
$Monitor->blockTimeOut; |
isBlocked
Returns true if monitor is blocked. In this case the monitor will ignore the timeout and proceed with the normal processing.
Syntax |
$IsBlocked = $Monitor->isBlocked; |
Example |
if( $Monitor->isBlocked ) { ... }; |
Return |
|
isStarted
Returns true if the monitor is started.
Syntax |
$IsStarted = $Monitor->isStarted; |
Example |
if( $Monitor->isStarted ) { ... }; |
Return |
|
new
Create a new monitor object, which covers the content pages and is triggered at timeout and response.
Syntax |
$Servlet = new DE_EPAGES::WebInterface::API::Object::MonitorShared; |
Return |
|
reset
generates an resets the monitor, generates a GUID. This function should be called at each DE_EPAGES::Core::API::Object::MonitorThread::run of the monitor thread.
Syntax |
$Monitor->reset; |
timeout
The Monitor thread gets a timeout, this function writes the ContentMonitor attribute to filesystem and redirect the Browser to this file.
Syntax |
$Monitor->timeout; |
write
writes the monitor file to filesystem. With the $ContentName it's possible to use different attributes for save.
Syntax |
$Monitor->write($ContentName); |
Input |
|