public class RemoteSensorStub extends DataValue implements Reloadable
ParameterStub, it tries to register at the
remote data sensor during initialization.| Modifier and Type | Class and Description |
|---|---|
static class |
RemoteSensorStub.Read |
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_REMOTESENSOR
The key pointing to the machine where the sensors run.
|
private MyRmiListener |
listen
The rmi-listener & reference watcher for binding to the sensor.
|
DERIVATIVE, DERIVATIVEVALUE, KEY_BLOCK, KEY_DATA, PREDICT, PREDICTVALUE, RAW, SMOOTH, SMOOTHVALUE, VALUEKEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWNKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
RemoteSensorStub(Map<String,String> info)
Constructs a new sensor global.
|
| Modifier and Type | Method and Description |
|---|---|
void |
exit()
For orderly shutdown, de-register from the binding reference.
|
void |
init()
Initializes this parameter.
|
double |
rescanned(String key,
String old,
String newval)
If the listener reference has changed, we reinit the binding or
pass the changed key to the listener properties.
|
dataAvailable, getString, getValue, setValueget, setcreateParameter, delivers, getFormatted, getFormatted, getName, getPreserveFile, getString, overrideDefaultName, register, setName, toStringclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreloadgetFormatted, getNamedefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiespublic static final String KEY_REMOTESENSOR
private MyRmiListener listen
public RemoteSensorStub(Map<String,String> info)
DataValue.VALUE. This guarantees
that this key is present and points to a allowed value once the
construction phase is finished.public double rescanned(String key, String old, String newval)
rescanned in interface Reloadablerescanned in class AbstractParameterpublic void init()
throws InitException
init in interface Initializableinit in class AbstractParameterInitExceptionpublic void exit()
listen helper object.exit in interface ExitCleaningexit in class AbstractParameter