Package net.handle.hdllib
Class Interface
java.lang.Object
net.handle.hdllib.Interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
byte
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this interface will respond to requeststatic String
canProcessMsg
(AbstractRequest req, boolean processQueries, boolean processAdminRequests) boolean
int
hashCode()
static final String
protocolName
(byte protocol) toString()
static final String
typeName
(byte type)
-
Field Details
-
ST_OUT_OF_SERVICE
public static final byte ST_OUT_OF_SERVICE- See Also:
-
ST_ADMIN
public static final byte ST_ADMIN- See Also:
-
ST_QUERY
public static final byte ST_QUERY- See Also:
-
ST_ADMIN_AND_QUERY
public static final byte ST_ADMIN_AND_QUERY- See Also:
-
SP_HDL_UDP
public static final byte SP_HDL_UDP- See Also:
-
SP_HDL_TCP
public static final byte SP_HDL_TCP- See Also:
-
SP_HDL_HTTP
public static final byte SP_HDL_HTTP- See Also:
-
SP_HDL_HTTPS
public static final byte SP_HDL_HTTPS- See Also:
-
type
public byte type -
port
public int port -
protocol
public byte protocol
-
-
Constructor Details
-
Interface
public Interface(byte type, byte protocol, int port) -
Interface
public Interface()
-
-
Method Details
-
cloneInterface
-
canHandleRequest
Return true if this interface will respond to request -
toString
-
typeName
-
protocolName
-
hashCode
public int hashCode() -
equals
-
canProcessMsg
public static String canProcessMsg(AbstractRequest req, boolean processQueries, boolean processAdminRequests)
-