NtpTypes.LocalizableMessage, NtpTypes.ServerStatus, NtpTypes.TestRunStatus
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
NtpStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
NtpStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
get()
Get the NTP configuration status.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Get the NTP configuration status.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the NTP configuration status.
|
java.util.List<java.lang.String> |
get(com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set NTP servers.
|
void |
set(java.util.List<java.lang.String> servers,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set NTP servers.
|
void |
set(java.util.List<java.lang.String> servers,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.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,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<NtpTypes.TestRunStatus>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Test the connection to a list of ntp servers.
|
java.util.List<NtpTypes.TestRunStatus> |
test(java.util.List<java.lang.String> servers,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Test the connection to a list of ntp servers.
|
public NtpStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public NtpStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.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, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<NtpTypes.TestRunStatus>> asyncCallback, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.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, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.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(com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<java.lang.String>> asyncCallback, com.vmware.vapi.bindings.client.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