server_versions


Description:

public StatusResponse server_versions (void* command_cookie = null, ServerVersionCommand*[] commands = new null ?[0] {})

Request server versions. The callback will be invoked with the instance, server address, version string, and version string length.

When all server versions have been received, the callback is invoked with the server endpoint argument set to NULL

Example

  ServerVersionCommand svc = ServerVersionCommand();
ServerVersionCommand*[] commands = { &svc };
instance.server_versions( null, commands );

Parameters:

command_cookie

a cookie passed to all of the notifications from this command

commands

the array containing the version commands

Returns:

The status of the operation