- All Implemented Interfaces:
- Message, Response
- Direct Known Subclasses:
- SyncProtocol.SyncLineResponse, SyncProtocol.SyncMultiLineResponseBase
- Enclosing class:
- SyncProtocol
public abstract class SyncProtocol.SyncResponseBase
extends ResponseSupport
Synchronous responses are guaranteed to be contiguous chunks (if the
client of this class is respecting its contract) -- meaning, it can go
ahead and read as much as it can in its first read without busy waiting
or reading one byte at a time. After that initial read, specialized
response types can go head and read/parse as they please.
- Since:
- alpha.0
- Version:
- alpha.0, 04/02/09
- Author:
- Joubin Houshyar (alphazero@sensesay.net)