Package net.handle.hdllib
Class Interface
- java.lang.Object
-
- net.handle.hdllib.Interface
-
public class Interface extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description int
port
byte
protocol
static byte
SP_HDL_HTTP
static byte
SP_HDL_HTTPS
static byte
SP_HDL_TCP
static byte
SP_HDL_UDP
static byte
ST_ADMIN
static byte
ST_ADMIN_AND_QUERY
static byte
ST_OUT_OF_SERVICE
static byte
ST_QUERY
byte
type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canHandleRequest(AbstractRequest req)
Return true if this interface will respond to requeststatic java.lang.String
canProcessMsg(AbstractRequest req, boolean processQueries, boolean processAdminRequests)
Interface
cloneInterface()
boolean
equals(java.lang.Object obj)
int
hashCode()
static java.lang.String
protocolName(byte protocol)
java.lang.String
toString()
static java.lang.String
typeName(byte type)
-
-
-
Field Detail
-
ST_OUT_OF_SERVICE
public static final byte ST_OUT_OF_SERVICE
- See Also:
- Constant Field Values
-
ST_ADMIN
public static final byte ST_ADMIN
- See Also:
- Constant Field Values
-
ST_QUERY
public static final byte ST_QUERY
- See Also:
- Constant Field Values
-
ST_ADMIN_AND_QUERY
public static final byte ST_ADMIN_AND_QUERY
- See Also:
- Constant Field Values
-
SP_HDL_UDP
public static final byte SP_HDL_UDP
- See Also:
- Constant Field Values
-
SP_HDL_TCP
public static final byte SP_HDL_TCP
- See Also:
- Constant Field Values
-
SP_HDL_HTTP
public static final byte SP_HDL_HTTP
- See Also:
- Constant Field Values
-
SP_HDL_HTTPS
public static final byte SP_HDL_HTTPS
- See Also:
- Constant Field Values
-
type
public byte type
-
port
public int port
-
protocol
public byte protocol
-
-
Method Detail
-
cloneInterface
public Interface cloneInterface()
-
canHandleRequest
public boolean canHandleRequest(AbstractRequest req)
Return true if this interface will respond to request
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
typeName
public static final java.lang.String typeName(byte type)
-
protocolName
public static final java.lang.String protocolName(byte protocol)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
canProcessMsg
public static java.lang.String canProcessMsg(AbstractRequest req, boolean processQueries, boolean processAdminRequests)
-
-