org.ws4d.java.client
Class SearchPath

java.lang.Object
  extended by org.ws4d.java.client.SearchPath

public class SearchPath
extends java.lang.Object

A search path is an abstract way to describe a technology (e.g. DPWS, Bluetooth, ZigBee, etc.) and a physical or virtual interface of the local machine within this technology (such as an IP address, a network adapter name, a serial port number, etc.). Such interfaces are referred to as domain identifiers whereas different technologies are represented by specific technology identifiers.


Constructor Summary
SearchPath(java.lang.String technologyId, java.lang.String domainId)
          Creates a new search path with the given technology ID and domain ID.
 
Method Summary
 java.lang.String getDomainIdentifier()
          Returns e.g. for DPWS the interface name or IP address/DNS name.
 java.lang.String getTechnologyIdentifier()
          Returns the technology ID, e.g.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SearchPath

public SearchPath(java.lang.String technologyId,
                  java.lang.String domainId)
Creates a new search path with the given technology ID and domain ID.

Parameters:
technologyId - the identifier of the technology over which to search, e.g. DPWS, BT (Bluetooth), ZB (ZigBee), etc.
domainId - the ID of a technology-specific interface, such as IP address or network interface name, etc.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getTechnologyIdentifier

public java.lang.String getTechnologyIdentifier()
Returns the technology ID, e.g. DPWS.

Returns:
the technology identifier of this search path

getDomainIdentifier

public java.lang.String getDomainIdentifier()
Returns e.g. for DPWS the interface name or IP address/DNS name.

Returns:
the domain identifier referring to a physical or logical interface of the local machine within the specified technology