Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MyQEE
Server
Clusters
TaskServer
PHP Class MyQEE\Server\Clusters\TaskServer
Show file
Open project: myqee/server
Protected Properties
Property
Type
Description
$id
$server
Swoole\Server
Public Methods
Method
Description
__construct
( )
TaskServer constructor.
onReceive
(
$server
,
$fd
,
$fromId
,
$data
)
onStart
( )
start
(
$ip
,
$port
)
Method Details
__construct()
public
method
TaskServer constructor.
public
__construct
( )
onReceive()
public
method
public
onReceive
(
$server
,
$fd
,
$fromId
,
$data
)
onStart()
public
method
public
onStart
( )
start()
public
method
public
start
(
$ip
,
$port
)
Property Details
$id
protected property
protected
$id
$server
protected property
protected
Server,Swoole
$server
return
Swoole\Server