org.ws4d.java.communication
Class ProtocolInfo
java.lang.Object
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.
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ProtocolInfo
public ProtocolInfo()
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