|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for writing whole messages.
Method Summary | |
void |
close()
Closes this writer. |
void |
flush()
Flushes this writer. |
void |
writeMessage(Message msg)
Writes a message, including its end delimiter, in a thread-safe manner. |
Methods inherited from interface gumbo.net.msg.MessageIO |
addMessageIOListener, getMessageIOListeners, removeMessageIOListener |
Method Detail |
public void flush() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public void writeMessage(Message msg) throws java.io.IOException, MessageIOException, MessageDataException
java.io.IOException
- Writer is closed.
MessageIOException
- Message stream is out of sync.
MessageDataException
- Message is ill-formed for writing.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |