|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RecordByteArrayReader
RecordByteArrayReader are used by some Senders and Receivers
to send a byte stream through the xBus.
| Method Summary | |
|---|---|
void |
prepareReading()
Initialization to be done before reading from the RecordByteArrayReader. |
byte[] |
readRecord()
readRecord is called by senders to read the incoming data
line by line. |
void |
terminateReading()
Cleanup to be done after reading from the RecordByteArrayReader, e.g. closing an InputStream. |
| Method Detail |
|---|
void prepareReading()
throws XException
RecordByteArrayReader.
XException - if something goes wrong
byte[] readRecord()
throws XException
readRecord is called by senders to read the incoming data
line by line.
null if there is no more record
XException - if something goes wrong
void terminateReading()
throws XException
RecordByteArrayReader, e.g. closing an InputStream.
XException - if something goes wrong
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||