|
The EventListener classはじめにRepresents a connection listener. クラス概要
EventListener
final
class EventListener
{
/* 定数 */
const
int
EventListener::OPT_LEAVE_SOCKETS_BLOCKING = 1;
const
int
EventListener::OPT_CLOSE_ON_FREE = 2;
const
int
EventListener::OPT_CLOSE_ON_EXEC = 4;
const
int
EventListener::OPT_REUSEABLE = 8;
const
int
EventListener::OPT_THREADSAFE = 16;
/* プロパティ */
public
readonly
int
$fd;
/* メソッド */
public
__construct(
EventBase $base
,callable $cb
,mixed $data
,int $flags
,int $backlog
,mixed $target
) public
bool disable()
public
bool enable()
public
void getBase()
public
static
bool getSocketName(
string
&$address
,
mixed
&$port
= ?)public
void setCallback(
callable
$cb
,
mixed
$arg
= null
)public
void setErrorCallback(
string
}$cb
)プロパティ
定義済み定数
|