EventTransport Protocol Reference

Conforms to KaaTransport
Declared in EventTransport.h

Overview

KaaTransport for the Event service. Updates the Event manager state.

– createEventRequestWithId: required method

Creates the Event request.

- (EventSyncRequest *)createEventRequestWithId:(int32_t)requestId

Parameters

requestId

New request id of the SyncRequest.

Return Value

New Event request.

Discussion

Creates the Event request.

Declared In

EventTransport.h

– onEventResponse: required method

Updates the state of the Event manager according to the given response.

- (void)onEventResponse:(EventSyncResponse *)response

Parameters

response

The response from the server.

Discussion

Updates the state of the Event manager according to the given response.

Declared In

EventTransport.h

– onSyncResposeIdReceived: required method

Notifies event transport about response from server for specific request.

- (void)onSyncResposeIdReceived:(int32_t)requestId

Parameters

requestId

Request id of the corresponding SyncRequest

Discussion

Notifies event transport about response from server for specific request.

Declared In

EventTransport.h

– setEventManager: required method

Sets the given Event manager.

- (void)setEventManager:(id<EventManager>)manager

Parameters

manager

The Event manager which is going to be set.

Discussion

Sets the given Event manager.

See Also

Declared In

EventTransport.h