Method |
Description |
|
__construct ( $addr, $ctx = NULL, $wait = 60 ) : object |
Instantiate object |
|
agents ( $uri = NULL ) : array |
Return socket agents |
|
alloc ( $socket ) : null |
Allocate stream socket |
|
close ( $socket ) : null |
Close stream socket |
|
events ( ) : array |
Return event handlers |
|
free ( $socket ) : boolean |
Free stream socket |
|
kill ( $signal ) : null |
Terminate server |
|
on ( $event, $func ) : object |
Bind function to event handler |
|
read ( $socket ) : string | FALSE |
Read from stream socket |
|
run ( ) : object |
Execute the server process |
|
write ( $socket, $str ) : integer | FALSE |
Write to stream socket |
|