Zhamao Framework 3.2.4
A high-performance chatbot + web framework
载入中...
搜索中...
未找到
ConnectionUtil类 参考

静态 Public 成员函数

static addConnection (int $fd, array $handle=[])
 
static setConnection (int $fd, array $handle)
 
static removeConnection (int $fd)
 
static getConnection (int $fd)
 

静态 Public 属性

static int $connection_count = 0
 

成员函数说明

◆ addConnection()

static addConnection ( int  $fd,
array  $handle = [] 
)
static

添加连接元信息

参数
int$fdWS 连接 ID
array$handleWS 连接元信息
函数调用图:

◆ getConnection()

static getConnection ( int  $fd)
static

获取记录连接内容的特殊信息

参数
int$fdWS 连接 ID
返回
null|mixed

◆ removeConnection()

static removeConnection ( int  $fd)
static

删除连接元信息

参数
int$fdWS 连接 ID
函数调用图:

◆ setConnection()

static setConnection ( int  $fd,
array  $handle 
)
static

更改、覆盖或合并连接元信息

参数
int$fdWS 连接 ID
array$handleWS 连接元信息
函数调用图:

结构体成员变量说明

◆ $connection_count

int $connection_count = 0
static

该类的文档由以下文件生成: