|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LineReader
LineReaders are used by some Senders and Receivers to send a character stream through the xBus.
Method Summary | |
---|---|
void |
prepareReading(XBUSSystem system)
Initialization to be done before reading from the LineReader . |
java.lang.String |
readRecord()
readRecord is called by senders to read the incoming data
line by line. |
void |
terminateReading()
Cleanup to be done after reading from the LineReader ,
e.g. closing an InputStream. |
Method Detail |
---|
void prepareReading(XBUSSystem system) throws XException
LineReader
.
XException
- if something goes wrongjava.lang.String readRecord() throws XException
readRecord
is called by senders to read the incoming data
line by line.
null
if there is no more line
XException
- if something goes wrongvoid terminateReading() throws XException
LineReader
,
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 |