public static class CocoClient.Configurator
extends java.lang.Object
| Constructor and Description |
|---|
Configurator()
Empty Constructor.
|
public CocoClient.Configurator clearNetworkForStates(Network.State... states)
states - States at which Network should be cleared from memory.public CocoClient.Configurator withCreator(Creator creator)
creator.creator - Implementation of Creator.DefaultCreatorpublic CocoClient.Configurator withLogger(Log.Logger logger)
Log.Logger.logger - implementation of logger.public CocoClient.Configurator withPlatform(PlatformInterface platform)
PlatformInterface.platform - implementation of PlatformInterfacepublic CocoClient.Configurator withTimers(CocoClient.ConnectivityTimers timers)
CocoClient.ConnectivityTimers.timers - implementation of CocoClient.ConnectivityTimers.public CocoClient.Configurator withDefaultCommandTimeout(long timeout)
Device.AddResource,
Network.AssignToTemplate.timeout - timeout in milliseconds.public CocoClient.Configurator addCallbackListener(CallbacksInterface listener)
CallbacksInterface.listener - Implementation of CallbacksInterface.public CocoClient.Configurator removeCallbackListener(CallbacksInterface listener)
CallbacksInterface.listener - Implementation of CallbacksInterface.DefaultCallbacksHandlerpublic CocoClient configure()