Classes | Public Member Functions | Static Public Member Functions | Package Functions | Package Attributes | Private Member Functions | Static Private Attributes
ros.zeroconf.jmdns.BrowserOriginal Class Reference
Inheritance diagram for ros.zeroconf.jmdns.BrowserOriginal:
Inheritance graph
[legend]

List of all members.

Classes

class  ServiceTableModel

Public Member Functions

void serviceAdded (ServiceEvent event)
void serviceRemoved (ServiceEvent event)
void serviceResolved (ServiceEvent event)
void serviceTypeAdded (ServiceEvent event)
void subTypeForServiceTypeAdded (ServiceEvent event)
String toString ()
void valueChanged (ListSelectionEvent e)

Static Public Member Functions

static void main (String argv[]) throws IOException

Package Functions

 BrowserOriginal (JmmDNS mmDNS) throws IOException
void insertSorted (DefaultListModel model, String value)

Package Attributes

JTextArea info
JmmDNS jmmdns
JList serviceList
DefaultListModel services
String type
JList typeList
DefaultListModel types

Private Member Functions

void dislayInfo (ServiceInfo[] serviceInfos)

Static Private Attributes

static final long serialVersionUID = 5750114542524415107L

Detailed Description

User Interface for browsing JmDNS services.

Author:
Arthur van Hoff, Werner Randelshofer

Definition at line 53 of file BrowserOriginal.java.


Constructor & Destructor Documentation

ros.zeroconf.jmdns.BrowserOriginal.BrowserOriginal ( JmmDNS  mmDNS) throws IOException [inline, package]
Parameters:
mmDNS
Exceptions:
IOException

Definition at line 71 of file BrowserOriginal.java.


Member Function Documentation

void ros.zeroconf.jmdns.BrowserOriginal.dislayInfo ( ServiceInfo[]  serviceInfos) [inline, private]

Definition at line 244 of file BrowserOriginal.java.

void ros.zeroconf.jmdns.BrowserOriginal.insertSorted ( DefaultListModel  model,
String  value 
) [inline, package]

Definition at line 199 of file BrowserOriginal.java.

static void ros.zeroconf.jmdns.BrowserOriginal.main ( String  argv[]) throws IOException [inline, static]

Main program.

Parameters:
argv
Exceptions:
IOException

Definition at line 331 of file BrowserOriginal.java.

A service has been added.
Note:This event is only the service added event. The service info associated with this event does not include resolution information.
To get the full resolved information you need to listen to serviceResolved(ServiceEvent) or call JmDNS#getServiceInfo(String, String, long)

  ServiceInfo info = event.getDNS().getServiceInfo(event.getType(), event.getName())
 

Please note that service resolution may take a few second to resolve.

Parameters:
eventThe ServiceEvent providing the name and fully qualified type of the service.

Implements javax.jmdns.ServiceListener.

Definition at line 132 of file BrowserOriginal.java.

A service has been removed.

Parameters:
eventThe ServiceEvent providing the name and fully qualified type of the service.

Implements javax.jmdns.ServiceListener.

Definition at line 149 of file BrowserOriginal.java.

A service has been resolved. Its details are now available in the ServiceInfo record.
Note:This call back will never be called if the service does not resolve.

Parameters:
eventThe ServiceEvent providing the name, the fully qualified type of the service, and the service info record.

Implements javax.jmdns.ServiceListener.

Definition at line 162 of file BrowserOriginal.java.

A new service type was discovered.

Parameters:
eventThe service event providing the fully qualified type of the service.

Implements javax.jmdns.ServiceTypeListener.

Definition at line 178 of file BrowserOriginal.java.

A new subtype for the service type was discovered.

 <sub>._sub.<app>.<protocol>.<servicedomain>.<parentdomain>.
 
Parameters:
eventThe service event providing the fully qualified type of the service with subtype.
Since:
3.2.0

Implements javax.jmdns.ServiceTypeListener.

Definition at line 195 of file BrowserOriginal.java.

Definition at line 321 of file BrowserOriginal.java.

void ros.zeroconf.jmdns.BrowserOriginal.valueChanged ( ListSelectionEvent  e) [inline]

List selection changed.

Parameters:
e

Definition at line 219 of file BrowserOriginal.java.


Member Data Documentation

Definition at line 65 of file BrowserOriginal.java.

Definition at line 58 of file BrowserOriginal.java.

final long ros.zeroconf.jmdns.BrowserOriginal.serialVersionUID = 5750114542524415107L [static, private]

Definition at line 57 of file BrowserOriginal.java.

Definition at line 64 of file BrowserOriginal.java.

DefaultListModel ros.zeroconf.jmdns.BrowserOriginal.services [package]

Definition at line 63 of file BrowserOriginal.java.

Definition at line 60 of file BrowserOriginal.java.

Definition at line 62 of file BrowserOriginal.java.

DefaultListModel ros.zeroconf.jmdns.BrowserOriginal.types [package]

Definition at line 61 of file BrowserOriginal.java.


The documentation for this class was generated from the following file:


zeroconf_jmdns_suite
Author(s): Daniel Stonier
autogenerated on Thu Aug 27 2015 15:50:27