Serializable, Cloneablepublic class ServiceEventImpl extends ServiceEvent
source| Constructor | Description |
|---|---|
ServiceEventImpl(JmDNSImpl jmDNS,
String type,
String name,
ServiceInfo info) |
Creates a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
ServiceEventImpl |
clone() |
|
JmDNS |
getDNS() |
Returns the JmDNS instance which originated the event.
|
ServiceInfo |
getInfo() |
Returns the service info record, or null if the service could not be resolved.
|
String |
getName() |
Returns the instance name of the service.
|
String |
getType() |
Returns the fully qualified type of the service.
|
String |
toString() |
getSourcepublic ServiceEventImpl(JmDNSImpl jmDNS, String type, String name, ServiceInfo info)
jmDNS - the JmDNS instance which originated the event.type - the type name of the service.name - the instance name of the service.info - the service info record, or null if the service could be be resolved.public JmDNS getDNS()
ServiceEventgetDNS in class ServiceEventpublic String getType()
ServiceEventgetType in class ServiceEventpublic String getName()
ServiceEventgetName in class ServiceEventpublic String toString()
toString in class EventObjectpublic ServiceInfo getInfo()
ServiceEventgetInfo in class ServiceEventServiceEvent.getInfo()public ServiceEventImpl clone()
clone in class ServiceEventCopyright © 2002–2018 JmDNS. All rights reserved.