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 intportbyteprotocolstatic byteSP_HDL_HTTPstatic byteSP_HDL_HTTPSstatic byteSP_HDL_TCPstatic byteSP_HDL_UDPstatic byteST_ADMINstatic byteST_ADMIN_AND_QUERYstatic byteST_OUT_OF_SERVICEstatic byteST_QUERYbytetype
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandleRequest(AbstractRequest req)Return true if this interface will respond to requeststatic java.lang.StringcanProcessMsg(AbstractRequest req, boolean processQueries, boolean processAdminRequests)InterfacecloneInterface()booleanequals(java.lang.Object obj)inthashCode()static java.lang.StringprotocolName(byte protocol)java.lang.StringtoString()static java.lang.StringtypeName(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:
toStringin 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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
canProcessMsg
public static java.lang.String canProcessMsg(AbstractRequest req, boolean processQueries, boolean processAdminRequests)
-
-