|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
Base class for a proxy client. More...
Inheritance diagram for Erebot\Proxy\Base:Public Member Functions | |
| __construct ($socket) | |
| proxify (\Erebot\URIInterface $proxyURI,\Erebot\URIInterface $nextURI) | |
Protected Attributes | |
| $logger | |
| A logger for this proxy client. | |
| $socket | |
| A socket on which to operate. | |
| Erebot\Proxy\Base::__construct | ( | $socket | ) |
Create the base for a proxy client.
| stream | $socket | A socket which will be used to tunnel data. |
Definition at line 41 of file Base.php.
References Erebot\Proxy\Base\$socket, and Erebot\Proxy\Base\proxify().
|
abstract |
Main method which will do all the work of making the proxy tunnel.
| Erebot::URIInterface | $proxyURI | URI used to designate the proxy. |
| Erebot::URIInterface | $nextURI | URI used to designate the next element in the proxy chain. The next URI may point to either another proxy (chaining), or the final end point of the chain. |
Referenced by Erebot\Proxy\Base\__construct().