util.rmi
Interface RmiEventListener
- All Superinterfaces:
- EventListener, Remote, RmiListener
- All Known Subinterfaces:
- RmiAcknowledgeListener, RmiCommandListener, RmiDataListener, RmiDoneListener, RmiErrorListener, RmiSerialListener, RmiWeatherListener
- All Known Implementing Classes:
- AbstractErrorHandler, AbstractRmiCasterAndListener, AbstractRmiListener, AdapterCaster, AdapterMaster, AdapterSimulator, ApplicationJoiner, AuxiliaryCaster, AuxiliaryMaster, AuxiliarySimulator, CalibrationCaster, CalibrationMaster, CalibrationSimulator, CasterTorso, CCDCaster, DailyDump, DailyDumpRepository, DatabaseNow, DeviceSimulator, DistinctCaster, DomeMaster, DomeSimulator, EnvironmentCaster, EnvironmentMaster, EnvironmentSimulator, ErrorRelay, FieldSerializer, FileDump, FitsRelay, FitsUpdateListener, GenericMaster, GenericMaster.Standalone, GenericSimulator, GregorTelescopeCaster, JAdapter, JEnvironment, JImageURLButton.ImageListener, JLaunchBox, JMasterFrame, JMessageListener, JPointingGrabber, JSwitcherStub, MasterErrorHandler, MasterListener, MessageListener, MyRmiListener, PilarTelescopeCaster, PointingGrabber, ReadoutRepository, ReceiverTorso, RmiSystemErrListener, RmiSystemOutListener, SesMaster, SesSimulator, ShelterMaster, SpectrographCaster, StatusSerializer, TargetChangeListener, TelescopeAuxiliaryCaster, TelescopeCaster, TelescopeMaster, TelescopeSimulator, TestCaster, TestReceiver, TransferListener, WifsipCaster, WifsipMaster, WifsipSimulator, WifsipTelescopeCaster
public interface RmiEventListener
- extends RmiListener, EventListener
This is the base interface each rmi-event listener should extend. It
provides two methods. RmiListener.isConnected() gives the caster the
possibility to check if the reference it has to the remote listener is
still valid. Note that this method is not as necessary as the appropriate
RmiCaster.isValid() method because a caster will always recognize
that the appropriate listener has crashed once it tries to submitt an
event to it.
The #rebind method allows the caster to signal to the listener that
the reference will get invalid within the stated time and that the listener
should rebind to the caster after the stated period.
|
Method Summary |
String |
getListenerName()
Returns the name of this listener, meant for increased readability. |
getListenerName
String getListenerName()
throws RemoteException
- Returns the name of this listener, meant for increased readability.
- Throws:
RemoteException