public class ServiceEvent extends java.util.EventObject
| Constructor and Description |
|---|
ServiceEvent(JmDNS source,
java.lang.String type,
java.lang.String name,
ServiceInfo info)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getName()
Returns the instance name of the service.
|
java.lang.String |
getType()
Returns the fully qualified type of the service.
|
java.lang.String |
toString() |
public ServiceEvent(JmDNS source, java.lang.String type, java.lang.String name, ServiceInfo info)
source - 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 java.lang.String getType()
public java.lang.String getName()
public ServiceInfo getInfo()
public java.lang.String toString()
toString in class java.util.EventObjectCopyright © 2005-2012. All Rights Reserved.