public class TimesyncStub extends com.vmware.vapi.internal.bindings.Stub implements Timesync
Timesync
API service.
WARNING: Internal class, subject to change in future versions.
TimesyncTypes.TimeSyncMode
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TimesyncStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
TimesyncStub(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 |
---|---|
TimesyncTypes.TimeSyncMode |
get()
Get time synchronization mode.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<TimesyncTypes.TimeSyncMode> asyncCallback)
Get time synchronization mode.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<TimesyncTypes.TimeSyncMode> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get time synchronization mode.
|
TimesyncTypes.TimeSyncMode |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set time synchronization mode.
|
public TimesyncStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public TimesyncStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void set(TimesyncTypes.TimeSyncMode mode)
Timesync
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(TimesyncTypes.TimeSyncMode mode, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Timesync
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(TimesyncTypes.TimeSyncMode mode, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Timesync
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
public void set(TimesyncTypes.TimeSyncMode mode, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Timesync
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 TimesyncTypes.TimeSyncMode get()
Timesync
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TimesyncTypes.TimeSyncMode get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Timesync
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<TimesyncTypes.TimeSyncMode> asyncCallback)
Timesync
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Time synchronization mode.
Operation Errors:
Error
- Generic error
public void get(com.vmware.vapi.bindings.client.AsyncCallback<TimesyncTypes.TimeSyncMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Timesync
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:
Time synchronization mode.
Operation Errors:
Error
- Generic error