NtpTypes.Message, NtpTypes.MessageStatus, NtpTypes.NTPConfig, NtpTypes.NTPStatus, NtpTypes.TestStatus, NtpTypes.TestStatusInfo| Constructor and Description |
|---|
NtpStub(ApiProvider apiProvider,
StubConfigurationBase config) |
| 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.
|
public NtpStub(ApiProvider apiProvider, StubConfigurationBase config)
public NtpTypes.TestStatusInfo test(List<String> servers)
NtpSynchronous method overload. Result of the invocation will be reported as a method return value.
public NtpTypes.TestStatusInfo test(List<String> servers, InvocationConfig invocationConfig)
NtpSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void test(List<String> servers, AsyncCallback<NtpTypes.TestStatusInfo> asyncCallback)
NtpAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
NTP connection status
Operation Errors:
Error - Generic error
public void test(List<String> servers, AsyncCallback<NtpTypes.TestStatusInfo> asyncCallback, InvocationConfig invocationConfig)
NtpAsynchronous 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
public NtpTypes.NTPConfig get()
NtpSynchronous method overload. Result of the invocation will be reported as a method return value.
public NtpTypes.NTPConfig get(InvocationConfig invocationConfig)
NtpSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void get(AsyncCallback<NtpTypes.NTPConfig> asyncCallback)
NtpAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
NTP config
Operation Errors:
Error - Generic error
public void get(AsyncCallback<NtpTypes.NTPConfig> asyncCallback, InvocationConfig invocationConfig)
NtpAsynchronous 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
Copyright © 2016. All Rights Reserved.