PHP Class PHPDaemon\Servers\IRCBouncer\Connection

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\Network\Connection
Afficher le fichier Open project: kakserpom/phpdaemon

Méthodes publiques

Свойство Type Description
$EOL string
$attachedServer object
$lastPingTS integer
$latency integer
$protologging boolean
$timeout integer
$usermask string

Méthodes publiques

Méthode Description
attachTo ( )
command ( string $from, string $cmd )
commandArr ( string $from, string $cmd, array $args )
detach ( )
exportChannel ( object $chan )
msgFromBNC ( string $msg )
onCommand ( string $cmd, array $args )
onFinish ( )
onRead ( ) : void Called when new data received
onReady ( ) : void Called when the connection is handshaked (at low-level), and peer is ready to recv. data
ping ( )

Method Details

attachTo() public méthode

public attachTo ( )

command() public méthode

public command ( string $from, string $cmd )
$from string From
$cmd string Command

commandArr() public méthode

public commandArr ( string $from, string $cmd, array $args )
$from string From
$cmd string Command
$args array Arguments

detach() public méthode

public detach ( )

exportChannel() public méthode

public exportChannel ( object $chan )
$chan object

msgFromBNC() public méthode

public msgFromBNC ( string $msg )
$msg string

onCommand() public méthode

public onCommand ( string $cmd, array $args )
$cmd string Command
$args array Arguments

onFinish() public méthode

public onFinish ( )

onRead() public méthode

Called when new data received
public onRead ( ) : void
Résultat void

onReady() public méthode

Called when the connection is handshaked (at low-level), and peer is ready to recv. data
public onReady ( ) : void
Résultat void

ping() public méthode

public ping ( )

Property Details

$EOL public_oe property

public string $EOL
Résultat string

$attachedServer public_oe property

public object $attachedServer
Résultat object

$lastPingTS public_oe property

public int $lastPingTS
Résultat integer

$latency public_oe property

public int $latency
Résultat integer

$protologging public_oe property

public bool $protologging
Résultat boolean

$timeout public_oe property

public int $timeout
Résultat integer

$usermask public_oe property

public string $usermask
Résultat string