|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.jmdns.ServiceEvent
javax.jmdns.impl.ServiceEventImpl
public class ServiceEventImpl
ServiceEvent.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ServiceEventImpl(JmDNSImpl jmDNS,
java.lang.String type,
java.lang.String name,
ServiceInfoImpl info)
Creates a new instance. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceEventImpl(JmDNSImpl jmDNS, java.lang.String type, java.lang.String name, ServiceInfoImpl 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.Method Detail |
---|
public JmDNS getDNS()
ServiceEvent
getDNS
in class ServiceEvent
ServiceEvent.getDNS()
public java.lang.String getType()
ServiceEvent
getType
in class ServiceEvent
ServiceEvent.getType()
public java.lang.String getName()
ServiceEvent
getName
in class ServiceEvent
ServiceEvent.getName()
public java.lang.String toString()
toString
in class java.util.EventObject
EventObject.toString()
public ServiceInfo getInfo()
ServiceEvent
getInfo
in class ServiceEvent
ServiceEvent.getInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |