javax.jmdns.impl
T
- listener typepublic class ListenerStatus<T extends java.util.EventListener> extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ListenerStatus.ServiceListenerStatus |
static class |
ListenerStatus.ServiceTypeListenerStatus |
Modifier and Type | Field and Description |
---|---|
static boolean |
ASYNCHONEOUS |
static boolean |
SYNCHONEOUS |
Constructor and Description |
---|
ListenerStatus(T listener,
boolean synch) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
T |
getListener() |
int |
hashCode() |
boolean |
isSynchronous()
Return
|
java.lang.String |
toString() |
public static final boolean SYNCHONEOUS
public static final boolean ASYNCHONEOUS
public ListenerStatus(T listener, boolean synch)
listener
- listener being tracked.synch
- true if that listener can be called asynchronouslypublic T getListener()
public boolean isSynchronous()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object