public class DefaultConfigurationTransport extends AbstractKaaTransport implements ConfigurationTransport
ConfigurationTransport
.channelManager, clientState
Constructor and Description |
---|
DefaultConfigurationTransport() |
Modifier and Type | Method and Description |
---|---|
org.kaaproject.kaa.common.endpoint.gen.ConfigurationSyncRequest |
createConfigurationRequest()
Creates the configuration request.
|
protected org.kaaproject.kaa.common.TransportType |
getTransportType() |
void |
onConfigurationResponse(org.kaaproject.kaa.common.endpoint.gen.ConfigurationSyncResponse response)
Updates the state of the Configuration manager according to the given response.
|
void |
setConfigurationHashContainer(ConfigurationHashContainer container)
Sets the configuration hash container.
|
void |
setConfigurationProcessor(ConfigurationProcessor processor)
Sets the configuration processor.
|
void |
setSchemaProcessor(SchemaProcessor processor)
Sets the schema processor.
|
setChannelManager, setClientState, sync, syncAck, syncAck, syncAckByType, syncAll, syncByType, syncByType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setChannelManager, setClientState, sync
public void setConfigurationHashContainer(ConfigurationHashContainer container)
ConfigurationTransport
setConfigurationHashContainer
in interface ConfigurationTransport
container
- the container to be set.ConfigurationHashContainer
public void setConfigurationProcessor(ConfigurationProcessor processor)
ConfigurationTransport
setConfigurationProcessor
in interface ConfigurationTransport
processor
- the processor to be set.ConfigurationProcessor
public void setSchemaProcessor(SchemaProcessor processor)
ConfigurationTransport
setSchemaProcessor
in interface ConfigurationTransport
processor
- the processor which is going to be set.SchemaProcessor
public org.kaaproject.kaa.common.endpoint.gen.ConfigurationSyncRequest createConfigurationRequest()
ConfigurationTransport
createConfigurationRequest
in interface ConfigurationTransport
ConfigurationSyncRequest
public void onConfigurationResponse(org.kaaproject.kaa.common.endpoint.gen.ConfigurationSyncResponse response) throws IOException
ConfigurationTransport
onConfigurationResponse
in interface ConfigurationTransport
response
- the configuration response.IOException
ConfigurationSyncResponse
protected org.kaaproject.kaa.common.TransportType getTransportType()
getTransportType
in class AbstractKaaTransport
Copyright © 2015. All rights reserved.