|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.remote.message.VersionMessage
public class VersionMessage
This class represents the handshake messages exchanged between the client and the server to agree on the protocol version.
The protocol version is implicitly negotiated by the client and the server when necessary at the beginning of the handshake phase.
Refer to the HandshakeBeginMessage
documentation for a full description of how the protocol version
is negotiated.
The textual representation of the protocol version must be a series of non-negative decimal integers each separated by a period from the one that precedes it. For example, "1.0" is earlier than "1.0.1" and "2.0".
HandshakeBeginMessage
,
Serialized FormConstructor Summary | |
---|---|
VersionMessage(String version)
Constructs a new VersionMessage with the specified protocol version. |
Method Summary | |
---|---|
String |
getVersion()
The latest protocol version acceptable for use. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionMessage(String version)
version
- the latest protocol version acceptable for use.Method Detail |
---|
public String getVersion()
The textual representation of the protocol version must be a series of non-negative decimal integers each separated by a period from the one that precedes it. For example, "1.0" is earlier than "1.0.1" and "2.0".
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |