Public Member Functions | |
ServiceEventImpl | clone () |
JmDNS | getDNS () |
ServiceInfo | getInfo () |
String | getName () |
String | getType () |
ServiceEventImpl (JmDNSImpl jmDNS, String type, String name, ServiceInfo info) | |
String | toString () |
Private Attributes | |
final ServiceInfo | _info |
final String | _name |
final String | _type |
Static Private Attributes | |
static final long | serialVersionUID = 7107973622016897488L |
Definition at line 19 of file ServiceEventImpl.java.
javax.jmdns.impl.ServiceEventImpl.ServiceEventImpl | ( | JmDNSImpl | jmDNS, |
String | type, | ||
String | name, | ||
ServiceInfo | info | ||
) | [inline] |
Creates a new instance.
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. |
Definition at line 50 of file ServiceEventImpl.java.
ServiceEventImpl javax.jmdns.impl.ServiceEventImpl.clone | ( | ) | [inline] |
Reimplemented from javax.jmdns.ServiceEvent.
Definition at line 119 of file ServiceEventImpl.java.
JmDNS javax.jmdns.impl.ServiceEventImpl.getDNS | ( | ) | [inline, virtual] |
Returns the JmDNS instance which originated the event.
Implements javax.jmdns.ServiceEvent.
Definition at line 62 of file ServiceEventImpl.java.
ServiceInfo javax.jmdns.impl.ServiceEventImpl.getInfo | ( | ) | [inline, virtual] |
Returns the service info record, or null if the service could not be resolved. Always returns null, if the event is sent to a service type listener.
Implements javax.jmdns.ServiceEvent.
Definition at line 110 of file ServiceEventImpl.java.
String javax.jmdns.impl.ServiceEventImpl.getName | ( | ) | [inline, virtual] |
Returns the instance name of the service. Always returns null, if the event is sent to a service type listener.
Implements javax.jmdns.ServiceEvent.
Definition at line 80 of file ServiceEventImpl.java.
String javax.jmdns.impl.ServiceEventImpl.getType | ( | ) | [inline, virtual] |
Returns the fully qualified type of the service.
Implements javax.jmdns.ServiceEvent.
Definition at line 71 of file ServiceEventImpl.java.
String javax.jmdns.impl.ServiceEventImpl.toString | ( | ) | [inline] |
Definition at line 89 of file ServiceEventImpl.java.
final ServiceInfo javax.jmdns.impl.ServiceEventImpl._info [private] |
The service info record, or null if the service could be be resolved. This is also null, if the event was fired to a service type listener.
Definition at line 36 of file ServiceEventImpl.java.
final String javax.jmdns.impl.ServiceEventImpl._name [private] |
The instance name of the service. Or null, if the event was fired to a service type listener.
Definition at line 32 of file ServiceEventImpl.java.
final String javax.jmdns.impl.ServiceEventImpl._type [private] |
The type name of the service.
Definition at line 28 of file ServiceEventImpl.java.
final long javax.jmdns.impl.ServiceEventImpl.serialVersionUID = 7107973622016897488L [static, private] |
Reimplemented from javax.jmdns.ServiceEvent.
Definition at line 23 of file ServiceEventImpl.java.