![]() |
00001 00002 // Copyright © 2013 Cathexis Innovations Inc. All rights reserved. 00003 00004 #import <Foundation/Foundation.h> 00005 #import "IDBlueResponse.h" 00006 00007 @class GetPropertyCommand; 00008 @class SetPropertyCommand; 00009 @class IDBlueCommand; 00010 @protocol IResponseHandler; 00011 00018 @interface IDBlueProperty : IDBlueResponse { 00019 @private 00020 // The property identifier of the current IDBlueProperty 00021 PropertyIdentifier _property; 00022 } 00023 00030 -(id) initWithPropertyId: (PropertyIdentifier) property; 00031 00035 -(PropertyIdentifier) property; 00036 00043 -(SetPropertyCommand*) buildSetRequest: (void*) args; 00044 00049 -(GetPropertyCommand*) buildGetRequest; 00050 00058 -(BOOL) notifySynchronousGetResponse:(IDBlueCommand*) command 00059 withResponse:(IDBlueResponse*) response 00060 withHandler:(id<IResponseHandler>) handler; 00061 00069 -(BOOL) notifySynchronousSetResponse:(IDBlueCommand*) command 00070 withResponse:(IDBlueResponse*) response 00071 withHandler:(id<IResponseHandler>) handler; 00072 00073 @end