PHP Class MyQEE\Server\Register\RPC

Inheritance: extends MyQEE\Server\RPC
Datei anzeigen Open project: myqee/server Class Usage Examples

Public Properties

Property Type Description
$RPC_KEY

Public Methods

Method Description
reg ( Host $host ) : boolean | stdClass 注册一个新服务器

Protected Methods

Method Description
random ( integer $length ) : string 返回一个随机字符串

Method Details

random() protected static method

返回一个随机字符串
protected static random ( integer $length ) : string
$length integer
return string

reg() public method

注册一个新服务器
public reg ( Host $host ) : boolean | stdClass
$host MyQEE\Server\Clusters\Host
return boolean | stdClass

Property Details

$RPC_KEY public_oe static_oe property

public static $RPC_KEY