PEAR Manual
Prev |  | Next

# Net_Server_Handler::setServerReference()

Net_Server_Handler::setServerReference() -- set a reference to the server object

## Synopsis

    require_once 'ServerHandler.php';

``void Net_Server_Handler::setServerReference` (object Net_Server_* &$server)`

## Description

This is done automatically when the handler is passed over to the server

## Parameter

object Net_Server_*; `&$server`

  object

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Net_Server_Handler::onStart() | Up | Package Net_Server Constants