|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.web_visage.ichat.AbstractMessageReader com.web_visage.ichat.DefaultMessageReader
public class DefaultMessageReader
Default implementation of the IChatReader
reader. Reads messages from the given InputStream
. Uses
roll-forward strategy when encounters errors.
Constructor Summary | |
---|---|
DefaultMessageReader(IChatMessageFactory aMessageFactory,
java.io.InputStream anInputStream)
Constructor. |
Method Summary | |
---|---|
IChatMessage[] |
readMessages()
Reads next message bundle. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMessageReader(IChatMessageFactory aMessageFactory, java.io.InputStream anInputStream)
aMessageFactory
- anInputStream
- Method Detail |
---|
public IChatMessage[] readMessages() throws java.io.IOException, IChatException
IChatReader
readMessages
in interface IChatReader
java.io.IOException
IChatException
IChatReader.readMessages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |