All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class lava.net.mmp.MMPInput

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----lava.net.mmp.MMPInput

public class MMPInput
extends Thread

Variable Index

 o END_PACKET
 o maxBodyCount
The maximum length of the body per packet.
 o maxLineCount
The maximum amount of header lines per packet.
 o maxLineLength
The maximum length of an header line.
 o silenceOnConnectTimeout
The maximum time in milliseconds a new connected stream is allowed to say nothing until it'll get closed.

Constructor Index

 o MMPInput(MMPDispatcherPeer, VariableNormalizer, UNA, InputStream)

Method Index

 o close()
 o run()

Variables

 o maxLineLength
 public static int maxLineLength
The maximum length of an header line. This is to prevent denial of service. Sizes smaller than 5 are considered infinite.

 o maxLineCount
 public static int maxLineCount
The maximum amount of header lines per packet. This is to prevent denial of service. Sizes smaller than 5 are considered infinite.

 o maxBodyCount
 public static int maxBodyCount
The maximum length of the body per packet. This is to prevent denial of service. Sizes smaller than 5 are considered infinite.

 o silenceOnConnectTimeout
 public static long silenceOnConnectTimeout
The maximum time in milliseconds a new connected stream is allowed to say nothing until it'll get closed. This is to prevent denial of service. Numbers smaller than 1 are considered infinite.

 o END_PACKET
 public static final char END_PACKET

Constructors

 o MMPInput
 public MMPInput(MMPDispatcherPeer peer,
                 VariableNormalizer normalizer,
                 UNA remote,
                 InputStream in)

Methods

 o close
 public synchronized void close() throws IOException
 o run
 public void run()
Overrides:
run in class Thread

All Packages  Class Hierarchy  This Package  Previous  Next  Index