net.handle.hdllib
Class Interface
java.lang.Object
net.handle.hdllib.Interface
public class Interface
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
Interface
public Interface(byte type,
byte protocol,
int port)
Interface
public Interface()
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 class java.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 class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
canProcessMsg
public static java.lang.String canProcessMsg(AbstractRequest req,
boolean processQueries,
boolean processAdminRequests)