public interface Timesync extends Service, TimesyncTypes
Timesync
interface provides methods Performs time synchronization
configuration.TimesyncTypes.TimeSyncConfig, TimesyncTypes.TimeSyncMode
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.
|
void set(TimesyncTypes.TimeSyncConfig config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
config
- Time synchronization configuration.Error
- Generic errorvoid set(TimesyncTypes.TimeSyncConfig config, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
config
- Time synchronization configuration.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid set(TimesyncTypes.TimeSyncConfig config, AsyncCallback<Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error
config
- Time synchronization configuration.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(TimesyncTypes.TimeSyncConfig config, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
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
config
- Time synchronization configuration.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TimesyncTypes.TimeSyncConfig get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorTimesyncTypes.TimeSyncConfig get(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid get(AsyncCallback<TimesyncTypes.TimeSyncConfig> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Time synchronization configuration.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<TimesyncTypes.TimeSyncConfig> asyncCallback, InvocationConfig invocationConfig)
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
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Copyright © 2016. All Rights Reserved.