public abstract class ServiceEvent extends EventObject implements Cloneable
source
Constructor and Description |
---|
ServiceEvent(Object eventSource)
Constructs a Service Event.
|
Modifier and Type | Method and Description |
---|---|
ServiceEvent |
clone() |
abstract JmDNS |
getDNS()
Returns the JmDNS instance which originated the event.
|
abstract ServiceInfo |
getInfo()
Returns the service info record, or null if the service could not be resolved.
|
abstract String |
getName()
Returns the instance name of the service.
|
abstract String |
getType()
Returns the fully qualified type of the service.
|
getSource, toString
public ServiceEvent(Object eventSource)
eventSource
- The object on which the Event initially occurred.IllegalArgumentException
- if source is null.public abstract JmDNS getDNS()
public abstract String getType()
public abstract String getName()
public abstract ServiceInfo getInfo()
getInfo()
public ServiceEvent clone()
Copyright © 2002–2019 JmDNS. All rights reserved.