T - The type of resolved address.public final class DefaultServiceDiscovererEvent<T> extends java.lang.Object implements ServiceDiscovererEvent<T>
ServiceDiscovererEvent.| Constructor and Description |
|---|
DefaultServiceDiscovererEvent(T address,
boolean available)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
address()
Get the resolved address which is the subject of this event.
|
boolean |
isAvailable()
Determine if
ServiceDiscovererEvent.address() is now available or unavailable. |
java.lang.String |
toString() |
public T address()
ServiceDiscovererEventaddress in interface ServiceDiscovererEvent<T>public boolean isAvailable()
ServiceDiscovererEventServiceDiscovererEvent.address() is now available or unavailable.isAvailable in interface ServiceDiscovererEvent<T>true if ServiceDiscovererEvent.address() is now available or false if the ServiceDiscovererEvent.address() is now
unavailable.public java.lang.String toString()
toString in class java.lang.Object