public class MainDetectionManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROTO_ADDR_SEPARATOR |
static java.lang.String |
PROTO_ADDRESSES_SEPARATOR |
static java.lang.String |
PROTO_CMD_GETMAIN |
static java.lang.String |
PROTO_CMD_PING |
static java.lang.String |
PROTO_ENCODING |
static java.lang.String |
PROTO_RESP_ERR |
static java.lang.String |
PROTO_RESP_NOTFOUND |
static java.lang.String |
PROTO_RESP_OK |
static java.lang.String |
PROTO_VERSION |
Constructor and Description |
---|
MainDetectionManager() |
Modifier and Type | Method and Description |
---|---|
static int |
checkProtocolVersion(java.lang.String request) |
static jade.core.MulticastMainDetectionListener |
createListener(ProfileImpl profile,
IMTPManager m) |
static java.lang.String |
decodeData(byte[] data) |
static void |
detect(ProfileImpl profile) |
public static final java.lang.String PROTO_VERSION
public static final java.lang.String PROTO_ENCODING
public static final java.lang.String PROTO_CMD_GETMAIN
public static final java.lang.String PROTO_CMD_PING
public static final java.lang.String PROTO_ADDRESSES_SEPARATOR
public static final java.lang.String PROTO_ADDR_SEPARATOR
public static final java.lang.String PROTO_RESP_OK
public static final java.lang.String PROTO_RESP_ERR
public static final java.lang.String PROTO_RESP_NOTFOUND
public static java.lang.String decodeData(byte[] data)
public static int checkProtocolVersion(java.lang.String request) throws java.lang.Exception
java.lang.Exception
public static void detect(ProfileImpl profile) throws ProfileException
ProfileException
public static jade.core.MulticastMainDetectionListener createListener(ProfileImpl profile, IMTPManager m) throws ProfileException
ProfileException