PHP Class raklib\protocol\Packet

Exibir arquivo Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$ID
$buffer
$sendTime

Protected Properties

Property Type Description
$offset

Public Methods

Method Description
clean ( )
decode ( )
encode ( )

Protected Methods

Method Description
feof ( )
get ( $len )
getAddress ( &$addr, &$port, &$version = null )
getByte ( )
getInt ( )
getLTriad ( )
getLong ( $signed = true )
getShort ( $signed = true )
getString ( )
getTriad ( )
put ( $str )
putAddress ( $addr, $port, $version = 4 )
putByte ( $v )
putInt ( $v )
putLTriad ( $v )
putLong ( $v )
putShort ( $v )
putString ( $v )
putTriad ( $v )

Method Details

clean() public method

public clean ( )

decode() public method

public decode ( )

encode() public method

public encode ( )

feof() protected method

protected feof ( )

get() protected method

protected get ( $len )

getAddress() protected method

protected getAddress ( &$addr, &$port, &$version = null )

getByte() protected method

protected getByte ( )

getInt() protected method

protected getInt ( )

getLTriad() protected method

protected getLTriad ( )

getLong() protected method

protected getLong ( $signed = true )

getShort() protected method

protected getShort ( $signed = true )

getString() protected method

protected getString ( )

getTriad() protected method

protected getTriad ( )

put() protected method

protected put ( $str )

putAddress() protected method

protected putAddress ( $addr, $port, $version = 4 )

putByte() protected method

protected putByte ( $v )

putInt() protected method

protected putInt ( $v )

putLTriad() protected method

protected putLTriad ( $v )

putLong() protected method

protected putLong ( $v )

putShort() protected method

protected putShort ( $v )

putString() protected method

protected putString ( $v )

putTriad() protected method

protected putTriad ( $v )

Property Details

$ID public_oe static_oe property

public static $ID

$buffer public_oe property

public $buffer

$offset protected_oe property

protected $offset

$sendTime public_oe property

public $sendTime