All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Public Member Functions | Private Attributes | Static Private Attributes
javax.jmdns.impl.ServiceEventImpl Class Reference
Inheritance diagram for javax.jmdns.impl.ServiceEventImpl:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

ServiceEvent.

Author:
Werner Randelshofer, Rick Blair

Definition at line 19 of file ServiceEventImpl.java.


Constructor & Destructor Documentation

javax.jmdns.impl.ServiceEventImpl.ServiceEventImpl ( JmDNSImpl  jmDNS,
String  type,
String  name,
ServiceInfo  info 
) [inline]

Creates a new instance.

Parameters:
jmDNSthe JmDNS instance which originated the event.
typethe type name of the service.
namethe instance name of the service.
infothe service info record, or null if the service could be be resolved.

Definition at line 50 of file ServiceEventImpl.java.


Member Function Documentation

Reimplemented from javax.jmdns.ServiceEvent.

Definition at line 119 of file ServiceEventImpl.java.

Returns the JmDNS instance which originated the event.

Returns:
JmDNS instance

Implements javax.jmdns.ServiceEvent.

Definition at line 62 of file ServiceEventImpl.java.

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.

Returns:
service info record
See also:
javax.jmdns.ServiceEvent::getInfo()

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.

Returns:
name of the service

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.

Returns:
type of the service.

Implements javax.jmdns.ServiceEvent.

Definition at line 71 of file ServiceEventImpl.java.

Definition at line 89 of file ServiceEventImpl.java.


Member Data Documentation

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.

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.

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


zeroconf_jmdns
Author(s): Daniel Stonier
autogenerated on Tue Nov 6 2012 14:18:58