PHPDaemon\Servers\IRCBouncer\Connection::onReady PHP Method

onReady() public method

Called when the connection is handshaked (at low-level), and peer is ready to recv. data
public onReady ( ) : void
return void
    public function onReady()
    {
        $conn = $this;
        $this->keepaliveTimer = setTimeout(function ($timer) use($conn) {
            $conn->ping();
        }, 10000000.0);
    }