constructor RepMan
$session, $result = RepMan ($server_node, $database_name)
Opens a connection. An empty server node will search for a REPM Server on the local machine.
cmd
$output = $session->cmd ($cmd)
Executes a command and returns the resulting buffer as a string.
Any error will result in an exception. For the format of the paramter $cmd please see
the documentation of the Replication Manager.
rawCmd
$output = $session->cmd ($cmd)
Executes a command and returns the resulting buffer as a string without checking for errors.
For the format of the paramter $cmd please see
the documentation of the Replication Manager.
sql
$result = $session->sql ($cmd)
Executes an SQL statement and returns the error code. This method raises an exception only if an
error occurs that is not related to the SQL statement .
release
$session->release ()
Closes the connection.