|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.metanotion.util.observers.ChannelBusMessageOutputStream
public final class ChannelBusMessageOutputStream
| Constructor Summary | |
|---|---|
ChannelBusMessageOutputStream(java.lang.Object channel,
MessageBusManager bus)
|
|
| Method Summary | |
|---|---|
void |
close()
Close the stream. |
void |
flush()
Flush any "pending" "writes" in the stream. |
void |
write(Message m)
Write an object to the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelBusMessageOutputStream(java.lang.Object channel,
MessageBusManager bus)
| Method Detail |
|---|
public void write(Message m)
throws ObjectStreamClosedException
ObjectOutputStream
write in interface ObjectOutputStream<Message>m - the object to write.
ObjectStreamClosedException - if the stream has been closed.public void close()
ObjectOutputStream
close in interface ObjectOutputStream<Message>public void flush()
ObjectOutputStream
flush in interface ObjectOutputStream<Message>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||