public class FastMessageReader extends Object
| Constructor and Description |
|---|
FastMessageReader(InputStream input,
InputStream templateStream,
FastMessageConsumer output)
Construct the reader.
|
FastMessageReader(InputStream input,
InputStream templateStream,
FastMessageConsumer output,
int readOffset)
Construct the reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
resetEveryRecord(boolean resetEveryRecord)
Reset the decoder on every record.
|
void |
setHead(int count)
Limit the number of records to be processed
|
void |
showRawData(boolean flag)
Set flag to call the output annotate message with raw data in hex.
|
void |
start() |
public FastMessageReader(InputStream input, InputStream templateStream, FastMessageConsumer output)
input - a data stream containing raw FAST messagestemplateStream - a stream from which the FAST templates can be read.output - An object to accept the decoded messages.public FastMessageReader(InputStream input, InputStream templateStream, FastMessageConsumer output, int readOffset)
input - a data stream containing raw FAST messagestemplateStream - a stream from which the FAST templates can be read.output - An object to accept the decoded messages.readOffset - The number of leading bytes that should be discarded when reading each message.public void start()
public void setHead(int count)
count - How many records to handle; zero means no limit.public void showRawData(boolean flag)
flag - true if the raw data should be provided.public void resetEveryRecord(boolean resetEveryRecord)
resetEveryRecord - true if each record should stand alone.Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.