TeamSpeak 3 PHP Framework
Modern use-at-will framework that provides individual components to manage TeamSpeak 3 Server instances
|
Provides low-level methods for concrete adapters to communicate with a TeamSpeak 3 Server. More...
Public Member Functions | |
__construct (array $options) | |
The TeamSpeak3_Adapter_Abstract constructor. More... | |
__destruct () | |
The TeamSpeak3_Adapter_Abstract destructor. More... | |
__sleep () | |
Commit pending data. More... | |
__wakeup () | |
Reconnects to the remote server. More... | |
getProfiler () | |
Returns the profiler timer used for this connection adapter. More... | |
getTransport () | |
Returns the transport object used for this connection adapter. More... | |
getTransportHost () | |
Returns the hostname or IPv4 address the underlying TeamSpeak3_Transport_Abstract object is connected to. More... | |
getTransportPort () | |
Returns the port number of the server the underlying TeamSpeak3_Transport_Abstract object is connected to. More... | |
Protected Member Functions | |
initTransport ($options, $transport="TeamSpeak3_Transport_TCP") | |
Loads the transport object object used for the connection adapter and passes a given set of options. More... | |
syn () | |
Connects the TeamSpeak3_Transport_Abstract object and performs initial actions on the remote server. More... | |
Provides low-level methods for concrete adapters to communicate with a TeamSpeak 3 Server.
__construct | ( | array | $options | ) |
The TeamSpeak3_Adapter_Abstract constructor.
array | $options |
|
abstract |
The TeamSpeak3_Adapter_Abstract destructor.
__wakeup | ( | ) |
Reconnects to the remote server.
getProfiler | ( | ) |
Returns the profiler timer used for this connection adapter.
getTransport | ( | ) |
Returns the transport object used for this connection adapter.
getTransportHost | ( | ) |
Returns the hostname or IPv4 address the underlying TeamSpeak3_Transport_Abstract object is connected to.
getTransportPort | ( | ) |
Returns the port number of the server the underlying TeamSpeak3_Transport_Abstract object is connected to.
|
protected |
Loads the transport object object used for the connection adapter and passes a given set of options.
array | $options | |
string | $transport |
TeamSpeak3_Adapter_Exception |
|
abstractprotected |
Connects the TeamSpeak3_Transport_Abstract object and performs initial actions on the remote server.
TeamSpeak3_Adapter_Exception |