javax.jmdns.impl

Class ServiceEventImpl


public class ServiceEventImpl
extends ServiceEvent

ServiceEvent.

Constructor Summary

ServiceEventImpl(JmDNSImpl source, String type, String name, ServiceInfoImpl info)
Creates a new instance.

Method Summary

JmDNS
getDNS()
ServiceInfo
getInfo()
String
getName()
String
getType()
String
toString()

Methods inherited from class javax.jmdns.ServiceEvent

getDNS, getInfo, getName, getType

Constructor Details

ServiceEventImpl

public ServiceEventImpl(JmDNSImpl source,
                        String type,
                        String name,
                        ServiceInfoImpl info)
Creates a new instance.
Parameters:
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.

Method Details

getDNS

public JmDNS getDNS()
Overrides:
getDNS in interface ServiceEvent

getInfo

public ServiceInfo getInfo()
Overrides:
getInfo in interface ServiceEvent

getName

public String getName()
Overrides:
getName in interface ServiceEvent

getType

public String getType()
Overrides:
getType in interface ServiceEvent

toString

public String toString()
See Also:
javax.jmdns.ServiceEvent.toString()