![]() |
00001 00002 // Copyright © 2013 Cathexis Innovations Inc. All rights reserved. 00003 00004 #import <Foundation/Foundation.h> 00005 #import "ResponseHandler.h" 00006 #import "IDBlueResponse.h" 00007 #import "IDBlueCommand.h" 00008 #import "ObjectCollection.h" 00009 00013 @interface ResponseHandlerCollection : ObjectCollection { 00014 } 00015 00020 -(BOOL) addHandler: (id<IResponseHandler>) handler; 00021 00026 -(BOOL) removeHandler: (id<IResponseHandler>) handler; 00027 00032 -(int) removeAllHandlers; 00033 00038 -(BOOL) hasHandler: (id<IResponseHandler>) handler; 00039 00046 -(id<IResponseHandler>) handlerAtIndex: (int) index; 00047 00052 -(void) commandSent: (IDBlueCommand*) command; 00053 00058 -(void) asynchronousResponseReceived: (IDBlueResponse*) response; 00059 00064 -(void) synchronousResponseReceived: (IDBlueCommand*) command; 00065 00066 @end