public class DefaultUserTransport extends AbstractKaaTransport implements UserTransport
channelManager, clientState
Constructor and Description |
---|
DefaultUserTransport() |
Modifier and Type | Method and Description |
---|---|
org.kaaproject.kaa.common.endpoint.gen.UserSyncRequest |
createUserRequest()
Creates new User update request.
|
protected org.kaaproject.kaa.common.TransportType |
getTransportType() |
void |
onUserResponse(org.kaaproject.kaa.common.endpoint.gen.UserSyncResponse response)
Updates the state of the Endpoint manager according to the given response.
|
void |
setEndpointRegistrationProcessor(EndpointRegistrationProcessor manager)
Sets the given Endpoint 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 org.kaaproject.kaa.common.endpoint.gen.UserSyncRequest createUserRequest()
UserTransport
createUserRequest
in interface UserTransport
UserSyncRequest
public void onUserResponse(org.kaaproject.kaa.common.endpoint.gen.UserSyncResponse response) throws IOException
UserTransport
onUserResponse
in interface UserTransport
response
- the response from the server.IOException
UserSyncResponse
public void setEndpointRegistrationProcessor(EndpointRegistrationProcessor manager)
UserTransport
setEndpointRegistrationProcessor
in interface UserTransport
manager
- the Endpoint processor to be set.EndpointRegistrationProcessor
protected org.kaaproject.kaa.common.TransportType getTransportType()
getTransportType
in class AbstractKaaTransport
Copyright © 2015. All rights reserved.