NtpTypes.LocalizableMessage, NtpTypes.ServerStatus, NtpTypes.TestRunStatus
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
NtpStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NtpStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
get()
Get the NTP configuration status.
|
void |
get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Get the NTP configuration status.
|
void |
get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Get the NTP configuration status.
|
java.util.List<java.lang.String> |
get(InvocationConfig invocationConfig)
Get the NTP configuration status.
|
void |
set(java.util.List<java.lang.String> servers)
Set NTP servers.
|
void |
set(java.util.List<java.lang.String> servers,
AsyncCallback<java.lang.Void> asyncCallback)
Set NTP servers.
|
void |
set(java.util.List<java.lang.String> servers,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set NTP servers.
|
void |
set(java.util.List<java.lang.String> servers,
InvocationConfig invocationConfig)
Set NTP servers.
|
java.util.List<NtpTypes.TestRunStatus> |
test(java.util.List<java.lang.String> servers)
Test the connection to a list of ntp servers.
|
void |
test(java.util.List<java.lang.String> servers,
AsyncCallback<java.util.List<NtpTypes.TestRunStatus>> asyncCallback)
Test the connection to a list of ntp servers.
|
void |
test(java.util.List<java.lang.String> servers,
AsyncCallback<java.util.List<NtpTypes.TestRunStatus>> asyncCallback,
InvocationConfig invocationConfig)
Test the connection to a list of ntp servers.
|
java.util.List<NtpTypes.TestRunStatus> |
test(java.util.List<java.lang.String> servers,
InvocationConfig invocationConfig)
Test the connection to a list of ntp servers.
|
public NtpStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NtpStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<NtpTypes.TestRunStatus> test(java.util.List<java.lang.String> servers)
Ntp
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<NtpTypes.TestRunStatus> test(java.util.List<java.lang.String> servers, InvocationConfig invocationConfig)
Ntp
Synchronous 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(java.util.List<java.lang.String> servers, AsyncCallback<java.util.List<NtpTypes.TestRunStatus>> asyncCallback)
Ntp
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of test run statuses.
Operation Errors:
Error
- Generic error
public void test(java.util.List<java.lang.String> servers, AsyncCallback<java.util.List<NtpTypes.TestRunStatus>> asyncCallback, InvocationConfig invocationConfig)
Ntp
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:
List of test run statuses.
Operation Errors:
Error
- Generic error
public void set(java.util.List<java.lang.String> servers)
Ntp
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(java.util.List<java.lang.String> servers, InvocationConfig invocationConfig)
Ntp
Synchronous 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 set(java.util.List<java.lang.String> servers, AsyncCallback<java.lang.Void> asyncCallback)
Ntp
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void set(java.util.List<java.lang.String> servers, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Ntp
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
public java.util.List<java.lang.String> get()
Ntp
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<java.lang.String> get(InvocationConfig invocationConfig)
Ntp
Synchronous 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<java.util.List<java.lang.String>> asyncCallback)
Ntp
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of NTP servers.
Operation Errors:
Error
- Generic error
public void get(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Ntp
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:
List of NTP servers.
Operation Errors:
Error
- Generic error