Package org.openjdk.jmc.jdp.client
Interface Discoverable
-
- All Known Implementing Classes:
JDPPacket
public interface Discoverable
Discoverable instances represent a discovered JDP beacon transmitting data on the network. Discoverables are used to identify JVM services on the network. Usually the properties in a discoverable can be used to identify an endpoint of communication.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getPayload()
java.lang.String
getSessionId()
-
-
-
Method Detail
-
getSessionId
java.lang.String getSessionId()
- Returns:
- the identifier uniquely identifying the discoverable session. A new session UUID is generated whenever the JDP server is started.
-
getPayload
java.util.Map<java.lang.String,java.lang.String> getPayload()
- Returns:
- the discovery payload.
-
-