public interface Servers extends Service, ServersTypes
Servers
interface provides methods DNS server configuration.ServersTypes.DNSServerConfig, ServersTypes.DNSServerMode, ServersTypes.Message, ServersTypes.MessageStatus, ServersTypes.TestStatus, ServersTypes.TestStatusInfo
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String server)
Add a DNS server.
|
void |
add(java.lang.String server,
AsyncCallback<java.lang.Void> asyncCallback)
Add a DNS server.
|
void |
add(java.lang.String server,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Add a DNS server.
|
void |
add(java.lang.String server,
InvocationConfig invocationConfig)
Add a DNS server.
|
ServersTypes.DNSServerConfig |
get()
Get DNS server configuration.
|
void |
get(AsyncCallback<ServersTypes.DNSServerConfig> asyncCallback)
Get DNS server configuration.
|
void |
get(AsyncCallback<ServersTypes.DNSServerConfig> asyncCallback,
InvocationConfig invocationConfig)
Get DNS server configuration.
|
ServersTypes.DNSServerConfig |
get(InvocationConfig invocationConfig)
Get DNS server configuration.
|
void |
set(ServersTypes.DNSServerConfig config)
Set the DNS server configuration.
|
void |
set(ServersTypes.DNSServerConfig config,
AsyncCallback<java.lang.Void> asyncCallback)
Set the DNS server configuration.
|
void |
set(ServersTypes.DNSServerConfig config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set the DNS server configuration.
|
void |
set(ServersTypes.DNSServerConfig config,
InvocationConfig invocationConfig)
Set the DNS server configuration.
|
ServersTypes.TestStatusInfo |
test(java.util.List<java.lang.String> servers)
Test if dns servers are reachable.
|
void |
test(java.util.List<java.lang.String> servers,
AsyncCallback<ServersTypes.TestStatusInfo> asyncCallback)
Test if dns servers are reachable.
|
void |
test(java.util.List<java.lang.String> servers,
AsyncCallback<ServersTypes.TestStatusInfo> asyncCallback,
InvocationConfig invocationConfig)
Test if dns servers are reachable.
|
ServersTypes.TestStatusInfo |
test(java.util.List<java.lang.String> servers,
InvocationConfig invocationConfig)
Test if dns servers are reachable.
|
ServersTypes.TestStatusInfo test(java.util.List<java.lang.String> servers)
Synchronous method overload. Result of the invocation will be reported as a method return value.
servers
- DNS servers.Error
- Generic errorServersTypes.TestStatusInfo test(java.util.List<java.lang.String> servers, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
servers
- DNS servers.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid test(java.util.List<java.lang.String> servers, AsyncCallback<ServersTypes.TestStatusInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
DNS reacable status
Operation Errors:
Error
- Generic error
servers
- DNS servers.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void test(java.util.List<java.lang.String> servers, AsyncCallback<ServersTypes.TestStatusInfo> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
DNS reacable status
Operation Errors:
Error
- Generic error
servers
- DNS servers.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void add(java.lang.String server)
Synchronous method overload. Result of the invocation will be reported as a method return value.
server
- DNS server.Error
- Generic errorvoid add(java.lang.String server, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
server
- DNS server.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid add(java.lang.String server, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
server
- DNS server.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void add(java.lang.String server, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
server
- DNS server.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void set(ServersTypes.DNSServerConfig config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
config
- DNS server configuration.Error
- Generic errorvoid set(ServersTypes.DNSServerConfig config, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
config
- DNS server configuration.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(ServersTypes.DNSServerConfig config, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
config
- DNS server configuration.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(ServersTypes.DNSServerConfig config, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- Generic error
config
- DNS server configuration.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ServersTypes.DNSServerConfig get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorServersTypes.DNSServerConfig get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid get(AsyncCallback<ServersTypes.DNSServerConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
DNS server configuration.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<ServersTypes.DNSServerConfig> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
DNS server configuration.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.