|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.remote.AbstractConnection.ListenerDelegate<K>
K - the listener interfacepublic static class AbstractConnection.ListenerDelegate<K>
The ListenerDelegate is the base class for listener delegates.
| Constructor Summary | |
|---|---|
AbstractConnection.ListenerDelegate()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String pName,
K pListener)
Adds a listener for a specific name. |
java.util.List<K> |
getListeners(java.lang.String pName)
Gets all available listeners for the given name. |
void |
remove(K pListener)
Removes a listener from internal listener lists. |
void |
remove(java.lang.String pName,
K pListener)
Removes a specific or all listener for a specific name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractConnection.ListenerDelegate()
| Method Detail |
|---|
public java.util.List<K> getListeners(java.lang.String pName)
pName - the name
public void add(java.lang.String pName,
K pListener)
pName - the namepListener - the listener for the name
public void remove(java.lang.String pName,
K pListener)
pName - the namepListener - the listener or null to remove all listenerspublic void remove(K pListener)
pListener - the listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||