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(ApiProvider apiProvider,
StubConfigurationBase config) |
TimesyncStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
TimesyncTypes.TimeSyncMode |
get()
Get time synchronization mode.
|
void |
get(AsyncCallback<TimesyncTypes.TimeSyncMode> asyncCallback)
Get time synchronization mode.
|
void |
get(AsyncCallback<TimesyncTypes.TimeSyncMode> asyncCallback,
InvocationConfig invocationConfig)
Get time synchronization mode.
|
TimesyncTypes.TimeSyncMode |
get(InvocationConfig invocationConfig)
Get time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
AsyncCallback<java.lang.Void> asyncCallback)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set time synchronization mode.
|
void |
set(TimesyncTypes.TimeSyncMode mode,
InvocationConfig invocationConfig)
Set time synchronization mode.
|
public TimesyncStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TimesyncStub(ApiProvider apiProvider, 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, 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, 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, AsyncCallback<java.lang.Void> asyncCallback, 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(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(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(AsyncCallback<TimesyncTypes.TimeSyncMode> asyncCallback, 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