Package net.handle.hdllib
Class Interface
java.lang.Object
net.handle.hdllib.Interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionintbytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytebyte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this interface will respond to requeststatic StringcanProcessMsg(AbstractRequest req, boolean processQueries, boolean processAdminRequests) booleaninthashCode()static final StringprotocolName(byte protocol) toString()static final StringtypeName(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)
-