final class JRockitJDPPacketDecoder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static char |
DELIMITER |
private static java.lang.String |
KEY_NAME |
private static java.lang.String |
KEY_SERVICE_URL |
static java.lang.String |
KEY_VERSION |
Modifier | Constructor and Description |
---|---|
private |
JRockitJDPPacketDecoder() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkJRockitJDP(byte[] data) |
private static javax.management.remote.JMXServiceURL |
createServiceURL(java.lang.String host,
int port,
boolean useJMXRMI)
Creates a jmx over rmi or "jmx over rmp" service URL.
|
private static void |
decodeExtendedInfo(java.util.Map<java.lang.String,java.lang.String> result,
java.lang.String extendedInfo)
Decodes the extendedInfo into the hash map.
|
static java.util.Map<java.lang.String,java.lang.String> |
decodeJRockitJDP(byte[] data) |
private static boolean |
useJMXMAPI(java.lang.String token) |
public static final java.lang.String KEY_VERSION
private static final char DELIMITER
private static final java.lang.String KEY_SERVICE_URL
private static final java.lang.String KEY_NAME
public static boolean checkJRockitJDP(byte[] data)
public static java.util.Map<java.lang.String,java.lang.String> decodeJRockitJDP(byte[] data)
private static boolean useJMXMAPI(java.lang.String token)
private static javax.management.remote.JMXServiceURL createServiceURL(java.lang.String host, int port, boolean useJMXRMI) throws java.net.MalformedURLException
host
- the host name.port
- port or JMXDescriptorBuilder#DEFAULT_PORT
for the default port for the
selected protocoluseJMXRMI
- true if JMX over RMI should be used, false to use JMX over RMPJMXServiceURL
.java.net.MalformedURLException
- if the URL could not be created with the provided data.private static void decodeExtendedInfo(java.util.Map<java.lang.String,java.lang.String> result, java.lang.String extendedInfo)
result
- extendedInfo
-