public class ServiceEventImpl extends ServiceEvent
| 构造器和说明 |
|---|
ServiceEventImpl(JmDNSImpl jmDNS,
java.lang.String type,
java.lang.String name,
ServiceInfo info)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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 ServiceEventImpl(JmDNSImpl jmDNS, java.lang.String type, java.lang.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 在类中 ServiceEventpublic java.lang.String getType()
ServiceEventgetType 在类中 ServiceEventpublic java.lang.String getName()
ServiceEventgetName 在类中 ServiceEventpublic java.lang.String toString()
toString 在类中 java.util.EventObjectpublic ServiceInfo getInfo()
ServiceEventgetInfo 在类中 ServiceEventServiceEvent.getInfo()public ServiceEventImpl clone()
clone 在类中 ServiceEvent