Package net.handle.hdllib
Class Interface
- java.lang.Object
- 
- net.handle.hdllib.Interface
 
- 
 public class Interface extends java.lang.Object
- 
- 
Field SummaryFields 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 SummaryAll 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_SERVICEpublic static final byte ST_OUT_OF_SERVICE - See Also:
- Constant Field Values
 
 - 
ST_ADMINpublic static final byte ST_ADMIN - See Also:
- Constant Field Values
 
 - 
ST_QUERYpublic static final byte ST_QUERY - See Also:
- Constant Field Values
 
 - 
ST_ADMIN_AND_QUERYpublic static final byte ST_ADMIN_AND_QUERY - See Also:
- Constant Field Values
 
 - 
SP_HDL_UDPpublic static final byte SP_HDL_UDP - See Also:
- Constant Field Values
 
 - 
SP_HDL_TCPpublic static final byte SP_HDL_TCP - See Also:
- Constant Field Values
 
 - 
SP_HDL_HTTPpublic static final byte SP_HDL_HTTP - See Also:
- Constant Field Values
 
 - 
SP_HDL_HTTPSpublic static final byte SP_HDL_HTTPS - See Also:
- Constant Field Values
 
 - 
typepublic byte type 
 - 
portpublic int port 
 - 
protocolpublic byte protocol 
 
- 
 - 
Method Detail- 
cloneInterfacepublic Interface cloneInterface() 
 - 
canHandleRequestpublic boolean canHandleRequest(AbstractRequest req) Return true if this interface will respond to request
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
typeNamepublic static final java.lang.String typeName(byte type) 
 - 
protocolNamepublic static final java.lang.String protocolName(byte protocol) 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
canProcessMsgpublic static java.lang.String canProcessMsg(AbstractRequest req, boolean processQueries, boolean processAdminRequests) 
 
- 
 
-