- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- ServerSocketSensorSessionReadThread
public class ReadThread
extends java.lang.Object
implements java.lang.Runnable
Base class of a runnable used to read from an inputstream. It provides two
important hooks: a MessageParsingStrategy and a MessageProcessingStrategy.
The MessageParsingStrategy decides when the bytes that have been read from
the inputStream form an implementation-specific message. The
MessageProcessingStrategy class allows implementations to provide an
implementation-specific action that should happen when the message has been
completely received
- Author:
- Jochen Mader - jochen@pramari.com, Kyle Neumeier - kyle@pramari.com