org.ws4d.java.dispatch
Class HelloData

java.lang.Object
  extended by org.ws4d.java.dispatch.HelloData

public class HelloData
extends java.lang.Object

Data associated with a received hello message. A device reference created by this data is more specific than another created only by an endpoint reference.


Constructor Summary
HelloData(HelloMessage hello, ProtocolData protocolData)
           
 
Method Summary
 Iterator getDevicePortTypes()
          Get port types of the device transmitted by the hello message.
 EndpointReference getEndpointReference()
          Get endpoint reference of the device transmitted by the hello message.
 long getMetadataVersion()
          Get metadata version of the device transmitted by the hello message.
 ProtocolData getProtocolData()
           
 Iterator getScopes()
          Get scopes of the device transmitted by the hello message.
 ProtocolInfo getVersion()
          Get the ProtocolVersion of the Hello message.
 Iterator getXAddressInfos()
          Get transport addresses of the device transmitted by the hello message.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HelloData

public HelloData(HelloMessage hello,
                 ProtocolData protocolData)
Method Detail

getEndpointReference

public EndpointReference getEndpointReference()
Get endpoint reference of the device transmitted by the hello message.

Returns:
the endpoint reference of the device

getMetadataVersion

public long getMetadataVersion()
Get metadata version of the device transmitted by the hello message.

Returns:
the metadata version of the device

getScopes

public Iterator getScopes()
Get scopes of the device transmitted by the hello message.

Returns:
the scopes of the device

getDevicePortTypes

public Iterator getDevicePortTypes()
Get port types of the device transmitted by the hello message.

Returns:
the device port types

getXAddressInfos

public Iterator getXAddressInfos()
Get transport addresses of the device transmitted by the hello message.

Returns:
the XAddressInfos of the device

getVersion

public ProtocolInfo getVersion()
Get the ProtocolVersion of the Hello message.

Returns:

toString

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

getProtocolData

public ProtocolData getProtocolData()