public class TimesyncStub extends com.vmware.vapi.internal.bindings.Stub implements Timesync
Timesync
API service.
WARNING: Internal API, subject to change in future versions.
TimesyncTypes.TimeSyncConfig, TimesyncTypes.TimeSyncMode
Constructor and Description |
---|
TimesyncStub(ApiProvider apiProvider,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
TimesyncTypes.TimeSyncConfig |
get()
Get time synchronization configuration.
|
void |
get(AsyncCallback<TimesyncTypes.TimeSyncConfig> asyncCallback)
Get time synchronization configuration.
|
void |
get(AsyncCallback<TimesyncTypes.TimeSyncConfig> asyncCallback,
InvocationConfig invocationConfig)
Get time synchronization configuration.
|
TimesyncTypes.TimeSyncConfig |
get(InvocationConfig invocationConfig)
Get time synchronization configuration.
|
void |
set(TimesyncTypes.TimeSyncConfig config)
Set time synchronization configuration.
|
void |
set(TimesyncTypes.TimeSyncConfig config,
AsyncCallback<Void> asyncCallback)
Set time synchronization configuration.
|
void |
set(TimesyncTypes.TimeSyncConfig config,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Set time synchronization configuration.
|
void |
set(TimesyncTypes.TimeSyncConfig config,
InvocationConfig invocationConfig)
Set time synchronization configuration.
|
public TimesyncStub(ApiProvider apiProvider, StubConfigurationBase config)
public void set(TimesyncTypes.TimeSyncConfig config)
Timesync
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(TimesyncTypes.TimeSyncConfig config, 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.TimeSyncConfig config, AsyncCallback<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.TimeSyncConfig config, AsyncCallback<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.TimeSyncConfig get()
Timesync
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TimesyncTypes.TimeSyncConfig 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.TimeSyncConfig> asyncCallback)
Timesync
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Time synchronization configuration.
Operation Errors:
Error
- Generic error
public void get(AsyncCallback<TimesyncTypes.TimeSyncConfig> 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 Result:
Time synchronization configuration.
Operation Errors:
Error
- Generic error
Copyright © 2016. All Rights Reserved.