public class FitsParameterStub extends ParameterStub
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 |
|---|
FitsParameterStub(Map<String,String> prop)
Constructs a new paramter stub.
|
FitsParameterStub(String remotename)
For convenience, we support a constructor with only the remote name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdate(RmiUpdateListener ear)
Registers an update listener.
|
Date |
getDateObs()
Gets the value of the remotely wrapped fits parameter that has the
observing time of the fits.
|
double |
getExposureTime()
Gets the value of the remotely wrapped fits parameter that has the
exposure time of the fits.
|
long |
getRegistered()
Gets the value of the remotely wrapped fits parameter that has the
registering time of the fits.
|
void |
removeUpdate(RmiUpdateListener ear)
Registers an update listener.
|
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, waitreloaddefaultBoolean, 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 FitsParameterStub(String remotename) throws RemoteException, InitException
ParameterStub.init().InitExceptionRemoteExceptionpublic FitsParameterStub(Map<String,String> prop) throws RemoteException
RemoteParameter. If the remote counterpart is not
yet bound, a retry loop, defined with ParameterStub.KEY_RETRY and
ParameterStub.KEY_WAIT is started during which the parameter waits for the
server to come up.RemoteExceptionpublic double getExposureTime()
public Date getDateObs()
public long getRegistered()
public void addUpdate(RmiUpdateListener ear)
public void removeUpdate(RmiUpdateListener ear)