public interface EventTransport extends KaaTransport
KaaTransport
for the Event service.
Updates the Event manager state.Modifier and Type | Method and Description |
---|---|
void |
blockEventManager() |
org.kaaproject.kaa.common.endpoint.gen.EventSyncRequest |
createEventRequest(Integer requestId)
Creates the Event request.
|
void |
onEventResponse(org.kaaproject.kaa.common.endpoint.gen.EventSyncResponse response)
Updates the state of the Event manager according to the given response.
|
void |
onSyncResposeIdReceived(Integer requestId)
Notifies event transport about response from server for specific request.
|
void |
releaseEventManager() |
void |
setEventManager(EventManager manager)
Sets the given Event manager.
|
setChannelManager, setClientState, sync
org.kaaproject.kaa.common.endpoint.gen.EventSyncRequest createEventRequest(Integer requestId)
requestId
- new request id of the SyncRequest.EventSyncRequest
void onEventResponse(org.kaaproject.kaa.common.endpoint.gen.EventSyncResponse response)
response
- the response from the server.EventSyncResponse
void onSyncResposeIdReceived(Integer requestId)
requestId
- request id of the corresponding SyncRequestvoid setEventManager(EventManager manager)
manager
- the Event manager which is going to be set.EventManager
void blockEventManager()
void releaseEventManager()
Copyright © 2016. All rights reserved.