public attachBound ( |
||
$bound | Generic | |
$inf | mixed | Info |
return | void |
public function attachBound(\PHPDaemon\BoundSocket\Generic $bound, $inf = null)
{
$this->bound->attach($bound, $inf);
if ($this->eventLoop !== null) {
$bound->setEventLoop($this->eventLoop);
}
}