T
- listener typepublic class ListenerStatus<T extends EventListener> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ListenerStatus.ServiceListenerStatus |
static class |
ListenerStatus.ServiceTypeListenerStatus |
Modifier and Type | Field and Description |
---|---|
static boolean |
ASYNCHRONOUS |
static boolean |
SYNCHRONOUS |
Constructor and Description |
---|
ListenerStatus(T listener,
boolean synch) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
T |
getListener() |
int |
hashCode() |
boolean |
isSynchronous()
Return
|
String |
toString() |
public static final boolean SYNCHRONOUS
public static final boolean ASYNCHRONOUS
public ListenerStatus(T listener, boolean synch)
listener
- listener being tracked.synch
- true if that listener can be called asynchronouslypublic T getListener()
public boolean isSynchronous()
Copyright © 2002–2017 JmDNS. All rights reserved.