public abstract class RemoteListener
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
RemoteListener(int remoteOwnerHashCode,
java.lang.Class<?> remoteOwnerClass) |
Modifier and Type | Method and Description |
---|---|
static RemoteListener |
getInstanceFromThisListener(java.util.EventListener listener)
This static method identifies and returns an instance from the appropriate RemoteListener derived class.
|
protected int |
getOwnerHashCode() |
protected java.lang.String |
getRemoteOwnerClassName() |
boolean |
isTheOwnerOfThisClass(java.lang.Class<?> clazz)
This method returns true if the owner of this remote listener is of the class of the clazz parameter.
|
protected void |
sendEventToOriginalListener(java.util.EventObject evt) |
void |
setConnector(RemoteEventManager connector)
This method sets the connector through which the events are sent to the local class.
|
protected RemoteListener(int remoteOwnerHashCode, java.lang.Class<?> remoteOwnerClass)
public void setConnector(RemoteEventManager connector)
connector
- a RemoteEventManager instanceprotected int getOwnerHashCode()
protected java.lang.String getRemoteOwnerClassName()
public static RemoteListener getInstanceFromThisListener(java.util.EventListener listener)
listener
- an EventListener classprotected final void sendEventToOriginalListener(java.util.EventObject evt)
public boolean isTheOwnerOfThisClass(java.lang.Class<?> clazz)
clazz
- a Class instance