NtpTypes.Message, NtpTypes.MessageStatus, NtpTypes.NTPConfig, NtpTypes.NTPStatus, NtpTypes.TestStatus, NtpTypes.TestStatusInfo
Modifier and Type | Method and Description |
---|---|
NtpTypes.NTPConfig |
get()
Get the NTP configuration status.
|
void |
get(AsyncCallback<NtpTypes.NTPConfig> asyncCallback)
Get the NTP configuration status.
|
void |
get(AsyncCallback<NtpTypes.NTPConfig> asyncCallback,
InvocationConfig invocationConfig)
Get the NTP configuration status.
|
NtpTypes.NTPConfig |
get(InvocationConfig invocationConfig)
Get the NTP configuration status.
|
NtpTypes.TestStatusInfo |
test(List<String> servers)
Test the connection to a list of ntp servers.
|
void |
test(List<String> servers,
AsyncCallback<NtpTypes.TestStatusInfo> asyncCallback)
Test the connection to a list of ntp servers.
|
void |
test(List<String> servers,
AsyncCallback<NtpTypes.TestStatusInfo> asyncCallback,
InvocationConfig invocationConfig)
Test the connection to a list of ntp servers.
|
NtpTypes.TestStatusInfo |
test(List<String> servers,
InvocationConfig invocationConfig)
Test the connection to a list of ntp servers.
|
NtpTypes.TestStatusInfo test(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 errorNtpTypes.TestStatusInfo test(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 test(List<String> servers, AsyncCallback<NtpTypes.TestStatusInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
NTP connection status
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 test(List<String> servers, AsyncCallback<NtpTypes.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.
Operation Result:
NTP connection status
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.NtpTypes.NTPConfig get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorNtpTypes.NTPConfig 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<NtpTypes.NTPConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
NTP config
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<NtpTypes.NTPConfig> 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 Result:
NTP config
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2016. All Rights Reserved.