Browse files

updated API to rev.410 of openzwave's main trunk

  • Loading branch information...
1 parent bde506c commit bede65bcde945c25ae9bc534cd5adca8becc31a7 Elias Karakoulakis committed Feb 6, 2012
View
7 Main.cpp
@@ -405,7 +405,7 @@ int main(int argc, char *argv[]) {
// Add a Z-Wave Driver
Manager::Get()->AddDriver( ozw_port );
//Manager::Get()->AddDriver( "HID Controller", Driver::ControllerInterface_Hid );
-
+
// THRIFT: initialize RemoteManager
shared_ptr<RemoteManagerHandler> handler(new RemoteManagerHandler());
shared_ptr<TProcessor> processor(new RemoteManagerProcessor(handler));
@@ -419,7 +419,10 @@ int main(int argc, char *argv[]) {
// Now we just wait for the driver to become ready, and then write out the loaded config.
boost::unique_lock<boost::mutex> initLock(initMutex);
initCond.wait(initLock);
-
+ usleep(500);
+ cout << "------------------------------------------------------------------------" << endl;
+ cout << "OpenZWave is initialized, Thrift interface now listening on port " << thrift_port << endl;
+ cout << "------------------------------------------------------------------------" << endl;
// start up the Thrift RemoteManager server
server.serve();
return 0;
View
2 Makefile
@@ -19,7 +19,7 @@ RELEASE_CFLAGS := -Wall -Wno-unknown-pragmas -Wno-format -O3 -DNDEBUG
DEBUG_LDFLAGS := -g
# Change for DEBUG or RELEASE
-CFLAGS := -c $(DEBUG_CFLAGS)
+CFLAGS := -c $(DEBUG_CFLAGS) -DDEBUG_POCOSTOMP
LDFLAGS := $(DEBUG_LDFLAGS)
# change directories if needed
View
8 create_server.rb
@@ -90,6 +90,14 @@ def abspath(path)
a = RootNode.classes("RemoteManagerHandler").methods.find(:access => :public)
b = RootNode.namespaces("OpenZWave").classes("Manager").methods.find(:access => :public)
puts "RemoteManagerHandler: #{a.entries.size} public methods, OpenZWave::Manager: #{b.entries.size} public methods"
+if (a.entries.size != b.entries.size) then
+ a_names = a.collect{ |meth|
+ (md = OverloadedRE.match(meth.name))? md[1] : meth.name
+ }.uniq
+ b_names = b.collect{ |meth| meth.name }.uniq
+ puts " Missing OpenZWave::Manager method mappings from RemoteManagerHandler:"
+ puts "\t" + (b_names - a_names).join("\n\t")
+end
RootNode.classes("RemoteManagerHandler").methods.each { |meth|
# find line number, insert critical section enter code
View
6 gen-cocoa/ozw.h
@@ -517,10 +517,12 @@ enum OpenZWaveDriverControllerCommand {
- (BOOL) RequestNodeState: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
- (BOOL) RequestNodeDynamic: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
- (BOOL) IsNodeListeningDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
+- (BOOL) IsNodeFrequentListeningDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
+- (BOOL) IsNodeBeamingDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
- (BOOL) IsNodeRoutingDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
+- (BOOL) IsNodeSecurityDevice: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
- (int32_t) GetNodeMaxBaudRate: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
- (uint8_t) GetNodeVersion: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
-- (uint8_t) GetNodeSecurity: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
- (uint8_t) GetNodeBasic: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
- (uint8_t) GetNodeGeneric: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
- (uint8_t) GetNodeSpecific: (int32_t) _homeId : (uint8_t) _nodeId; // throws TException
@@ -590,7 +592,7 @@ enum OpenZWaveDriverControllerCommand {
- (void) RemoveAssociation: (int32_t) _homeId : (uint8_t) _nodeId : (uint8_t) _groupIdx : (uint8_t) _targetNodeId; // throws TException
- (void) ResetController: (int32_t) _homeId; // throws TException
- (void) SoftReset: (int32_t) _homeId; // throws TException
-- (BOOL) BeginControllerCommand: (int32_t) _homeId : (int) _command : (BOOL) _highPower : (uint8_t) _nodeId; // throws TException
+- (BOOL) BeginControllerCommand: (int32_t) _homeId : (int) _command : (BOOL) _highPower : (uint8_t) _nodeId : (uint8_t) _arg; // throws TException
- (BOOL) CancelControllerCommand: (int32_t) _homeId; // throws TException
- (uint8_t) GetNumScenes; // throws TException
- (OpenZWaveGetAllScenesReturnStruct *) GetAllScenes; // throws TException
View
999 gen-cocoa/ozw.m
@@ -6873,6 +6873,608 @@ - (NSString *) description {
@end
+@interface OpenZWaveIsNodeFrequentListeningDevice_args : NSObject <NSCoding> {
+ int32_t ___homeId;
+ uint8_t ___nodeId;
+
+ BOOL ___homeId_isset;
+ BOOL ___nodeId_isset;
+}
+
+#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
+@property (nonatomic, getter=_homeId, setter=set_homeId:) int32_t _homeId;
+@property (nonatomic, getter=_nodeId, setter=set_nodeId:) uint8_t _nodeId;
+#endif
+
+- (id) initWith_homeId: (int32_t) _homeId _nodeId: (uint8_t) _nodeId;
+
+- (void) read: (id <TProtocol>) inProtocol;
+- (void) write: (id <TProtocol>) outProtocol;
+
+- (int32_t) _homeId;
+- (void) set_homeId: (int32_t) _homeId;
+- (BOOL) _homeIdIsSet;
+
+- (uint8_t) _nodeId;
+- (void) set_nodeId: (uint8_t) _nodeId;
+- (BOOL) _nodeIdIsSet;
+
+@end
+
+@implementation OpenZWaveIsNodeFrequentListeningDevice_args
+
+- (id) initWith_homeId: (int32_t) _homeId _nodeId: (uint8_t) _nodeId
+{
+ self = [super init];
+ ___homeId = _homeId;
+ ___homeId_isset = YES;
+ ___nodeId = _nodeId;
+ ___nodeId_isset = YES;
+ return self;
+}
+
+- (id) initWithCoder: (NSCoder *) decoder
+{
+ self = [super init];
+ if ([decoder containsValueForKey: @"_homeId"])
+ {
+ ___homeId = [decoder decodeInt32ForKey: @"_homeId"];
+ ___homeId_isset = YES;
+ }
+ if ([decoder containsValueForKey: @"_nodeId"])
+ {
+ ___nodeId = [decoder decodeIntForKey: @"_nodeId"];
+ ___nodeId_isset = YES;
+ }
+ return self;
+}
+
+- (void) encodeWithCoder: (NSCoder *) encoder
+{
+ if (___homeId_isset)
+ {
+ [encoder encodeInt32: ___homeId forKey: @"_homeId"];
+ }
+ if (___nodeId_isset)
+ {
+ [encoder encodeInt: ___nodeId forKey: @"_nodeId"];
+ }
+}
+
+- (void) dealloc
+{
+ [super dealloc];
+}
+
+- (int32_t) _homeId {
+ return ___homeId;
+}
+
+- (void) set_homeId: (int32_t) _homeId {
+ ___homeId = _homeId;
+ ___homeId_isset = YES;
+}
+
+- (BOOL) _homeIdIsSet {
+ return ___homeId_isset;
+}
+
+- (void) unset_homeId {
+ ___homeId_isset = NO;
+}
+
+- (uint8_t) _nodeId {
+ return ___nodeId;
+}
+
+- (void) set_nodeId: (uint8_t) _nodeId {
+ ___nodeId = _nodeId;
+ ___nodeId_isset = YES;
+}
+
+- (BOOL) _nodeIdIsSet {
+ return ___nodeId_isset;
+}
+
+- (void) unset_nodeId {
+ ___nodeId_isset = NO;
+}
+
+- (void) read: (id <TProtocol>) inProtocol
+{
+ NSString * fieldName;
+ int fieldType;
+ int fieldID;
+
+ [inProtocol readStructBeginReturningName: NULL];
+ while (true)
+ {
+ [inProtocol readFieldBeginReturningName: &fieldName type: &fieldType fieldID: &fieldID];
+ if (fieldType == TType_STOP) {
+ break;
+ }
+ switch (fieldID)
+ {
+ case 1:
+ if (fieldType == TType_I32) {
+ int32_t fieldValue = [inProtocol readI32];
+ [self set_homeId: fieldValue];
+ } else {
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ }
+ break;
+ case 2:
+ if (fieldType == TType_BYTE) {
+ uint8_t fieldValue = [inProtocol readByte];
+ [self set_nodeId: fieldValue];
+ } else {
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ }
+ break;
+ default:
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ break;
+ }
+ [inProtocol readFieldEnd];
+ }
+ [inProtocol readStructEnd];
+}
+
+- (void) write: (id <TProtocol>) outProtocol {
+ [outProtocol writeStructBeginWithName: @"IsNodeFrequentListeningDevice_args"];
+ if (___homeId_isset) {
+ [outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
+ [outProtocol writeI32: ___homeId];
+ [outProtocol writeFieldEnd];
+ }
+ if (___nodeId_isset) {
+ [outProtocol writeFieldBeginWithName: @"_nodeId" type: TType_BYTE fieldID: 2];
+ [outProtocol writeByte: ___nodeId];
+ [outProtocol writeFieldEnd];
+ }
+ [outProtocol writeFieldStop];
+ [outProtocol writeStructEnd];
+}
+
+- (NSString *) description {
+ NSMutableString * ms = [NSMutableString stringWithString: @"IsNodeFrequentListeningDevice_args("];
+ [ms appendString: @"_homeId:"];
+ [ms appendFormat: @"%i", ___homeId];
+ [ms appendString: @",_nodeId:"];
+ [ms appendFormat: @"%i", ___nodeId];
+ [ms appendString: @")"];
+ return [NSString stringWithString: ms];
+}
+
+@end
+
+@interface OpenZWaveIsNodeFrequentListeningDevice_result : NSObject <NSCoding> {
+ BOOL __success;
+
+ BOOL __success_isset;
+}
+
+#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
+@property (nonatomic, getter=success, setter=setSuccess:) BOOL success;
+#endif
+
+- (id) initWithSuccess: (BOOL) success;
+
+- (void) read: (id <TProtocol>) inProtocol;
+- (void) write: (id <TProtocol>) outProtocol;
+
+- (BOOL) success;
+- (void) setSuccess: (BOOL) success;
+- (BOOL) successIsSet;
+
+@end
+
+@implementation OpenZWaveIsNodeFrequentListeningDevice_result
+
+- (id) initWithSuccess: (BOOL) success
+{
+ self = [super init];
+ __success = success;
+ __success_isset = YES;
+ return self;
+}
+
+- (id) initWithCoder: (NSCoder *) decoder
+{
+ self = [super init];
+ if ([decoder containsValueForKey: @"success"])
+ {
+ __success = [decoder decodeBoolForKey: @"success"];
+ __success_isset = YES;
+ }
+ return self;
+}
+
+- (void) encodeWithCoder: (NSCoder *) encoder
+{
+ if (__success_isset)
+ {
+ [encoder encodeBool: __success forKey: @"success"];
+ }
+}
+
+- (void) dealloc
+{
+ [super dealloc];
+}
+
+- (BOOL) success {
+ return __success;
+}
+
+- (void) setSuccess: (BOOL) success {
+ __success = success;
+ __success_isset = YES;
+}
+
+- (BOOL) successIsSet {
+ return __success_isset;
+}
+
+- (void) unsetSuccess {
+ __success_isset = NO;
+}
+
+- (void) read: (id <TProtocol>) inProtocol
+{
+ NSString * fieldName;
+ int fieldType;
+ int fieldID;
+
+ [inProtocol readStructBeginReturningName: NULL];
+ while (true)
+ {
+ [inProtocol readFieldBeginReturningName: &fieldName type: &fieldType fieldID: &fieldID];
+ if (fieldType == TType_STOP) {
+ break;
+ }
+ switch (fieldID)
+ {
+ case 0:
+ if (fieldType == TType_BOOL) {
+ BOOL fieldValue = [inProtocol readBool];
+ [self setSuccess: fieldValue];
+ } else {
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ }
+ break;
+ default:
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ break;
+ }
+ [inProtocol readFieldEnd];
+ }
+ [inProtocol readStructEnd];
+}
+
+- (void) write: (id <TProtocol>) outProtocol {
+ [outProtocol writeStructBeginWithName: @"IsNodeFrequentListeningDevice_result"];
+
+ if (__success_isset) {
+ [outProtocol writeFieldBeginWithName: @"success" type: TType_BOOL fieldID: 0];
+ [outProtocol writeBool: __success];
+ [outProtocol writeFieldEnd];
+ }
+ [outProtocol writeFieldStop];
+ [outProtocol writeStructEnd];
+}
+
+- (NSString *) description {
+ NSMutableString * ms = [NSMutableString stringWithString: @"IsNodeFrequentListeningDevice_result("];
+ [ms appendString: @"success:"];
+ [ms appendFormat: @"%i", __success];
+ [ms appendString: @")"];
+ return [NSString stringWithString: ms];
+}
+
+@end
+
+@interface OpenZWaveIsNodeBeamingDevice_args : NSObject <NSCoding> {
+ int32_t ___homeId;
+ uint8_t ___nodeId;
+
+ BOOL ___homeId_isset;
+ BOOL ___nodeId_isset;
+}
+
+#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
+@property (nonatomic, getter=_homeId, setter=set_homeId:) int32_t _homeId;
+@property (nonatomic, getter=_nodeId, setter=set_nodeId:) uint8_t _nodeId;
+#endif
+
+- (id) initWith_homeId: (int32_t) _homeId _nodeId: (uint8_t) _nodeId;
+
+- (void) read: (id <TProtocol>) inProtocol;
+- (void) write: (id <TProtocol>) outProtocol;
+
+- (int32_t) _homeId;
+- (void) set_homeId: (int32_t) _homeId;
+- (BOOL) _homeIdIsSet;
+
+- (uint8_t) _nodeId;
+- (void) set_nodeId: (uint8_t) _nodeId;
+- (BOOL) _nodeIdIsSet;
+
+@end
+
+@implementation OpenZWaveIsNodeBeamingDevice_args
+
+- (id) initWith_homeId: (int32_t) _homeId _nodeId: (uint8_t) _nodeId
+{
+ self = [super init];
+ ___homeId = _homeId;
+ ___homeId_isset = YES;
+ ___nodeId = _nodeId;
+ ___nodeId_isset = YES;
+ return self;
+}
+
+- (id) initWithCoder: (NSCoder *) decoder
+{
+ self = [super init];
+ if ([decoder containsValueForKey: @"_homeId"])
+ {
+ ___homeId = [decoder decodeInt32ForKey: @"_homeId"];
+ ___homeId_isset = YES;
+ }
+ if ([decoder containsValueForKey: @"_nodeId"])
+ {
+ ___nodeId = [decoder decodeIntForKey: @"_nodeId"];
+ ___nodeId_isset = YES;
+ }
+ return self;
+}
+
+- (void) encodeWithCoder: (NSCoder *) encoder
+{
+ if (___homeId_isset)
+ {
+ [encoder encodeInt32: ___homeId forKey: @"_homeId"];
+ }
+ if (___nodeId_isset)
+ {
+ [encoder encodeInt: ___nodeId forKey: @"_nodeId"];
+ }
+}
+
+- (void) dealloc
+{
+ [super dealloc];
+}
+
+- (int32_t) _homeId {
+ return ___homeId;
+}
+
+- (void) set_homeId: (int32_t) _homeId {
+ ___homeId = _homeId;
+ ___homeId_isset = YES;
+}
+
+- (BOOL) _homeIdIsSet {
+ return ___homeId_isset;
+}
+
+- (void) unset_homeId {
+ ___homeId_isset = NO;
+}
+
+- (uint8_t) _nodeId {
+ return ___nodeId;
+}
+
+- (void) set_nodeId: (uint8_t) _nodeId {
+ ___nodeId = _nodeId;
+ ___nodeId_isset = YES;
+}
+
+- (BOOL) _nodeIdIsSet {
+ return ___nodeId_isset;
+}
+
+- (void) unset_nodeId {
+ ___nodeId_isset = NO;
+}
+
+- (void) read: (id <TProtocol>) inProtocol
+{
+ NSString * fieldName;
+ int fieldType;
+ int fieldID;
+
+ [inProtocol readStructBeginReturningName: NULL];
+ while (true)
+ {
+ [inProtocol readFieldBeginReturningName: &fieldName type: &fieldType fieldID: &fieldID];
+ if (fieldType == TType_STOP) {
+ break;
+ }
+ switch (fieldID)
+ {
+ case 1:
+ if (fieldType == TType_I32) {
+ int32_t fieldValue = [inProtocol readI32];
+ [self set_homeId: fieldValue];
+ } else {
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ }
+ break;
+ case 2:
+ if (fieldType == TType_BYTE) {
+ uint8_t fieldValue = [inProtocol readByte];
+ [self set_nodeId: fieldValue];
+ } else {
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ }
+ break;
+ default:
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ break;
+ }
+ [inProtocol readFieldEnd];
+ }
+ [inProtocol readStructEnd];
+}
+
+- (void) write: (id <TProtocol>) outProtocol {
+ [outProtocol writeStructBeginWithName: @"IsNodeBeamingDevice_args"];
+ if (___homeId_isset) {
+ [outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
+ [outProtocol writeI32: ___homeId];
+ [outProtocol writeFieldEnd];
+ }
+ if (___nodeId_isset) {
+ [outProtocol writeFieldBeginWithName: @"_nodeId" type: TType_BYTE fieldID: 2];
+ [outProtocol writeByte: ___nodeId];
+ [outProtocol writeFieldEnd];
+ }
+ [outProtocol writeFieldStop];
+ [outProtocol writeStructEnd];
+}
+
+- (NSString *) description {
+ NSMutableString * ms = [NSMutableString stringWithString: @"IsNodeBeamingDevice_args("];
+ [ms appendString: @"_homeId:"];
+ [ms appendFormat: @"%i", ___homeId];
+ [ms appendString: @",_nodeId:"];
+ [ms appendFormat: @"%i", ___nodeId];
+ [ms appendString: @")"];
+ return [NSString stringWithString: ms];
+}
+
+@end
+
+@interface OpenZWaveIsNodeBeamingDevice_result : NSObject <NSCoding> {
+ BOOL __success;
+
+ BOOL __success_isset;
+}
+
+#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
+@property (nonatomic, getter=success, setter=setSuccess:) BOOL success;
+#endif
+
+- (id) initWithSuccess: (BOOL) success;
+
+- (void) read: (id <TProtocol>) inProtocol;
+- (void) write: (id <TProtocol>) outProtocol;
+
+- (BOOL) success;
+- (void) setSuccess: (BOOL) success;
+- (BOOL) successIsSet;
+
+@end
+
+@implementation OpenZWaveIsNodeBeamingDevice_result
+
+- (id) initWithSuccess: (BOOL) success
+{
+ self = [super init];
+ __success = success;
+ __success_isset = YES;
+ return self;
+}
+
+- (id) initWithCoder: (NSCoder *) decoder
+{
+ self = [super init];
+ if ([decoder containsValueForKey: @"success"])
+ {
+ __success = [decoder decodeBoolForKey: @"success"];
+ __success_isset = YES;
+ }
+ return self;
+}
+
+- (void) encodeWithCoder: (NSCoder *) encoder
+{
+ if (__success_isset)
+ {
+ [encoder encodeBool: __success forKey: @"success"];
+ }
+}
+
+- (void) dealloc
+{
+ [super dealloc];
+}
+
+- (BOOL) success {
+ return __success;
+}
+
+- (void) setSuccess: (BOOL) success {
+ __success = success;
+ __success_isset = YES;
+}
+
+- (BOOL) successIsSet {
+ return __success_isset;
+}
+
+- (void) unsetSuccess {
+ __success_isset = NO;
+}
+
+- (void) read: (id <TProtocol>) inProtocol
+{
+ NSString * fieldName;
+ int fieldType;
+ int fieldID;
+
+ [inProtocol readStructBeginReturningName: NULL];
+ while (true)
+ {
+ [inProtocol readFieldBeginReturningName: &fieldName type: &fieldType fieldID: &fieldID];
+ if (fieldType == TType_STOP) {
+ break;
+ }
+ switch (fieldID)
+ {
+ case 0:
+ if (fieldType == TType_BOOL) {
+ BOOL fieldValue = [inProtocol readBool];
+ [self setSuccess: fieldValue];
+ } else {
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ }
+ break;
+ default:
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ break;
+ }
+ [inProtocol readFieldEnd];
+ }
+ [inProtocol readStructEnd];
+}
+
+- (void) write: (id <TProtocol>) outProtocol {
+ [outProtocol writeStructBeginWithName: @"IsNodeBeamingDevice_result"];
+
+ if (__success_isset) {
+ [outProtocol writeFieldBeginWithName: @"success" type: TType_BOOL fieldID: 0];
+ [outProtocol writeBool: __success];
+ [outProtocol writeFieldEnd];
+ }
+ [outProtocol writeFieldStop];
+ [outProtocol writeStructEnd];
+}
+
+- (NSString *) description {
+ NSMutableString * ms = [NSMutableString stringWithString: @"IsNodeBeamingDevice_result("];
+ [ms appendString: @"success:"];
+ [ms appendFormat: @"%i", __success];
+ [ms appendString: @")"];
+ return [NSString stringWithString: ms];
+}
+
+@end
+
@interface OpenZWaveIsNodeRoutingDevice_args : NSObject <NSCoding> {
int32_t ___homeId;
uint8_t ___nodeId;
@@ -7174,7 +7776,7 @@ - (NSString *) description {
@end
-@interface OpenZWaveGetNodeMaxBaudRate_args : NSObject <NSCoding> {
+@interface OpenZWaveIsNodeSecurityDevice_args : NSObject <NSCoding> {
int32_t ___homeId;
uint8_t ___nodeId;
@@ -7202,7 +7804,7 @@ - (BOOL) _nodeIdIsSet;
@end
-@implementation OpenZWaveGetNodeMaxBaudRate_args
+@implementation OpenZWaveIsNodeSecurityDevice_args
- (id) initWith_homeId: (int32_t) _homeId _nodeId: (uint8_t) _nodeId
{
@@ -7322,7 +7924,7 @@ - (void) read: (id <TProtocol>) inProtocol
}
- (void) write: (id <TProtocol>) outProtocol {
- [outProtocol writeStructBeginWithName: @"GetNodeMaxBaudRate_args"];
+ [outProtocol writeStructBeginWithName: @"IsNodeSecurityDevice_args"];
if (___homeId_isset) {
[outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
[outProtocol writeI32: ___homeId];
@@ -7338,7 +7940,7 @@ - (void) write: (id <TProtocol>) outProtocol {
}
- (NSString *) description {
- NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeMaxBaudRate_args("];
+ NSMutableString * ms = [NSMutableString stringWithString: @"IsNodeSecurityDevice_args("];
[ms appendString: @"_homeId:"];
[ms appendFormat: @"%i", ___homeId];
[ms appendString: @",_nodeId:"];
@@ -7349,30 +7951,30 @@ - (NSString *) description {
@end
-@interface OpenZWaveGetNodeMaxBaudRate_result : NSObject <NSCoding> {
- int32_t __success;
+@interface OpenZWaveIsNodeSecurityDevice_result : NSObject <NSCoding> {
+ BOOL __success;
BOOL __success_isset;
}
#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=success, setter=setSuccess:) int32_t success;
+@property (nonatomic, getter=success, setter=setSuccess:) BOOL success;
#endif
-- (id) initWithSuccess: (int32_t) success;
+- (id) initWithSuccess: (BOOL) success;
- (void) read: (id <TProtocol>) inProtocol;
- (void) write: (id <TProtocol>) outProtocol;
-- (int32_t) success;
-- (void) setSuccess: (int32_t) success;
+- (BOOL) success;
+- (void) setSuccess: (BOOL) success;
- (BOOL) successIsSet;
@end
-@implementation OpenZWaveGetNodeMaxBaudRate_result
+@implementation OpenZWaveIsNodeSecurityDevice_result
-- (id) initWithSuccess: (int32_t) success
+- (id) initWithSuccess: (BOOL) success
{
self = [super init];
__success = success;
@@ -7385,7 +7987,7 @@ - (id) initWithCoder: (NSCoder *) decoder
self = [super init];
if ([decoder containsValueForKey: @"success"])
{
- __success = [decoder decodeInt32ForKey: @"success"];
+ __success = [decoder decodeBoolForKey: @"success"];
__success_isset = YES;
}
return self;
@@ -7395,7 +7997,7 @@ - (void) encodeWithCoder: (NSCoder *) encoder
{
if (__success_isset)
{
- [encoder encodeInt32: __success forKey: @"success"];
+ [encoder encodeBool: __success forKey: @"success"];
}
}
@@ -7404,11 +8006,11 @@ - (void) dealloc
[super dealloc];
}
-- (int32_t) success {
+- (BOOL) success {
return __success;
}
-- (void) setSuccess: (int32_t) success {
+- (void) setSuccess: (BOOL) success {
__success = success;
__success_isset = YES;
}
@@ -7437,8 +8039,8 @@ - (void) read: (id <TProtocol>) inProtocol
switch (fieldID)
{
case 0:
- if (fieldType == TType_I32) {
- int32_t fieldValue = [inProtocol readI32];
+ if (fieldType == TType_BOOL) {
+ BOOL fieldValue = [inProtocol readBool];
[self setSuccess: fieldValue];
} else {
[TProtocolUtil skipType: fieldType onProtocol: inProtocol];
@@ -7454,19 +8056,19 @@ - (void) read: (id <TProtocol>) inProtocol
}
- (void) write: (id <TProtocol>) outProtocol {
- [outProtocol writeStructBeginWithName: @"GetNodeMaxBaudRate_result"];
+ [outProtocol writeStructBeginWithName: @"IsNodeSecurityDevice_result"];
if (__success_isset) {
- [outProtocol writeFieldBeginWithName: @"success" type: TType_I32 fieldID: 0];
- [outProtocol writeI32: __success];
+ [outProtocol writeFieldBeginWithName: @"success" type: TType_BOOL fieldID: 0];
+ [outProtocol writeBool: __success];
[outProtocol writeFieldEnd];
}
[outProtocol writeFieldStop];
[outProtocol writeStructEnd];
}
- (NSString *) description {
- NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeMaxBaudRate_result("];
+ NSMutableString * ms = [NSMutableString stringWithString: @"IsNodeSecurityDevice_result("];
[ms appendString: @"success:"];
[ms appendFormat: @"%i", __success];
[ms appendString: @")"];
@@ -7475,7 +8077,7 @@ - (NSString *) description {
@end
-@interface OpenZWaveGetNodeVersion_args : NSObject <NSCoding> {
+@interface OpenZWaveGetNodeMaxBaudRate_args : NSObject <NSCoding> {
int32_t ___homeId;
uint8_t ___nodeId;
@@ -7503,7 +8105,7 @@ - (BOOL) _nodeIdIsSet;
@end
-@implementation OpenZWaveGetNodeVersion_args
+@implementation OpenZWaveGetNodeMaxBaudRate_args
- (id) initWith_homeId: (int32_t) _homeId _nodeId: (uint8_t) _nodeId
{
@@ -7623,7 +8225,7 @@ - (void) read: (id <TProtocol>) inProtocol
}
- (void) write: (id <TProtocol>) outProtocol {
- [outProtocol writeStructBeginWithName: @"GetNodeVersion_args"];
+ [outProtocol writeStructBeginWithName: @"GetNodeMaxBaudRate_args"];
if (___homeId_isset) {
[outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
[outProtocol writeI32: ___homeId];
@@ -7639,7 +8241,7 @@ - (void) write: (id <TProtocol>) outProtocol {
}
- (NSString *) description {
- NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeVersion_args("];
+ NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeMaxBaudRate_args("];
[ms appendString: @"_homeId:"];
[ms appendFormat: @"%i", ___homeId];
[ms appendString: @",_nodeId:"];
@@ -7650,30 +8252,30 @@ - (NSString *) description {
@end
-@interface OpenZWaveGetNodeVersion_result : NSObject <NSCoding> {
- uint8_t __success;
+@interface OpenZWaveGetNodeMaxBaudRate_result : NSObject <NSCoding> {
+ int32_t __success;
BOOL __success_isset;
}
#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
-@property (nonatomic, getter=success, setter=setSuccess:) uint8_t success;
+@property (nonatomic, getter=success, setter=setSuccess:) int32_t success;
#endif
-- (id) initWithSuccess: (uint8_t) success;
+- (id) initWithSuccess: (int32_t) success;
- (void) read: (id <TProtocol>) inProtocol;
- (void) write: (id <TProtocol>) outProtocol;
-- (uint8_t) success;
-- (void) setSuccess: (uint8_t) success;
+- (int32_t) success;
+- (void) setSuccess: (int32_t) success;
- (BOOL) successIsSet;
@end
-@implementation OpenZWaveGetNodeVersion_result
+@implementation OpenZWaveGetNodeMaxBaudRate_result
-- (id) initWithSuccess: (uint8_t) success
+- (id) initWithSuccess: (int32_t) success
{
self = [super init];
__success = success;
@@ -7686,7 +8288,7 @@ - (id) initWithCoder: (NSCoder *) decoder
self = [super init];
if ([decoder containsValueForKey: @"success"])
{
- __success = [decoder decodeIntForKey: @"success"];
+ __success = [decoder decodeInt32ForKey: @"success"];
__success_isset = YES;
}
return self;
@@ -7696,7 +8298,7 @@ - (void) encodeWithCoder: (NSCoder *) encoder
{
if (__success_isset)
{
- [encoder encodeInt: __success forKey: @"success"];
+ [encoder encodeInt32: __success forKey: @"success"];
}
}
@@ -7705,11 +8307,11 @@ - (void) dealloc
[super dealloc];
}
-- (uint8_t) success {
+- (int32_t) success {
return __success;
}
-- (void) setSuccess: (uint8_t) success {
+- (void) setSuccess: (int32_t) success {
__success = success;
__success_isset = YES;
}
@@ -7738,8 +8340,8 @@ - (void) read: (id <TProtocol>) inProtocol
switch (fieldID)
{
case 0:
- if (fieldType == TType_BYTE) {
- uint8_t fieldValue = [inProtocol readByte];
+ if (fieldType == TType_I32) {
+ int32_t fieldValue = [inProtocol readI32];
[self setSuccess: fieldValue];
} else {
[TProtocolUtil skipType: fieldType onProtocol: inProtocol];
@@ -7755,19 +8357,19 @@ - (void) read: (id <TProtocol>) inProtocol
}
- (void) write: (id <TProtocol>) outProtocol {
- [outProtocol writeStructBeginWithName: @"GetNodeVersion_result"];
+ [outProtocol writeStructBeginWithName: @"GetNodeMaxBaudRate_result"];
if (__success_isset) {
- [outProtocol writeFieldBeginWithName: @"success" type: TType_BYTE fieldID: 0];
- [outProtocol writeByte: __success];
+ [outProtocol writeFieldBeginWithName: @"success" type: TType_I32 fieldID: 0];
+ [outProtocol writeI32: __success];
[outProtocol writeFieldEnd];
}
[outProtocol writeFieldStop];
[outProtocol writeStructEnd];
}
- (NSString *) description {
- NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeVersion_result("];
+ NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeMaxBaudRate_result("];
[ms appendString: @"success:"];
[ms appendFormat: @"%i", __success];
[ms appendString: @")"];
@@ -7776,7 +8378,7 @@ - (NSString *) description {
@end
-@interface OpenZWaveGetNodeSecurity_args : NSObject <NSCoding> {
+@interface OpenZWaveGetNodeVersion_args : NSObject <NSCoding> {
int32_t ___homeId;
uint8_t ___nodeId;
@@ -7804,7 +8406,7 @@ - (BOOL) _nodeIdIsSet;
@end
-@implementation OpenZWaveGetNodeSecurity_args
+@implementation OpenZWaveGetNodeVersion_args
- (id) initWith_homeId: (int32_t) _homeId _nodeId: (uint8_t) _nodeId
{
@@ -7924,7 +8526,7 @@ - (void) read: (id <TProtocol>) inProtocol
}
- (void) write: (id <TProtocol>) outProtocol {
- [outProtocol writeStructBeginWithName: @"GetNodeSecurity_args"];
+ [outProtocol writeStructBeginWithName: @"GetNodeVersion_args"];
if (___homeId_isset) {
[outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
[outProtocol writeI32: ___homeId];
@@ -7940,7 +8542,7 @@ - (void) write: (id <TProtocol>) outProtocol {
}
- (NSString *) description {
- NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeSecurity_args("];
+ NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeVersion_args("];
[ms appendString: @"_homeId:"];
[ms appendFormat: @"%i", ___homeId];
[ms appendString: @",_nodeId:"];
@@ -7951,7 +8553,7 @@ - (NSString *) description {
@end
-@interface OpenZWaveGetNodeSecurity_result : NSObject <NSCoding> {
+@interface OpenZWaveGetNodeVersion_result : NSObject <NSCoding> {
uint8_t __success;
BOOL __success_isset;
@@ -7972,7 +8574,7 @@ - (BOOL) successIsSet;
@end
-@implementation OpenZWaveGetNodeSecurity_result
+@implementation OpenZWaveGetNodeVersion_result
- (id) initWithSuccess: (uint8_t) success
{
@@ -8056,7 +8658,7 @@ - (void) read: (id <TProtocol>) inProtocol
}
- (void) write: (id <TProtocol>) outProtocol {
- [outProtocol writeStructBeginWithName: @"GetNodeSecurity_result"];
+ [outProtocol writeStructBeginWithName: @"GetNodeVersion_result"];
if (__success_isset) {
[outProtocol writeFieldBeginWithName: @"success" type: TType_BYTE fieldID: 0];
@@ -8068,7 +8670,7 @@ - (void) write: (id <TProtocol>) outProtocol {
}
- (NSString *) description {
- NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeSecurity_result("];
+ NSMutableString * ms = [NSMutableString stringWithString: @"GetNodeVersion_result("];
[ms appendString: @"success:"];
[ms appendFormat: @"%i", __success];
[ms appendString: @")"];
@@ -27885,21 +28487,24 @@ @interface OpenZWaveBeginControllerCommand_args : NSObject <NSCoding> {
int ___command;
BOOL ___highPower;
uint8_t ___nodeId;
+ uint8_t ___arg;
BOOL ___homeId_isset;
BOOL ___command_isset;
BOOL ___highPower_isset;
BOOL ___nodeId_isset;
+ BOOL ___arg_isset;
}
#if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
@property (nonatomic, getter=_homeId, setter=set_homeId:) int32_t _homeId;
@property (nonatomic, getter=_command, setter=set_command:) int _command;
@property (nonatomic, getter=_highPower, setter=set_highPower:) BOOL _highPower;
@property (nonatomic, getter=_nodeId, setter=set_nodeId:) uint8_t _nodeId;
+@property (nonatomic, getter=_arg, setter=set_arg:) uint8_t _arg;
#endif
-- (id) initWith_homeId: (int32_t) _homeId _command: (int) _command _highPower: (BOOL) _highPower _nodeId: (uint8_t) _nodeId;
+- (id) initWith_homeId: (int32_t) _homeId _command: (int) _command _highPower: (BOOL) _highPower _nodeId: (uint8_t) _nodeId _arg: (uint8_t) _arg;
- (void) read: (id <TProtocol>) inProtocol;
- (void) write: (id <TProtocol>) outProtocol;
@@ -27920,11 +28525,15 @@ - (uint8_t) _nodeId;
- (void) set_nodeId: (uint8_t) _nodeId;
- (BOOL) _nodeIdIsSet;
+- (uint8_t) _arg;
+- (void) set_arg: (uint8_t) _arg;
+- (BOOL) _argIsSet;
+
@end
@implementation OpenZWaveBeginControllerCommand_args
-- (id) initWith_homeId: (int32_t) _homeId _command: (int) _command _highPower: (BOOL) _highPower _nodeId: (uint8_t) _nodeId
+- (id) initWith_homeId: (int32_t) _homeId _command: (int) _command _highPower: (BOOL) _highPower _nodeId: (uint8_t) _nodeId _arg: (uint8_t) _arg
{
self = [super init];
___homeId = _homeId;
@@ -27935,6 +28544,8 @@ - (id) initWith_homeId: (int32_t) _homeId _command: (int) _command _highPower: (
___highPower_isset = YES;
___nodeId = _nodeId;
___nodeId_isset = YES;
+ ___arg = _arg;
+ ___arg_isset = YES;
return self;
}
@@ -27961,6 +28572,11 @@ - (id) initWithCoder: (NSCoder *) decoder
___nodeId = [decoder decodeIntForKey: @"_nodeId"];
___nodeId_isset = YES;
}
+ if ([decoder containsValueForKey: @"_arg"])
+ {
+ ___arg = [decoder decodeIntForKey: @"_arg"];
+ ___arg_isset = YES;
+ }
return self;
}
@@ -27982,6 +28598,10 @@ - (void) encodeWithCoder: (NSCoder *) encoder
{
[encoder encodeInt: ___nodeId forKey: @"_nodeId"];
}
+ if (___arg_isset)
+ {
+ [encoder encodeInt: ___arg forKey: @"_arg"];
+ }
}
- (void) dealloc
@@ -28057,6 +28677,23 @@ - (void) unset_nodeId {
___nodeId_isset = NO;
}
+- (uint8_t) _arg {
+ return ___arg;
+}
+
+- (void) set_arg: (uint8_t) _arg {
+ ___arg = _arg;
+ ___arg_isset = YES;
+}
+
+- (BOOL) _argIsSet {
+ return ___arg_isset;
+}
+
+- (void) unset_arg {
+ ___arg_isset = NO;
+}
+
- (void) read: (id <TProtocol>) inProtocol
{
NSString * fieldName;
@@ -28104,6 +28741,14 @@ - (void) read: (id <TProtocol>) inProtocol
[TProtocolUtil skipType: fieldType onProtocol: inProtocol];
}
break;
+ case 5:
+ if (fieldType == TType_BYTE) {
+ uint8_t fieldValue = [inProtocol readByte];
+ [self set_arg: fieldValue];
+ } else {
+ [TProtocolUtil skipType: fieldType onProtocol: inProtocol];
+ }
+ break;
default:
[TProtocolUtil skipType: fieldType onProtocol: inProtocol];
break;
@@ -28135,6 +28780,11 @@ - (void) write: (id <TProtocol>) outProtocol {
[outProtocol writeByte: ___nodeId];
[outProtocol writeFieldEnd];
}
+ if (___arg_isset) {
+ [outProtocol writeFieldBeginWithName: @"_arg" type: TType_BYTE fieldID: 5];
+ [outProtocol writeByte: ___arg];
+ [outProtocol writeFieldEnd];
+ }
[outProtocol writeFieldStop];
[outProtocol writeStructEnd];
}
@@ -28149,6 +28799,8 @@ - (NSString *) description {
[ms appendFormat: @"%i", ___highPower];
[ms appendString: @",_nodeId:"];
[ms appendFormat: @"%i", ___nodeId];
+ [ms appendString: @",_arg:"];
+ [ms appendFormat: @"%i", ___arg];
[ms appendString: @")"];
return [NSString stringWithString: ms];
}
@@ -40052,6 +40704,88 @@ - (BOOL) IsNodeListeningDevice: (int32_t) _homeId : (uint8_t) _nodeId
return [self recv_IsNodeListeningDevice];
}
+- (void) send_IsNodeFrequentListeningDevice: (int32_t) _homeId : (uint8_t) _nodeId
+{
+ [outProtocol writeMessageBeginWithName: @"IsNodeFrequentListeningDevice" type: TMessageType_CALL sequenceID: 0];
+ [outProtocol writeStructBeginWithName: @"IsNodeFrequentListeningDevice_args"];
+ [outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
+ [outProtocol writeI32: _homeId];
+ [outProtocol writeFieldEnd];
+ [outProtocol writeFieldBeginWithName: @"_nodeId" type: TType_BYTE fieldID: 2];
+ [outProtocol writeByte: _nodeId];
+ [outProtocol writeFieldEnd];
+ [outProtocol writeFieldStop];
+ [outProtocol writeStructEnd];
+ [outProtocol writeMessageEnd];
+ [[outProtocol transport] flush];
+}
+
+- (BOOL) recv_IsNodeFrequentListeningDevice
+{
+ int msgType = 0;
+ [inProtocol readMessageBeginReturningName: nil type: &msgType sequenceID: NULL];
+ if (msgType == TMessageType_EXCEPTION) {
+ TApplicationException * x = [TApplicationException read: inProtocol];
+ [inProtocol readMessageEnd];
+ @throw x;
+ }
+ OpenZWaveIsNodeFrequentListeningDevice_result * result = [[[OpenZWaveIsNodeFrequentListeningDevice_result alloc] init] autorelease];
+ [result read: inProtocol];
+ [inProtocol readMessageEnd];
+ if ([result successIsSet]) {
+ return [result success];
+ }
+ @throw [TApplicationException exceptionWithType: TApplicationException_MISSING_RESULT
+ reason: @"IsNodeFrequentListeningDevice failed: unknown result"];
+}
+
+- (BOOL) IsNodeFrequentListeningDevice: (int32_t) _homeId : (uint8_t) _nodeId
+{
+ [self send_IsNodeFrequentListeningDevice: _homeId : _nodeId];
+ return [self recv_IsNodeFrequentListeningDevice];
+}
+
+- (void) send_IsNodeBeamingDevice: (int32_t) _homeId : (uint8_t) _nodeId
+{
+ [outProtocol writeMessageBeginWithName: @"IsNodeBeamingDevice" type: TMessageType_CALL sequenceID: 0];
+ [outProtocol writeStructBeginWithName: @"IsNodeBeamingDevice_args"];
+ [outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
+ [outProtocol writeI32: _homeId];
+ [outProtocol writeFieldEnd];
+ [outProtocol writeFieldBeginWithName: @"_nodeId" type: TType_BYTE fieldID: 2];
+ [outProtocol writeByte: _nodeId];
+ [outProtocol writeFieldEnd];
+ [outProtocol writeFieldStop];
+ [outProtocol writeStructEnd];
+ [outProtocol writeMessageEnd];
+ [[outProtocol transport] flush];
+}
+
+- (BOOL) recv_IsNodeBeamingDevice
+{
+ int msgType = 0;
+ [inProtocol readMessageBeginReturningName: nil type: &msgType sequenceID: NULL];
+ if (msgType == TMessageType_EXCEPTION) {
+ TApplicationException * x = [TApplicationException read: inProtocol];
+ [inProtocol readMessageEnd];
+ @throw x;
+ }
+ OpenZWaveIsNodeBeamingDevice_result * result = [[[OpenZWaveIsNodeBeamingDevice_result alloc] init] autorelease];
+ [result read: inProtocol];
+ [inProtocol readMessageEnd];
+ if ([result successIsSet]) {
+ return [result success];
+ }
+ @throw [TApplicationException exceptionWithType: TApplicationException_MISSING_RESULT
+ reason: @"IsNodeBeamingDevice failed: unknown result"];
+}
+
+- (BOOL) IsNodeBeamingDevice: (int32_t) _homeId : (uint8_t) _nodeId
+{
+ [self send_IsNodeBeamingDevice: _homeId : _nodeId];
+ return [self recv_IsNodeBeamingDevice];
+}
+
- (void) send_IsNodeRoutingDevice: (int32_t) _homeId : (uint8_t) _nodeId
{
[outProtocol writeMessageBeginWithName: @"IsNodeRoutingDevice" type: TMessageType_CALL sequenceID: 0];
@@ -40093,10 +40827,10 @@ - (BOOL) IsNodeRoutingDevice: (int32_t) _homeId : (uint8_t) _nodeId
return [self recv_IsNodeRoutingDevice];
}
-- (void) send_GetNodeMaxBaudRate: (int32_t) _homeId : (uint8_t) _nodeId
+- (void) send_IsNodeSecurityDevice: (int32_t) _homeId : (uint8_t) _nodeId
{
- [outProtocol writeMessageBeginWithName: @"GetNodeMaxBaudRate" type: TMessageType_CALL sequenceID: 0];
- [outProtocol writeStructBeginWithName: @"GetNodeMaxBaudRate_args"];
+ [outProtocol writeMessageBeginWithName: @"IsNodeSecurityDevice" type: TMessageType_CALL sequenceID: 0];
+ [outProtocol writeStructBeginWithName: @"IsNodeSecurityDevice_args"];
[outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
[outProtocol writeI32: _homeId];
[outProtocol writeFieldEnd];
@@ -40109,7 +40843,7 @@ - (void) send_GetNodeMaxBaudRate: (int32_t) _homeId : (uint8_t) _nodeId
[[outProtocol transport] flush];
}
-- (int32_t) recv_GetNodeMaxBaudRate
+- (BOOL) recv_IsNodeSecurityDevice
{
int msgType = 0;
[inProtocol readMessageBeginReturningName: nil type: &msgType sequenceID: NULL];
@@ -40118,26 +40852,26 @@ - (int32_t) recv_GetNodeMaxBaudRate
[inProtocol readMessageEnd];
@throw x;
}
- OpenZWaveGetNodeMaxBaudRate_result * result = [[[OpenZWaveGetNodeMaxBaudRate_result alloc] init] autorelease];
+ OpenZWaveIsNodeSecurityDevice_result * result = [[[OpenZWaveIsNodeSecurityDevice_result alloc] init] autorelease];
[result read: inProtocol];
[inProtocol readMessageEnd];
if ([result successIsSet]) {
return [result success];
}
@throw [TApplicationException exceptionWithType: TApplicationException_MISSING_RESULT
- reason: @"GetNodeMaxBaudRate failed: unknown result"];
+ reason: @"IsNodeSecurityDevice failed: unknown result"];
}
-- (int32_t) GetNodeMaxBaudRate: (int32_t) _homeId : (uint8_t) _nodeId
+- (BOOL) IsNodeSecurityDevice: (int32_t) _homeId : (uint8_t) _nodeId
{
- [self send_GetNodeMaxBaudRate: _homeId : _nodeId];
- return [self recv_GetNodeMaxBaudRate];
+ [self send_IsNodeSecurityDevice: _homeId : _nodeId];
+ return [self recv_IsNodeSecurityDevice];
}
-- (void) send_GetNodeVersion: (int32_t) _homeId : (uint8_t) _nodeId
+- (void) send_GetNodeMaxBaudRate: (int32_t) _homeId : (uint8_t) _nodeId
{
- [outProtocol writeMessageBeginWithName: @"GetNodeVersion" type: TMessageType_CALL sequenceID: 0];
- [outProtocol writeStructBeginWithName: @"GetNodeVersion_args"];
+ [outProtocol writeMessageBeginWithName: @"GetNodeMaxBaudRate" type: TMessageType_CALL sequenceID: 0];
+ [outProtocol writeStructBeginWithName: @"GetNodeMaxBaudRate_args"];
[outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
[outProtocol writeI32: _homeId];
[outProtocol writeFieldEnd];
@@ -40150,7 +40884,7 @@ - (void) send_GetNodeVersion: (int32_t) _homeId : (uint8_t) _nodeId
[[outProtocol transport] flush];
}
-- (uint8_t) recv_GetNodeVersion
+- (int32_t) recv_GetNodeMaxBaudRate
{
int msgType = 0;
[inProtocol readMessageBeginReturningName: nil type: &msgType sequenceID: NULL];
@@ -40159,26 +40893,26 @@ - (uint8_t) recv_GetNodeVersion
[inProtocol readMessageEnd];
@throw x;
}
- OpenZWaveGetNodeVersion_result * result = [[[OpenZWaveGetNodeVersion_result alloc] init] autorelease];
+ OpenZWaveGetNodeMaxBaudRate_result * result = [[[OpenZWaveGetNodeMaxBaudRate_result alloc] init] autorelease];
[result read: inProtocol];
[inProtocol readMessageEnd];
if ([result successIsSet]) {
return [result success];
}
@throw [TApplicationException exceptionWithType: TApplicationException_MISSING_RESULT
- reason: @"GetNodeVersion failed: unknown result"];
+ reason: @"GetNodeMaxBaudRate failed: unknown result"];
}
-- (uint8_t) GetNodeVersion: (int32_t) _homeId : (uint8_t) _nodeId
+- (int32_t) GetNodeMaxBaudRate: (int32_t) _homeId : (uint8_t) _nodeId
{
- [self send_GetNodeVersion: _homeId : _nodeId];
- return [self recv_GetNodeVersion];
+ [self send_GetNodeMaxBaudRate: _homeId : _nodeId];
+ return [self recv_GetNodeMaxBaudRate];
}
-- (void) send_GetNodeSecurity: (int32_t) _homeId : (uint8_t) _nodeId
+- (void) send_GetNodeVersion: (int32_t) _homeId : (uint8_t) _nodeId
{
- [outProtocol writeMessageBeginWithName: @"GetNodeSecurity" type: TMessageType_CALL sequenceID: 0];
- [outProtocol writeStructBeginWithName: @"GetNodeSecurity_args"];
+ [outProtocol writeMessageBeginWithName: @"GetNodeVersion" type: TMessageType_CALL sequenceID: 0];
+ [outProtocol writeStructBeginWithName: @"GetNodeVersion_args"];
[outProtocol writeFieldBeginWithName: @"_homeId" type: TType_I32 fieldID: 1];
[outProtocol writeI32: _homeId];
[outProtocol writeFieldEnd];
@@ -40191,7 +40925,7 @@ - (void) send_GetNodeSecurity: (int32_t) _homeId : (uint8_t) _nodeId
[[outProtocol transport] flush];
}
-- (uint8_t) recv_GetNodeSecurity
+- (uint8_t) recv_GetNodeVersion
{
int msgType = 0;
[inProtocol readMessageBeginReturningName: nil type: &msgType sequenceID: NULL];
@@ -40200,20 +40934,20 @@ - (uint8_t) recv_GetNodeSecurity
[inProtocol readMessageEnd];
@throw x;
}
- OpenZWaveGetNodeSecurity_result * result = [[[OpenZWaveGetNodeSecurity_result alloc] init] autorelease];
+ OpenZWaveGetNodeVersion_result * result = [[[OpenZWaveGetNodeVersion_result alloc] init] autorelease];
[result read: inProtocol];
[inProtocol readMessageEnd];
if ([result successIsSet]) {
return [result success];
}
@throw [TApplicationException exceptionWithType: TApplicationException_MISSING_RESULT
- reason: @"GetNodeSecurity failed: unknown result"];
+ reason: @"GetNodeVersion failed: unknown result"];
}
-- (uint8_t) GetNodeSecurity: (int32_t) _homeId : (uint8_t) _nodeId
+- (uint8_t) GetNodeVersion: (int32_t) _homeId : (uint8_t) _nodeId
{
- [self send_GetNodeSecurity: _homeId : _nodeId];
- return [self recv_GetNodeSecurity];
+ [self send_GetNodeVersion: _homeId : _nodeId];
+ return [self recv_GetNodeVersion];
}
- (void) send_GetNodeBasic: (int32_t) _homeId : (uint8_t) _nodeId
@@ -43039,7 +43773,7 @@ - (void) SoftReset: (int32_t) _homeId
[self recv_SoftReset];
}
-- (void) send_BeginControllerCommand: (int32_t) _homeId : (int) _command : (BOOL) _highPower : (uint8_t) _nodeId
+- (void) send_BeginControllerCommand: (int32_t) _homeId : (int) _command : (BOOL) _highPower : (uint8_t) _nodeId : (uint8_t) _arg
{
[outProtocol writeMessageBeginWithName: @"BeginControllerCommand" type: TMessageType_CALL sequenceID: 0];
[outProtocol writeStructBeginWithName: @"BeginControllerCommand_args"];
@@ -43055,6 +43789,9 @@ - (void) send_BeginControllerCommand: (int32_t) _homeId : (int) _command : (BOOL
[outProtocol writeFieldBeginWithName: @"_nodeId" type: TType_BYTE fieldID: 4];
[outProtocol writeByte: _nodeId];
[outProtocol writeFieldEnd];
+ [outProtocol writeFieldBeginWithName: @"_arg" type: TType_BYTE fieldID: 5];
+ [outProtocol writeByte: _arg];
+ [outProtocol writeFieldEnd];
[outProtocol writeFieldStop];
[outProtocol writeStructEnd];
[outProtocol writeMessageEnd];
@@ -43080,9 +43817,9 @@ - (BOOL) recv_BeginControllerCommand
reason: @"BeginControllerCommand failed: unknown result"];
}
-- (BOOL) BeginControllerCommand: (int32_t) _homeId : (int) _command : (BOOL) _highPower : (uint8_t) _nodeId
+- (BOOL) BeginControllerCommand: (int32_t) _homeId : (int) _command : (BOOL) _highPower : (uint8_t) _nodeId : (uint8_t) _arg
{
- [self send_BeginControllerCommand: _homeId : _command : _highPower : _nodeId];
+ [self send_BeginControllerCommand: _homeId : _command : _highPower : _nodeId : _arg];
return [self recv_BeginControllerCommand];
}
@@ -44769,6 +45506,22 @@ - (id) initWithRemoteManager: (id <OpenZWaveRemoteManager>) service
[mMethodMap setValue: invocation forKey: @"IsNodeListeningDevice"];
}
{
+ SEL s = @selector(process_IsNodeFrequentListeningDevice_withSequenceID:inProtocol:outProtocol:);
+ NSMethodSignature * sig = [self methodSignatureForSelector: s];
+ NSInvocation * invocation = [NSInvocation invocationWithMethodSignature: sig];
+ [invocation setSelector: s];
+ [invocation retainArguments];
+ [mMethodMap setValue: invocation forKey: @"IsNodeFrequentListeningDevice"];
+ }
+ {
+ SEL s = @selector(process_IsNodeBeamingDevice_withSequenceID:inProtocol:outProtocol:);
+ NSMethodSignature * sig = [self methodSignatureForSelector: s];
+ NSInvocation * invocation = [NSInvocation invocationWithMethodSignature: sig];
+ [invocation setSelector: s];
+ [invocation retainArguments];
+ [mMethodMap setValue: invocation forKey: @"IsNodeBeamingDevice"];
+ }
+ {
SEL s = @selector(process_IsNodeRoutingDevice_withSequenceID:inProtocol:outProtocol:);
NSMethodSignature * sig = [self methodSignatureForSelector: s];
NSInvocation * invocation = [NSInvocation invocationWithMethodSignature: sig];
@@ -44777,28 +45530,28 @@ - (id) initWithRemoteManager: (id <OpenZWaveRemoteManager>) service
[mMethodMap setValue: invocation forKey: @"IsNodeRoutingDevice"];
}
{
- SEL s = @selector(process_GetNodeMaxBaudRate_withSequenceID:inProtocol:outProtocol:);
+ SEL s = @selector(process_IsNodeSecurityDevice_withSequenceID:inProtocol:outProtocol:);
NSMethodSignature * sig = [self methodSignatureForSelector: s];
NSInvocation * invocation = [NSInvocation invocationWithMethodSignature: sig];
[invocation setSelector: s];
[invocation retainArguments];
- [mMethodMap setValue: invocation forKey: @"GetNodeMaxBaudRate"];
+ [mMethodMap setValue: invocation forKey: @"IsNodeSecurityDevice"];
}
{
- SEL s = @selector(process_GetNodeVersion_withSequenceID:inProtocol:outProtocol:);
+ SEL s = @selector(process_GetNodeMaxBaudRate_withSequenceID:inProtocol:outProtocol:);
NSMethodSignature * sig = [self methodSignatureForSelector: s];
NSInvocation * invocation = [NSInvocation invocationWithMethodSignature: sig];
[invocation setSelector: s];
[invocation retainArguments];
- [mMethodMap setValue: invocation forKey: @"GetNodeVersion"];
+ [mMethodMap setValue: invocation forKey: @"GetNodeMaxBaudRate"];
}
{
- SEL s = @selector(process_GetNodeSecurity_withSequenceID:inProtocol:outProtocol:);
+ SEL s = @selector(process_GetNodeVersion_withSequenceID:inProtocol:outProtocol:);
NSMethodSignature * sig = [self methodSignatureForSelector: s];
NSInvocation * invocation = [NSInvocation invocationWithMethodSignature: sig];
[invocation setSelector: s];
[invocation retainArguments];
- [mMethodMap setValue: invocation forKey: @"GetNodeSecurity"];
+ [mMethodMap setValue: invocation forKey: @"GetNodeVersion"];
}
{
SEL s = @selector(process_GetNodeBasic_withSequenceID:inProtocol:outProtocol:);
@@ -45978,6 +46731,40 @@ - (void) process_IsNodeListeningDevice_withSequenceID: (int32_t) seqID inProtoco
[args release];
}
+- (void) process_IsNodeFrequentListeningDevice_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
+{
+ OpenZWaveIsNodeFrequentListeningDevice_args * args = [[OpenZWaveIsNodeFrequentListeningDevice_args alloc] init];
+ [args read: inProtocol];
+ [inProtocol readMessageEnd];
+ OpenZWaveIsNodeFrequentListeningDevice_result * result = [[OpenZWaveIsNodeFrequentListeningDevice_result alloc] init];
+ [result setSuccess: [mService IsNodeFrequentListeningDevice: [args _homeId]: [args _nodeId]]];
+ [outProtocol writeMessageBeginWithName: @"IsNodeFrequentListeningDevice"
+ type: TMessageType_REPLY
+ sequenceID: seqID];
+ [result write: outProtocol];
+ [outProtocol writeMessageEnd];
+ [[outProtocol transport] flush];
+ [result release];
+ [args release];
+}
+
+- (void) process_IsNodeBeamingDevice_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
+{
+ OpenZWaveIsNodeBeamingDevice_args * args = [[OpenZWaveIsNodeBeamingDevice_args alloc] init];
+ [args read: inProtocol];
+ [inProtocol readMessageEnd];
+ OpenZWaveIsNodeBeamingDevice_result * result = [[OpenZWaveIsNodeBeamingDevice_result alloc] init];
+ [result setSuccess: [mService IsNodeBeamingDevice: [args _homeId]: [args _nodeId]]];
+ [outProtocol writeMessageBeginWithName: @"IsNodeBeamingDevice"
+ type: TMessageType_REPLY
+ sequenceID: seqID];
+ [result write: outProtocol];
+ [outProtocol writeMessageEnd];
+ [[outProtocol transport] flush];
+ [result release];
+ [args release];
+}
+
- (void) process_IsNodeRoutingDevice_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
{
OpenZWaveIsNodeRoutingDevice_args * args = [[OpenZWaveIsNodeRoutingDevice_args alloc] init];
@@ -45995,14 +46782,14 @@ - (void) process_IsNodeRoutingDevice_withSequenceID: (int32_t) seqID inProtocol:
[args release];
}
-- (void) process_GetNodeMaxBaudRate_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
+- (void) process_IsNodeSecurityDevice_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
{
- OpenZWaveGetNodeMaxBaudRate_args * args = [[OpenZWaveGetNodeMaxBaudRate_args alloc] init];
+ OpenZWaveIsNodeSecurityDevice_args * args = [[OpenZWaveIsNodeSecurityDevice_args alloc] init];
[args read: inProtocol];
[inProtocol readMessageEnd];
- OpenZWaveGetNodeMaxBaudRate_result * result = [[OpenZWaveGetNodeMaxBaudRate_result alloc] init];
- [result setSuccess: [mService GetNodeMaxBaudRate: [args _homeId]: [args _nodeId]]];
- [outProtocol writeMessageBeginWithName: @"GetNodeMaxBaudRate"
+ OpenZWaveIsNodeSecurityDevice_result * result = [[OpenZWaveIsNodeSecurityDevice_result alloc] init];
+ [result setSuccess: [mService IsNodeSecurityDevice: [args _homeId]: [args _nodeId]]];
+ [outProtocol writeMessageBeginWithName: @"IsNodeSecurityDevice"
type: TMessageType_REPLY
sequenceID: seqID];
[result write: outProtocol];
@@ -46012,14 +46799,14 @@ - (void) process_GetNodeMaxBaudRate_withSequenceID: (int32_t) seqID inProtocol:
[args release];
}
-- (void) process_GetNodeVersion_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
+- (void) process_GetNodeMaxBaudRate_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
{
- OpenZWaveGetNodeVersion_args * args = [[OpenZWaveGetNodeVersion_args alloc] init];
+ OpenZWaveGetNodeMaxBaudRate_args * args = [[OpenZWaveGetNodeMaxBaudRate_args alloc] init];
[args read: inProtocol];
[inProtocol readMessageEnd];
- OpenZWaveGetNodeVersion_result * result = [[OpenZWaveGetNodeVersion_result alloc] init];
- [result setSuccess: [mService GetNodeVersion: [args _homeId]: [args _nodeId]]];
- [outProtocol writeMessageBeginWithName: @"GetNodeVersion"
+ OpenZWaveGetNodeMaxBaudRate_result * result = [[OpenZWaveGetNodeMaxBaudRate_result alloc] init];
+ [result setSuccess: [mService GetNodeMaxBaudRate: [args _homeId]: [args _nodeId]]];
+ [outProtocol writeMessageBeginWithName: @"GetNodeMaxBaudRate"
type: TMessageType_REPLY
sequenceID: seqID];
[result write: outProtocol];
@@ -46029,14 +46816,14 @@ - (void) process_GetNodeVersion_withSequenceID: (int32_t) seqID inProtocol: (id<
[args release];
}
-- (void) process_GetNodeSecurity_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
+- (void) process_GetNodeVersion_withSequenceID: (int32_t) seqID inProtocol: (id<TProtocol>) inProtocol outProtocol: (id<TProtocol>) outProtocol
{
- OpenZWaveGetNodeSecurity_args * args = [[OpenZWaveGetNodeSecurity_args alloc] init];
+ OpenZWaveGetNodeVersion_args * args = [[OpenZWaveGetNodeVersion_args alloc] init];
[args read: inProtocol];
[inProtocol readMessageEnd];
- OpenZWaveGetNodeSecurity_result * result = [[OpenZWaveGetNodeSecurity_result alloc] init];
- [result setSuccess: [mService GetNodeSecurity: [args _homeId]: [args _nodeId]]];
- [outProtocol writeMessageBeginWithName: @"GetNodeSecurity"
+ OpenZWaveGetNodeVersion_result * result = [[OpenZWaveGetNodeVersion_result alloc] init];
+ [result setSuccess: [mService GetNodeVersion: [args _homeId]: [args _nodeId]]];
+ [outProtocol writeMessageBeginWithName: @"GetNodeVersion"
type: TMessageType_REPLY
sequenceID: seqID];
[result write: outProtocol];
@@ -47225,7 +48012,7 @@ - (void) process_BeginControllerCommand_withSequenceID: (int32_t) seqID inProtoc
[args read: inProtocol];
[inProtocol readMessageEnd];
OpenZWaveBeginControllerCommand_result * result = [[OpenZWaveBeginControllerCommand_result alloc] init];
- [result setSuccess: [mService BeginControllerCommand: [args _homeId]: [args _command]: [args _highPower]: [args _nodeId]]];
+ [result setSuccess: [mService BeginControllerCommand: [args _homeId]: [args _command]: [args _highPower]: [args _nodeId]: [args _arg]]];
[outProtocol writeMessageBeginWithName: @"BeginControllerCommand"
type: TMessageType_REPLY
sequenceID: seqID];
View
909 gen-cpp/RemoteManager.cpp
@@ -2693,6 +2693,350 @@ uint32_t RemoteManager_IsNodeListeningDevice_presult::read(::apache::thrift::pro
return xfer;
}
+uint32_t RemoteManager_IsNodeFrequentListeningDevice_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_I32) {
+ xfer += iprot->readI32(this->_homeId);
+ this->__isset._homeId = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 2:
+ if (ftype == ::apache::thrift::protocol::T_BYTE) {
+ xfer += iprot->readByte(this->_nodeId);
+ this->__isset._nodeId = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeFrequentListeningDevice_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeFrequentListeningDevice_args");
+ xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
+ xfer += oprot->writeI32(this->_homeId);
+ xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("_nodeId", ::apache::thrift::protocol::T_BYTE, 2);
+ xfer += oprot->writeByte(this->_nodeId);
+ xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeFrequentListeningDevice_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeFrequentListeningDevice_pargs");
+ xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
+ xfer += oprot->writeI32((*(this->_homeId)));
+ xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("_nodeId", ::apache::thrift::protocol::T_BYTE, 2);
+ xfer += oprot->writeByte((*(this->_nodeId)));
+ xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeFrequentListeningDevice_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 0:
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
+ xfer += iprot->readBool(this->success);
+ this->__isset.success = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeFrequentListeningDevice_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+
+ uint32_t xfer = 0;
+
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeFrequentListeningDevice_result");
+
+ if (this->__isset.success) {
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeBool(this->success);
+ xfer += oprot->writeFieldEnd();
+ }
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeFrequentListeningDevice_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 0:
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
+ xfer += iprot->readBool((*(this->success)));
+ this->__isset.success = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeBeamingDevice_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 1:
+ if (ftype == ::apache::thrift::protocol::T_I32) {
+ xfer += iprot->readI32(this->_homeId);
+ this->__isset._homeId = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 2:
+ if (ftype == ::apache::thrift::protocol::T_BYTE) {
+ xfer += iprot->readByte(this->_nodeId);
+ this->__isset._nodeId = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeBeamingDevice_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeBeamingDevice_args");
+ xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
+ xfer += oprot->writeI32(this->_homeId);
+ xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("_nodeId", ::apache::thrift::protocol::T_BYTE, 2);
+ xfer += oprot->writeByte(this->_nodeId);
+ xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeBeamingDevice_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeBeamingDevice_pargs");
+ xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
+ xfer += oprot->writeI32((*(this->_homeId)));
+ xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("_nodeId", ::apache::thrift::protocol::T_BYTE, 2);
+ xfer += oprot->writeByte((*(this->_nodeId)));
+ xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeBeamingDevice_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 0:
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
+ xfer += iprot->readBool(this->success);
+ this->__isset.success = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeBeamingDevice_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+
+ uint32_t xfer = 0;
+
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeBeamingDevice_result");
+
+ if (this->__isset.success) {
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeBool(this->success);
+ xfer += oprot->writeFieldEnd();
+ }
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+uint32_t RemoteManager_IsNodeBeamingDevice_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+
+ uint32_t xfer = 0;
+ std::string fname;
+ ::apache::thrift::protocol::TType ftype;
+ int16_t fid;
+
+ xfer += iprot->readStructBegin(fname);
+
+ using ::apache::thrift::protocol::TProtocolException;
+
+
+ while (true)
+ {
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
+ break;
+ }
+ switch (fid)
+ {
+ case 0:
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
+ xfer += iprot->readBool((*(this->success)));
+ this->__isset.success = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ return xfer;
+}
+
uint32_t RemoteManager_IsNodeRoutingDevice_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
@@ -2865,7 +3209,7 @@ uint32_t RemoteManager_IsNodeRoutingDevice_presult::read(::apache::thrift::proto
return xfer;
}
-uint32_t RemoteManager_GetNodeMaxBaudRate_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_IsNodeSecurityDevice_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -2913,9 +3257,9 @@ uint32_t RemoteManager_GetNodeMaxBaudRate_args::read(::apache::thrift::protocol:
return xfer;
}
-uint32_t RemoteManager_GetNodeMaxBaudRate_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_IsNodeSecurityDevice_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeMaxBaudRate_args");
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeSecurityDevice_args");
xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
xfer += oprot->writeI32(this->_homeId);
xfer += oprot->writeFieldEnd();
@@ -2927,9 +3271,9 @@ uint32_t RemoteManager_GetNodeMaxBaudRate_args::write(::apache::thrift::protocol
return xfer;
}
-uint32_t RemoteManager_GetNodeMaxBaudRate_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_IsNodeSecurityDevice_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeMaxBaudRate_pargs");
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeSecurityDevice_pargs");
xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
xfer += oprot->writeI32((*(this->_homeId)));
xfer += oprot->writeFieldEnd();
@@ -2941,7 +3285,7 @@ uint32_t RemoteManager_GetNodeMaxBaudRate_pargs::write(::apache::thrift::protoco
return xfer;
}
-uint32_t RemoteManager_GetNodeMaxBaudRate_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_IsNodeSecurityDevice_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -2962,8 +3306,8 @@ uint32_t RemoteManager_GetNodeMaxBaudRate_result::read(::apache::thrift::protoco
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32(this->success);
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
+ xfer += iprot->readBool(this->success);
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -2981,23 +3325,23 @@ uint32_t RemoteManager_GetNodeMaxBaudRate_result::read(::apache::thrift::protoco
return xfer;
}
-uint32_t RemoteManager_GetNodeMaxBaudRate_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_IsNodeSecurityDevice_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeMaxBaudRate_result");
+ xfer += oprot->writeStructBegin("RemoteManager_IsNodeSecurityDevice_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_I32, 0);
- xfer += oprot->writeI32(this->success);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BOOL, 0);
+ xfer += oprot->writeBool(this->success);
xfer += oprot->writeFieldEnd();
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
}
-uint32_t RemoteManager_GetNodeMaxBaudRate_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_IsNodeSecurityDevice_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3018,8 +3362,8 @@ uint32_t RemoteManager_GetNodeMaxBaudRate_presult::read(::apache::thrift::protoc
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- xfer += iprot->readI32((*(this->success)));
+ if (ftype == ::apache::thrift::protocol::T_BOOL) {
+ xfer += iprot->readBool((*(this->success)));
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -3037,7 +3381,7 @@ uint32_t RemoteManager_GetNodeMaxBaudRate_presult::read(::apache::thrift::protoc
return xfer;
}
-uint32_t RemoteManager_GetNodeVersion_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_GetNodeMaxBaudRate_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3085,9 +3429,9 @@ uint32_t RemoteManager_GetNodeVersion_args::read(::apache::thrift::protocol::TPr
return xfer;
}
-uint32_t RemoteManager_GetNodeVersion_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_GetNodeMaxBaudRate_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeVersion_args");
+ xfer += oprot->writeStructBegin("RemoteManager_GetNodeMaxBaudRate_args");
xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
xfer += oprot->writeI32(this->_homeId);
xfer += oprot->writeFieldEnd();
@@ -3099,9 +3443,9 @@ uint32_t RemoteManager_GetNodeVersion_args::write(::apache::thrift::protocol::TP
return xfer;
}
-uint32_t RemoteManager_GetNodeVersion_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_GetNodeMaxBaudRate_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeVersion_pargs");
+ xfer += oprot->writeStructBegin("RemoteManager_GetNodeMaxBaudRate_pargs");
xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
xfer += oprot->writeI32((*(this->_homeId)));
xfer += oprot->writeFieldEnd();
@@ -3113,7 +3457,7 @@ uint32_t RemoteManager_GetNodeVersion_pargs::write(::apache::thrift::protocol::T
return xfer;
}
-uint32_t RemoteManager_GetNodeVersion_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_GetNodeMaxBaudRate_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3134,8 +3478,8 @@ uint32_t RemoteManager_GetNodeVersion_result::read(::apache::thrift::protocol::T
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_BYTE) {
- xfer += iprot->readByte(this->success);
+ if (ftype == ::apache::thrift::protocol::T_I32) {
+ xfer += iprot->readI32(this->success);
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -3153,23 +3497,23 @@ uint32_t RemoteManager_GetNodeVersion_result::read(::apache::thrift::protocol::T
return xfer;
}
-uint32_t RemoteManager_GetNodeVersion_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_GetNodeMaxBaudRate_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeVersion_result");
+ xfer += oprot->writeStructBegin("RemoteManager_GetNodeMaxBaudRate_result");
if (this->__isset.success) {
- xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BYTE, 0);
- xfer += oprot->writeByte(this->success);
+ xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_I32, 0);
+ xfer += oprot->writeI32(this->success);
xfer += oprot->writeFieldEnd();
}
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
}
-uint32_t RemoteManager_GetNodeVersion_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_GetNodeMaxBaudRate_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3190,8 +3534,8 @@ uint32_t RemoteManager_GetNodeVersion_presult::read(::apache::thrift::protocol::
switch (fid)
{
case 0:
- if (ftype == ::apache::thrift::protocol::T_BYTE) {
- xfer += iprot->readByte((*(this->success)));
+ if (ftype == ::apache::thrift::protocol::T_I32) {
+ xfer += iprot->readI32((*(this->success)));
this->__isset.success = true;
} else {
xfer += iprot->skip(ftype);
@@ -3209,7 +3553,7 @@ uint32_t RemoteManager_GetNodeVersion_presult::read(::apache::thrift::protocol::
return xfer;
}
-uint32_t RemoteManager_GetNodeSecurity_args::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_GetNodeVersion_args::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3257,9 +3601,9 @@ uint32_t RemoteManager_GetNodeSecurity_args::read(::apache::thrift::protocol::TP
return xfer;
}
-uint32_t RemoteManager_GetNodeSecurity_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_GetNodeVersion_args::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeSecurity_args");
+ xfer += oprot->writeStructBegin("RemoteManager_GetNodeVersion_args");
xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
xfer += oprot->writeI32(this->_homeId);
xfer += oprot->writeFieldEnd();
@@ -3271,9 +3615,9 @@ uint32_t RemoteManager_GetNodeSecurity_args::write(::apache::thrift::protocol::T
return xfer;
}
-uint32_t RemoteManager_GetNodeSecurity_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_GetNodeVersion_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeSecurity_pargs");
+ xfer += oprot->writeStructBegin("RemoteManager_GetNodeVersion_pargs");
xfer += oprot->writeFieldBegin("_homeId", ::apache::thrift::protocol::T_I32, 1);
xfer += oprot->writeI32((*(this->_homeId)));
xfer += oprot->writeFieldEnd();
@@ -3285,7 +3629,7 @@ uint32_t RemoteManager_GetNodeSecurity_pargs::write(::apache::thrift::protocol::
return xfer;
}
-uint32_t RemoteManager_GetNodeSecurity_result::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_GetNodeVersion_result::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -3325,11 +3669,11 @@ uint32_t RemoteManager_GetNodeSecurity_result::read(::apache::thrift::protocol::
return xfer;
}
-uint32_t RemoteManager_GetNodeSecurity_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
+uint32_t RemoteManager_GetNodeVersion_result::write(::apache::thrift::protocol::TProtocol* oprot) const {
uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("RemoteManager_GetNodeSecurity_result");
+ xfer += oprot->writeStructBegin("RemoteManager_GetNodeVersion_result");
if (this->__isset.success) {
xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_BYTE, 0);
@@ -3341,7 +3685,7 @@ uint32_t RemoteManager_GetNodeSecurity_result::write(::apache::thrift::protocol:
return xfer;
}
-uint32_t RemoteManager_GetNodeSecurity_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
+uint32_t RemoteManager_GetNodeVersion_presult::read(::apache::thrift::protocol::TProtocol* iprot) {
uint32_t xfer = 0;
std::string fname;
@@ -14820,6 +15164,14 @@ uint32_t RemoteManager_BeginControllerCommand_args::read(::apache::thrift::proto
xfer += iprot->skip(ftype);
}
break;
+ case 5:
+ if (ftype == ::apache::thrift::protocol::T_BYTE) {
+ xfer += iprot->readByte(this->_arg);
+ this->__isset._arg = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
default:
xfer += iprot->skip(ftype);
break;
@@ -14847,6 +15199,9 @@ uint32_t RemoteManager_BeginControllerCommand_args::write(::apache::thrift::prot
xfer += oprot->writeFieldBegin("_nodeId", ::apache::thrift::protocol::T_BYTE, 4);
xfer += oprot->writeByte(this->_nodeId);
xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("_arg", ::apache::thrift::protocol::T_BYTE, 5);
+ xfer += oprot->writeByte(this->_arg);
+ xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
@@ -14867,6 +15222,9 @@ uint32_t RemoteManager_BeginControllerCommand_pargs::write(::apache::thrift::pro
xfer += oprot->writeFieldBegin("_nodeId", ::apache::thrift::protocol::T_BYTE, 4);
xfer += oprot->writeByte((*(this->_nodeId)));
xfer += oprot->writeFieldEnd();
+ xfer += oprot->writeFieldBegin("_arg", ::apache::thrift::protocol::T_BYTE, 5);
+ xfer += oprot->writeByte((*(this->_arg)));
+ xfer += oprot->writeFieldEnd();
xfer += oprot->writeFieldStop();
xfer += oprot->writeStructEnd();
return xfer;
@@ -21837,21 +22195,139 @@ bool RemoteManagerClient::isPolled(const RemoteValueID& _valueId)
return recv_isPolled();
}
-void RemoteManagerClient::send_isPolled(const RemoteValueID& _valueId)
+void RemoteManagerClient::send_isPolled(const RemoteValueID& _valueId)
+{
+ int32_t cseqid = 0;
+ oprot_->writeMessageBegin("isPolled", ::apache::thrift::protocol::T_CALL, cseqid);
+
+ RemoteManager_isPolled_pargs args;
+ args._valueId = &_valueId;
+ args.write(oprot_);
+
+ oprot_->writeMessageEnd();
+ oprot_->getTransport()->writeEnd();
+ oprot_->getTransport()->flush();
+}
+