BaseEventFamily Protocol Reference

Declared in BaseEventFamily.h

Overview

Interface for Event Family. Each EventFamily should be accessed through EventFamilyFactory

– getSupportedEventFQNs required method

Returns set of supported incoming events in event family

- (NSSet *)getSupportedEventFQNs

Return Value

Set of supported events presented as set of event fully qualified names

Discussion

Returns set of supported incoming events in event family

Declared In

BaseEventFamily.h

– onGenericEvent:withData:fromSource: required method

Generic handler of event received from server.

- (void)onGenericEvent:(NSString *)eventFQN withData:(NSData *)data fromSource:(NSString *)source

Parameters

eventFQN

Fully qualified name of an event

data

Event data

source

Event source

Discussion

Generic handler of event received from server.

Declared In

BaseEventFamily.h