|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.asdf.utils.ClientServerConstants
public class ClientServerConstants
Contains common constants used in client server implementation.
| Field Summary | |
|---|---|
static int |
CONNECT_TIMEOUT
Connecting timeout for client. |
static int |
PORT
Protocol port |
static int |
SELECT_TIMEOUT
Select() call timeout. |
static int |
TOO_BIG_MESSAGE
If message is longer than this, it is considered garbage. |
static int |
WASTING_MEM_RATIO
Determines the ratio limit on which to release buffer and allocate new smaller one to prevent wasting memory. |
| Constructor Summary | |
|---|---|
ClientServerConstants()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TOO_BIG_MESSAGE
public static final int SELECT_TIMEOUT
public static final int WASTING_MEM_RATIO
public static final int PORT
public static final int CONNECT_TIMEOUT
| Constructor Detail |
|---|
public ClientServerConstants()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||