|
The EventUtil classはじめにEventUtil is a singleton with supplimentary methods and constants. クラス概要
EventUtil
final
class EventUtil
{
/* 定数 */
const
int
EventUtil::AF_INET = 2;
const
int
EventUtil::AF_INET6 = 10;
const
int
EventUtil::AF_UNSPEC = 0;
const
int
EventUtil::LIBEVENT_VERSION_NUMBER = 33559808;
const
int
EventUtil::SO_DEBUG = 1;
const
int
EventUtil::SO_REUSEADDR = 2;
const
int
EventUtil::SO_KEEPALIVE = 9;
const
int
EventUtil::SO_DONTROUTE = 5;
const
int
EventUtil::SO_LINGER = 13;
const
int
EventUtil::SO_BROADCAST = 6;
const
int
EventUtil::SO_OOBINLINE = 10;
const
int
EventUtil::SO_SNDBUF = 7;
const
int
EventUtil::SO_RCVBUF = 8;
const
int
EventUtil::SO_SNDLOWAT = 19;
const
int
EventUtil::SO_RCVLOWAT = 18;
const
int
EventUtil::SO_SNDTIMEO = 21;
const
int
EventUtil::SO_RCVTIMEO = 20;
const
int
EventUtil::SO_TYPE = 3;
const
int
EventUtil::SO_ERROR = 4;
const
int
EventUtil::SOL_SOCKET = 1;
const
int
EventUtil::SOL_TCP = 6;
const
int
EventUtil::SOL_UDP = 17;
const
int
EventUtil::IPPROTO_IP = 0;
const
int
EventUtil::IPPROTO_IPV6 = 41;
/* メソッド */
abstract
public
__construct()
public
static
int getLastSocketErrno(
mixed
$socket
= null
)public
static
string getLastSocketError(
mixed
$socket
= ?)public
static
int getSocketFd(
mixed
$socket
)public
static
bool getSocketName(
mixed
$socket
,
string
&$address
,
mixed
&$port
= ?)public
static
bool setSocketOption(
mixed $socket
,int $level
,int $optname
,mixed $optval
) public
static
void sslRandPoll()
}定義済み定数
|