Package org.openjdk.jmc.jdp.common
Class JDPPacket
java.lang.Object
org.openjdk.jmc.jdp.common.JDPPacket
- All Implemented Interfaces:
Discoverable
Class for delivering and retrieving the content.
-
Constructor Details
-
JDPPacket
-
JDPPacket
- Throws:
CodingException
-
-
Method Details
-
getPayload
- Specified by:
getPayload
in interfaceDiscoverable
- Returns:
- the discovery payload.
-
getSessionId
- Specified by:
getSessionId
in interfaceDiscoverable
- Returns:
- the identifier uniquely identifying the discoverable session. A new session UUID is generated whenever the JDP server is started.
-
getDiscoveryDataAsByteArray
public byte[] getDiscoveryDataAsByteArray() -
hashCode
public int hashCode() -
equals
-
toString
-