public class ValueStub extends ParameterStub implements Value
RemoteSensorSkeleton. This class provides local access to
the parameter data.ParameterStub.FingerPropertyResources.Load, PropertyResources.URLResourceKEY_BLOCK, KEY_FORMATCLASS, KEY_FORMATPATTERN, KEY_INITTRY, KEY_REMOTENAME, KEY_RETRY, KEY_SERVERDELAY, KEY_WAIT, sensorKEY_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 |
|---|
ValueStub(Map<String,String> prop)
Constructs a new value stub.
|
ValueStub(String remotename)
For convenience, we support a constructor with only the remote name.
|
| Modifier and Type | Method and Description |
|---|---|
Number |
getValue()
Casts the parameter value retrieved with
ParameterStub.get() to a Number. |
Number |
setValue(Number val)
Throws an unsupported operation exception.
|
cancel, disconnect, exit, get, getAsociatedThread, getFormatted, init, isConnected, maxTimeToCancel, rebind, rescanned, run, setcreateParameter, delivers, getFormatted, getName, getPreserveFile, getString, 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, waitdefaultBoolean, 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, stringPropertiesinitreloadpublic ValueStub(String remotename) throws RemoteException, InitException
InitExceptionRemoteExceptionpublic ValueStub(Map<String,String> prop) throws RemoteException
RemoteExceptionpublic Number getValue()
ParameterStub.get() to a Number. Does
not check if the returned value is of type Number.public Number setValue(Number val)
ParameterStub.set(java.lang.Object) method