|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.eventd.adaptors.tcp.TcpRecordHandler.StateManager
This class is use to model the set of states, the attached TcpRecordHandler, and the transition actions.
Field Summary | |
protected TcpRecordHandler |
m_handler
The record handler this manager is attached to |
protected int |
m_level
The level of this manager |
Constructor Summary | |
(package private) |
TcpRecordHandler.StateManager(int level,
TcpRecordHandler handler)
Constructs a new state manager. |
Method Summary | |
(package private) int |
getLevel()
The level for this manager |
(package private) int |
next(char ch)
handle the next character, returns the next level |
(package private) void |
onTransition(char ch)
Handle the transtion from character to character. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int m_level
protected TcpRecordHandler m_handler
Constructor Detail |
TcpRecordHandler.StateManager(int level, TcpRecordHandler handler)
level
- The level of the state managerhandler
- The handler to fire events at.Method Detail |
int getLevel()
int next(char ch) throws java.io.IOException
java.io.IOException
void onTransition(char ch) throws java.io.IOException
java.io.IOException
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |