javax.jmdns

Class ServiceEvent

Known Direct Subclasses:
ServiceEventImpl

public abstract class ServiceEvent
extends EventObject

Constructor Summary

ServiceEvent(Object source)

Method Summary

abstract JmDNS
getDNS()
Returns the JmDNS instance which originated the event.
abstract ServiceInfo
getInfo()
abstract String
getName()
Returns the instance name of the service.
abstract String
getType()
Returns the fully qualified type of the service.

Constructor Details

ServiceEvent

public ServiceEvent(Object source)

Method Details

getDNS

public abstract JmDNS getDNS()
Returns the JmDNS instance which originated the event.

getInfo

public abstract ServiceInfo getInfo()
See Also:
getInfo()

getName

public abstract String getName()
Returns the instance name of the service. Always returns null, if the event is sent to a service type listener.

getType

public abstract String getType()
Returns the fully qualified type of the service.