public abstract class ServiceEvent
extends java.util.EventObject
implements java.lang.Cloneable
| Constructor and Description |
|---|
ServiceEvent(java.lang.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 java.lang.String |
getName()
Returns the instance name of the service.
|
abstract java.lang.String |
getType()
Returns the fully qualified type of the service.
|
public ServiceEvent(java.lang.Object eventSource)
eventSource - The object on which the Event initially occurred.java.lang.IllegalArgumentException - if source is null.public abstract JmDNS getDNS()
public abstract java.lang.String getType()
public abstract java.lang.String getName()
public abstract ServiceInfo getInfo()
getInfo()public ServiceEvent clone()
clone in class java.lang.Object