equip.net
Class SapConstants

java.lang.Object
  extended byequip.net.SapConstants

public class SapConstants
extends java.lang.Object

Various constants used in ServerSap, ConnectionSap and sub-classes.


Field Summary
static boolean ACK_EVERY_PACKET
          ack every packet??
static int DEFAULT_BUF_SIZE
          default input/output buffer size (64000).
static int DEFAULT_CONNECTION_TIMEOUT_MS
          Connection timeout, ms (not configurable for tcp) (30000)
static int DEFAULT_KEEP_ALIVE_TIME_MS
          Default keep-alive message send interval, milliseconds (5000)
static int DEFAULT_LONG_CONNECTION_TIMEOUT_MS
          Alternative connection timeout for 'long' timeouts, e.g.
static int DEFAULT_PROBING_INTERVAL_MS
          Default channel probing time, ms (UDP?!)
static int DEFAULT_RECV_TIMEOUT_MS
          Default receive timeout (0); 0=blocking
static int DEFAULT_SLOW_RESPONSE_TIME_MS
          Default slow response time, milliseconds (2000)
static int DEFAULT_SLOW_RESPONSE_TIME_MS_TCP
          TCP slow response time, ms (7000).
static int DEFAULT_SLOW_RESPONSE_TIME_MS_UDP
          UDP slow response time, ms (2000).
 
Constructor Summary
SapConstants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BUF_SIZE

public static final int DEFAULT_BUF_SIZE
default input/output buffer size (64000). a small buffer will give better local effective suppression of unreliable update cascades

See Also:
Constant Field Values

DEFAULT_RECV_TIMEOUT_MS

public static final int DEFAULT_RECV_TIMEOUT_MS
Default receive timeout (0); 0=blocking

See Also:
Constant Field Values

DEFAULT_KEEP_ALIVE_TIME_MS

public static final int DEFAULT_KEEP_ALIVE_TIME_MS
Default keep-alive message send interval, milliseconds (5000)

See Also:
Constant Field Values

DEFAULT_SLOW_RESPONSE_TIME_MS

public static final int DEFAULT_SLOW_RESPONSE_TIME_MS
Default slow response time, milliseconds (2000)

See Also:
Constant Field Values

DEFAULT_SLOW_RESPONSE_TIME_MS_TCP

public static final int DEFAULT_SLOW_RESPONSE_TIME_MS_TCP
TCP slow response time, ms (7000). TCP does not ACK by default, so waiting for keep alives in worst case

See Also:
Constant Field Values

DEFAULT_SLOW_RESPONSE_TIME_MS_UDP

public static final int DEFAULT_SLOW_RESPONSE_TIME_MS_UDP
UDP slow response time, ms (2000). UDP should ACK

See Also:
Constant Field Values

DEFAULT_PROBING_INTERVAL_MS

public static final int DEFAULT_PROBING_INTERVAL_MS
Default channel probing time, ms (UDP?!) (2000)

See Also:
Constant Field Values

DEFAULT_CONNECTION_TIMEOUT_MS

public static final int DEFAULT_CONNECTION_TIMEOUT_MS
Connection timeout, ms (not configurable for tcp) (30000)

See Also:
Constant Field Values

DEFAULT_LONG_CONNECTION_TIMEOUT_MS

public static final int DEFAULT_LONG_CONNECTION_TIMEOUT_MS
Alternative connection timeout for 'long' timeouts, e.g. intermittantly connected clients, ms (1800000). VERY LONG VALUE FOR WIRE EXPERIMENTS - SHOULD BE SET BETTER/DYNAMICALLY!

See Also:
Constant Field Values

ACK_EVERY_PACKET

public static final boolean ACK_EVERY_PACKET
ack every packet?? (JCP only, I think). tentative workaround for 0.5 second (retrans.) stall when flow control bites

See Also:
Constant Field Values
Constructor Detail

SapConstants

public SapConstants()