SUMMARY: CONSTR | METHOD | DETAIL: CONSTR | METHOD |
Unless otherwise noted, $obj
is the object instance variable.
Constructor Summary |
---|
new(AptTimeout => value, Mux => value, Logger => value, Config => value, EnableSelector => value, DisableSelector => value, Stats => value)
|
Method Summary |
---|
acceptConfig(SharedConsumers => value, BgPersons => value, Transports => value)
Accept updated configuration information. |
close()
Closes the HTTPD listen socket and stops all the WebClient threads. |
getSocket()
Return the listener socket. |
get_simplex_methods()
Overrides Thread::Apartment::Server::get_simplex_methods() . |
handleSocketError()
Deprecated. 1 |
handleSocketEvent()
Handle listen socket events. |
poll()
Thread::Apartment::IOServer::poll() implementation. |
setLogLevel($level)
Set log level. |
Constructor Details |
---|
new(AptTimeout => value, Mux => value, Logger => value, Config => value, EnableSelector => value, DisableSelector => value, Stats => value)
AptTimeout
=> Thread::Apartment proxy return timeout
Mux
=> main Mux
Logger
=> logger object
Config
=> HTTPD configuration info from config file
EnableSelector
=> IO::Selector for single threaded mode
DisableSelector
=> IO::Selector for single threaded mode
Stats
=> global shared stats
Method Details |
---|
acceptConfig(SharedConsumers => value, BgPersons => value, Transports => value)
SharedConsumers
=> hashref mapping shared consumer names to objects
BgPersons
=> hashref mapping background personality names to objects
Transports
=> hashref mapping transport names to TransportFactory objects
close()
getSocket()
get_simplex_methods()
handleSocketError()
handleSocketEvent()
poll()
setLogLevel($level)
$level
- new log level