net.dpml.metro.runtime
Class UnicastEventSource
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
net.dpml.util.UnicastEventSource
net.dpml.metro.runtime.UnicastEventSource
- All Implemented Interfaces:
- Disposable, EventHandler, Remote, Serializable
- public abstract class UnicastEventSource
- extends UnicastEventSource
- implements Disposable
A abstract base class that established an event queue and handles event dispatch
operations for listeners declared in a class extending this base class.
- Version:
- 1.0.2
- Author:
- Digital Product Meta Library
- See Also:
- Serialized Form
Method Summary |
void |
dispose()
Handle instance disposal. |
protected boolean |
isDisposed()
Retun the disposed state of this event source. |
UnicastEventSource
protected UnicastEventSource(EventQueue queue,
Logger logger)
throws RemoteException
- Creation of a new UnicastEventSource.
- Parameters:
queue
- the system event queuelogger
- the assigned logging channel
- Throws:
RemoteException
- if a remote I/O exception occurs
isDisposed
protected boolean isDisposed()
- Retun the disposed state of this event source.
- Returns:
- true if disposed
dispose
public void dispose()
- Handle instance disposal.
- Specified by:
dispose
in interface Disposable