|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.netseeker.ejoe.EJConstants
public final class EJConstants
Field Summary | |
---|---|
static int |
ADAPTER_STRATEGY_DEFAULT
Default mode: EJClient and EJServer will send and receive respectively serialize and deserialize objects with a SerializeAdapter. |
static int |
ADAPTER_STRATEGY_DIRECT
Direct mode: EJClient and EJServer will just take ByteBuffers and exchange them directly without a SerializeAdapter. |
static int |
ADAPTER_STRATEGY_MIXED
Mixed mode: EJClient and EJServer will send and receive respectively serialize and deserialize objects with a SerializeAdapter similiar to EJClient#ADAPTER_STRATEGY_DEFAULT but EJClient will not deserialize server
responses to objects, it will just return the serialized representation of the response as written by the
SerializeAdapter of EJServer. |
static int |
BUFFERED_STREAM_SIZE
buffer size used for the BufferedInputStream, BufferedOutputStream as well as for (De)Compression streams |
static int |
DEFAULT_COMPRESSION_LEVEL
Default compression level used for compressing data with GZIP if enabled |
static int |
EJOE_CLASSLOADER_PORT
the default port on which ejoe will bind the server socket for remote classloading |
static int |
EJOE_CONNECTION_TIMEOUT
the timeout used when EJOE clients are waiting for server responses or vice versa |
static java.lang.Class |
EJOE_DEFAULT_ADAPTER
default (de)serialize adapter implementation used if no adapter was requested |
static java.lang.String |
EJOE_DEFAULT_CHARSET
Default charset used for de/encoding operations |
static int |
EJOE_EOF
EJOEs custom EOF int value |
static int |
EJOE_MAGIC_NUMBER
magic integer used to determine if the default ejoe protocol or HTTP is used |
static int |
EJOE_MAX_READPROCESSORS
the default amount of concurrent read and server handler operations EJOE will process simultaneously |
static int |
EJOE_MAX_SOCKET_BUF_SIZE
max. supported TCP window size |
static int |
EJOE_MAX_WRITEPROCESSORS
the default amount of concurrent socket write operations EJOE will process simultaneously |
static int |
EJOE_POOL_RESIZER_PERIOD
the time period used for the ThreadPool resizer thread, which inspects the used ThreadPools and will resize them if neccessary |
static int |
EJOE_POOL_RESIZER_SHRINKWAIT
the timeout used by the ThreadPool resizer thread. |
static int |
EJOE_PORT
the default port on which ejoe will bind the server socket |
static java.lang.String |
EJOE_VERSION
|
static int |
EJOE_WAIT_TIMEOUT
the timeout used when EJOE will block before next selection call if the last selection was zero |
static int |
HTTP_BYTEBUFFER_PREALLOC
Initially allocated size of the ByteBuffers used to read HTTP headers |
static java.lang.String |
HTTP_DEFAULT_CONTENTTYPE
Default content type used for HTTP communications if the used SerializeAdapter doesn't indicate a supported content type or when direct byte buffer exchange is used |
static java.lang.String |
HTTP_PARAM_NAME
Name of the POST variable clients can use for sending HTTP packaged request |
static int |
IPTOS_THROUGHPUT
default socket option |
static java.lang.String |
JAVA_VERSION
the Java version, eg. 1.4.2_08 or 1.5.0_06 |
static int |
JAVA_VERSION_INT
the Java version converted to int, eg. 1.4.2_08 = 142, 1.5.0_06 = 150 |
static int |
NIO_BYTEBUFFER_STREAM_SIZE
buffer size used for the bytbuffer outputstreams used by both client and server |
static int |
NIO_HEADER_SIZE
size used for nio header bytebuffers containing the size of the data buffers |
static int |
NIO_MAX_ITERATIONS
number of trials for write/read data before a socketchannel will be marked as blocking |
Constructor Summary | |
---|---|
EJConstants()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EJOE_VERSION
public static final int EJOE_MAGIC_NUMBER
public static final int EJOE_EOF
public static java.lang.Class EJOE_DEFAULT_ADAPTER
public static final java.lang.String EJOE_DEFAULT_CHARSET
public static final int NIO_HEADER_SIZE
public static final int NIO_BYTEBUFFER_STREAM_SIZE
public static final int BUFFERED_STREAM_SIZE
public static final int DEFAULT_COMPRESSION_LEVEL
public static final int NIO_MAX_ITERATIONS
public static final int HTTP_BYTEBUFFER_PREALLOC
public static final java.lang.String HTTP_DEFAULT_CONTENTTYPE
public static final java.lang.String HTTP_PARAM_NAME
public static final int EJOE_PORT
public static final int EJOE_CLASSLOADER_PORT
public static final int EJOE_MAX_READPROCESSORS
public static final int EJOE_MAX_WRITEPROCESSORS
public static final int EJOE_CONNECTION_TIMEOUT
public static final int EJOE_WAIT_TIMEOUT
public static final int EJOE_MAX_SOCKET_BUF_SIZE
public static final int EJOE_POOL_RESIZER_PERIOD
public static final int EJOE_POOL_RESIZER_SHRINKWAIT
public static final int ADAPTER_STRATEGY_DEFAULT
public static final int ADAPTER_STRATEGY_DIRECT
public static final int ADAPTER_STRATEGY_MIXED
EJClient#ADAPTER_STRATEGY_DEFAULT
but EJClient will not deserialize server
responses to objects, it will just return the serialized representation of the response as written by the
SerializeAdapter of EJServer. Hence if you use a xml based adapter EJClient will return the xml representation of
the response.
public static final int IPTOS_THROUGHPUT
public static final java.lang.String JAVA_VERSION
public static int JAVA_VERSION_INT
Constructor Detail |
---|
public EJConstants()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |