final public function onRead( ) { if( $this->_state === SOCK_LISTENING ) { $tmp = new socket( $this->_event ); $tmp->accept( $this->_socket ); $this->_event->onAccept( $tmp ); } else { echo 'on read!'; } }