KAAMessageFactory Class Reference

Inherits from NSObject
Conforms to MqttFrameDelegate
Declared in KAAMessageFactory.h


MessageFactory Class. Used to transform byte stream to specific protocol messages.

Typical use:

MessageFactory *factory = [[MessageFactory alloc] init];
[factory registerMessageDelegate:delegate];
[[factory framer] pushBytes:bytes];

Where delegate is instance of class which implements one of protocol message delegates and bytes - NSData object received from TCP/IP.