|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectisc.sensor.parser.AbstractParser.ParserState
public class AbstractParser.ParserState
This structue is used by the ParserMain to manage the complicated state of each session within the threaded envirmonment for the Parsers. Algorythm: A packet cannot be written out unless all of the packet that have been queued, have been processed and the packet has been closed (flushed) state by the session processors.
| Field Summary | |
|---|---|
java.lang.String |
Key
The key for this session |
int |
packetsProcessed
Number of packets processed for the session. |
int |
packetsQueued
Number of packets queue for processing of the session |
boolean |
sessionflushed
State flag to determine when this session was flushed (closed state by the session processors) |
| Constructor Summary | |
|---|---|
AbstractParser.ParserState()
Create a new state for a new session. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String Key
public boolean sessionflushed
public int packetsQueued
public int packetsProcessed
| Constructor Detail |
|---|
public AbstractParser.ParserState()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||