TeamSpeak 3 PHP Framework
Modern use-at-will framework that provides individual components to manage TeamSpeak 3 Server instances
|
Provides low-level methods for ServerQuery communication with a TeamSpeak 3 Server. More...
Public Member Functions | |
__destruct () | |
The TeamSpeak3_Adapter_ServerQuery destructor. More... | |
getHost () | |
Returns the TeamSpeak3_Node_Host object of the current connection. More... | |
getQueryCount () | |
Returns the number of queries executed on the server. More... | |
getQueryLastTimestamp () | |
Returns the timestamp of the last command. More... | |
getQueryRuntime () | |
Returns the total runtime of all queries. More... | |
prepare ($cmd, array $params=array()) | |
Uses given parameters and returns a prepared ServerQuery command. More... | |
request ($cmd, $throw=TRUE) | |
Sends a prepared command to the server and returns the result. More... | |
wait () | |
Waits for the server to send a notification message and returns the result. More... | |
Public Member Functions inherited from TeamSpeak3_Adapter_Abstract | |
__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 | |
syn () | |
Connects the TeamSpeak3_Transport_Abstract object and performs initial actions on the remote server. More... | |
Protected Member Functions inherited from TeamSpeak3_Adapter_Abstract | |
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 ServerQuery communication with a TeamSpeak 3 Server.
__destruct | ( | ) |
The TeamSpeak3_Adapter_ServerQuery destructor.
getHost | ( | ) |
Returns the TeamSpeak3_Node_Host object of the current connection.
getQueryCount | ( | ) |
getQueryLastTimestamp | ( | ) |
getQueryRuntime | ( | ) |
Returns the total runtime of all queries.
prepare | ( | $cmd, | |
array | $params = array() |
||
) |
Uses given parameters and returns a prepared ServerQuery command.
string | $cmd | |
array | $params |
request | ( | $cmd, | |
$throw = TRUE |
|||
) |
Sends a prepared command to the server and returns the result.
string | $cmd | |
boolean | $throw |
TeamSpeak3_Adapter_Exception |
|
protected |
Connects the TeamSpeak3_Transport_Abstract object and performs initial actions on the remote server.
TeamSpeak3_Adapter_Exception |
wait | ( | ) |
Waits for the server to send a notification message and returns the result.
TeamSpeak3_Adapter_Exception |