| java.lang.Object java.lang.Thread de.anomic.server.serverAbstractThread de.anomic.server.serverCore
Inner Class :final public class Session extends Thread | |
Inner Class :public class Restarter extends Thread | |
CR | final public static byte CR(Code) | | |
CRLF | final public static byte[] CRLF(Code) | | |
HT | final public static byte HT(Code) | | |
LF | final public static byte LF(Code) | | |
RESUME_CONNECTION | final public static Boolean RESUME_CONNECTION(Code) | | |
SP | final public static byte SP(Code) | | |
TERMINATE_CONNECTION | final public static Boolean TERMINATE_CONNECTION(Code) | | |
commandMaxLength | int commandMaxLength(Code) | | |
forceRestart | public boolean forceRestart(Code) | | |
portForwardingEnabled | public static boolean portForwardingEnabled(Code) | | |
startupTime | final public static long startupTime(Code) | | |
stringType | final public static Class>[] stringType(Code) | | |
useStaticIP | public static boolean useStaticIP(Code) | | |
close | public synchronized void close()(Code) | | |
freemem | public void freemem()(Code) | | |
getJobCount | public int getJobCount()(Code) | | |
getMaxSessionCount | public int getMaxSessionCount()(Code) | | |
getPortNr | public static int getPortNr(String extendedPortString)(Code) | | |
idle | public boolean idle()(Code) | | |
init | public synchronized void init()(Code) | | |
receive | public static byte[] receive(PushbackInputStream pbis, int maxSize, boolean logerr)(Code) | | Read a line from a protocol stream (HTTP/ICAP) and do some
pre-processing (check validity, strip line endings).
Illegal control characters will be stripped from the result.
Besides the valid line ending CRLF a single LF is treated as a
line ending as well to avoid errors with buggy server.
Parameters: pbis - The stream to read from. Parameters: maxSize - maximum number of bytes to read in one run. Parameters: logerr - log error messages if true, be silent otherwise. A byte array representing one line of the input or null if EOS reached. |
reconnect | public void reconnect()(Code) | | |
reconnect | public void reconnect(int delay)(Code) | | |
setMaxSessionCount | public void setMaxSessionCount(int count)(Code) | | |
withSSL | public boolean withSSL()(Code) | | |
|
|