org.ws4d.java.communication
Class ProtocolInfo

java.lang.Object
  extended by org.ws4d.java.communication.ProtocolInfo

public abstract class ProtocolInfo
extends java.lang.Object

Instances of this interface encapsulate information for a specific communication protocol, such as DPWS. They are meant to be opaque for everyone else but the communication manager instance dedicated to exactly this protocol.


Constructor Summary
ProtocolInfo()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
abstract  java.lang.String getDisplayName()
          Returns a short description of the version and protocol this instance refers to, e.g.
 int getVersion()
           
 int hashCode()
           
abstract  void merge(ProtocolInfo version)
          Merges the best configuration,
abstract  ProtocolInfo newClone()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolInfo

public ProtocolInfo()
Method Detail

newClone

public abstract ProtocolInfo newClone()

getDisplayName

public abstract java.lang.String getDisplayName()
Returns a short description of the version and protocol this instance refers to, e.g. DPWS 1.1.

Returns:
a short description of this instance version and protocol

merge

public abstract void merge(ProtocolInfo version)
Merges the best configuration,

Parameters:
version -

getVersion

public int getVersion()

toString

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object