public interface Protocol
ProtocolManager
. Only
registered protocols can be used in Channels or protocol
discrimination.Modifier and Type | Field | Description |
---|---|---|
static byte |
ADMIN |
|
static byte |
CLUSTER |
|
static byte |
CLUSTERS |
|
static byte |
COM |
|
static byte |
DYNAMIC_PROTOCOL |
|
static byte |
HTTP |
|
static byte |
HTTPS |
|
static byte |
IIOP |
|
static byte |
IIOPS |
|
static byte |
JRMP |
|
static byte |
LDAP |
|
static byte |
LDAPS |
|
static java.lang.String |
PROTOCOL_ADMIN_NAME |
The name of the admin protocol.
|
static byte |
QOS_ADMIN |
|
static byte |
QOS_ANY |
An enumeration of possible QOS values.
|
static byte |
QOS_SECURE |
|
static byte |
SNMP |
|
static byte |
T3S |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAsURLPrefix() |
Get a URL prefix for this protocol suitable for use in an
InitialContext url.
|
java.lang.String |
getProtocolName() |
Get the indentifiable name of this protocol.
|
byte |
getQOS() |
Return the QOS of this protocol.
|
boolean |
isEnabled() |
Determine whether this protocol is suitable for use in the
Server.
|
boolean |
isSatisfactoryQOS(byte QOS) |
Determine whether this protocol can satisfy the desired QOS.
|
boolean |
isSecure() |
Determine whether this protocol is secure, i.e.
|
boolean |
isUnknown() |
Deprecated.
|
byte |
toByte() |
Return the index of this Protocol.
|
Protocol |
upgrade() |
upgrade this protocol to a more secure version.
|
static final byte QOS_ANY
static final byte QOS_SECURE
static final byte QOS_ADMIN
static final byte HTTP
static final byte T3S
static final byte HTTPS
static final byte IIOP
static final byte IIOPS
static final byte ADMIN
static final byte COM
static final byte JRMP
static final byte LDAP
static final byte LDAPS
static final byte CLUSTER
static final byte CLUSTERS
static final byte SNMP
static final byte DYNAMIC_PROTOCOL
static final java.lang.String PROTOCOL_ADMIN_NAME
java.lang.String getProtocolName()
java.lang.String getAsURLPrefix()
byte toByte()
byte getQOS()
boolean isSatisfactoryQOS(byte QOS)
boolean isSecure()
@Deprecated boolean isUnknown()
boolean isEnabled()
Protocol upgrade()