|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEventListenerR.WrapperL<R>
@ThreadSafe public abstract static class EventListenerR.WrapperL<R extends EventListenerR>
A wrapper of a remote event listener that conforms it to an equivalent local type, by handling any remote exceptions. Used in cases where the remote type is otherwise identical to the local (as PropertyChangeListenerR is to PropertyChangeListener). It makes the remote instance assignment-compatible with the local type, by catching and handling any remote exceptions during event dispatch. Usually a Catcher is used for this purpose, but it depends on the implementing subclass.
Field Summary | |
---|---|
protected R |
remoteListener
|
Constructor Summary | |
---|---|
protected |
EventListenerR.WrapperL(R remoteListener)
Creates a WrapperL. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Returns true iff o wraps, or is, an 'equal' underlying remote listener. |
int |
hashCode()
Returns the same hash code as the underlying remote listener. |
R |
remoteListener()
Underlying remote listener. |
String |
toString()
Returns the same string as the underlying remote listener, but prefixed by "local wrap of: ". |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final R extends EventListenerR remoteListener
Constructor Detail |
---|
protected EventListenerR.WrapperL(R remoteListener)
remoteListener
- underlying remote listener,
per remoteListener()Method Detail |
---|
public final R remoteListener()
public final boolean equals(Object o)
equals
in class Object
public final int hashCode()
hashCode
in class Object
public final String toString()
toString
in class Object
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |