IDBLUE logo
PacketQueue.h
00001 
00002 // Copyright © 2013 Cathexis Innovations Inc. All rights reserved.
00003 
00004 #import <Foundation/Foundation.h>
00005 #import "ByteQueue.h"
00006 #import "IDBluePacket.h"
00007 #import "ResponseFactory.h"
00008 
00013 @interface PacketQueue : ByteQueue {
00014 @private
00015     ResponseFactory* _responseFactory;
00016 }
00017 
00021 -(ResponseFactory*) responseFactory;
00022 
00026 -(void) setResponseFactory: (ResponseFactory*) factory;
00027 
00033 -(IDBluePacket*) popNextPacket;
00034 
00041 -(IDBluePacket*) peekPacket: (int) index;
00042 
00049 -(int) recover;
00050 
00056 -(BOOL) isValidPacket: (IDBluePacket*) packet;
00057 @end

 

Generated on Mon Jan 19 2015 15:47:37
Copyright © 2015 Cathexis Innovations Inc. All Rights Reserved.