IDBLUE logo
IDBlueCommand.h
00001 
00002 // Copyright © 2013 Cathexis Innovations Inc. All rights reserved.
00003 
00004 
00005 #import <Foundation/Foundation.h>
00006 #import "IDBlueResponse.h"
00007 
00008 @protocol IResponseHandler;
00009 @class PropertyGenerator;
00010 
00020 @interface IDBlueCommand : IDBluePacket {
00021 @private
00022         // The object that will get notified of a response
00023         id<IResponseHandler> _handler;
00024         
00025         // The response received for the current IDBlueCommand
00026         IDBlueResponse* _response;
00027 }
00028 
00035 -(BOOL) isValidResponse: (IDBlueResponse*) response;
00036 
00040 -(CommandIdentifier) command;
00041 
00045 -(id<IResponseHandler>) handler;
00046 
00053 -(void) sethandler: (id<IResponseHandler>) handler;
00054 
00058 -(IDBlueResponse*) response;
00059 
00064 -(void) setResponse: (IDBlueResponse*) response;
00065 
00069 -(BOOL) notifySynchronousResponse: (id<IResponseHandler>) handler 
00070             withPropertyGenerator: (PropertyGenerator*) generator;
00071 
00072 @end

 

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