public interface Server extends Service, ServerTypes
Server
interface provides methods Performs NTP configuration.Modifier and Type | Method and Description |
---|---|
void |
add(List<String> servers)
Add NTP servers.
|
void |
add(List<String> servers,
AsyncCallback<Void> asyncCallback)
Add NTP servers.
|
void |
add(List<String> servers,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Add NTP servers.
|
void |
add(List<String> servers,
InvocationConfig invocationConfig)
Add NTP servers.
|
void |
delete(List<String> servers)
Delete NTP servers.
|
void |
delete(List<String> servers,
AsyncCallback<Void> asyncCallback)
Delete NTP servers.
|
void |
delete(List<String> servers,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Delete NTP servers.
|
void |
delete(List<String> servers,
InvocationConfig invocationConfig)
Delete NTP servers.
|
void |
set(List<String> servers)
Set NTP servers.
|
void |
set(List<String> servers,
AsyncCallback<Void> asyncCallback)
Set NTP servers.
|
void |
set(List<String> servers,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Set NTP servers.
|
void |
set(List<String> servers,
InvocationConfig invocationConfig)
Set NTP servers.
|
void add(List<String> servers)
Synchronous method overload. Result of the invocation will be reported as a method return value.
servers
- List of host names or IP addresses of NTP servers.Error
- Generic errorvoid add(List<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
- List of host names or IP addresses of NTP servers.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid add(List<String> servers, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
servers
- List of host names or IP addresses of NTP servers.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void add(List<String> servers, AsyncCallback<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
servers
- List of host names or IP addresses of NTP servers.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void set(List<String> servers)
Synchronous method overload. Result of the invocation will be reported as a method return value.
servers
- List of host names or ip addresses of ntp servers.Error
- Generic errorvoid set(List<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
- List of host names or ip addresses of ntp servers.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(List<String> servers, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
servers
- List of host names or ip addresses of ntp servers.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(List<String> servers, AsyncCallback<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
servers
- List of host names or ip addresses of ntp servers.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(List<String> servers)
Synchronous method overload. Result of the invocation will be reported as a method return value.
servers
- List of host name or ip addresses of ntp servers.Error
- Generic errorvoid delete(List<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
- List of host name or ip addresses of ntp servers.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid delete(List<String> servers, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
servers
- List of host name or ip addresses of ntp servers.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(List<String> servers, AsyncCallback<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
servers
- List of host name or ip addresses of ntp servers.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2016. All Rights Reserved.