public class FS20Listener extends Object
Constructor and Description |
---|
FS20Listener(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
static String |
binFS20ByteToString(int value,
int bits)
Converts the houseCode, deviceCode and functionCode to a String object
|
void |
Init(FHZ1000PC fhz,
LogTracker log)
Initializes a new FS20EventListener
|
void |
setDevices(HashMap<String,org.osgi.framework.ServiceRegistration> reg)
Called by the Activator and sets all ServiceRegistrations
|
public void setDevices(HashMap<String,org.osgi.framework.ServiceRegistration> reg)
reg
- = all registered FS20 devices as ServiceRegistrationspublic void Init(FHZ1000PC fhz, LogTracker log)
fhz
- = the FS20 gateway connectionlog
- = the loggerpublic static String binFS20ByteToString(int value, int bits)
value
- = the integer value of a received codebits
- = number of bitsCopyright © 2015 universAAL Consortium. All Rights Reserved.