nodeNet
Interface OutputChannel
- All Known Implementing Classes:
- Channel
- public abstract interface OutputChannel
This is the interface to put objects into a channel. It defines one
method, writeObject()
.
Copyright (c) 1998 Massachusetts Institute of Techonology
Method Summary |
void |
writeObject(java.lang.Object o)
Attempt to place an object into the channel. |
writeObject
public void writeObject(java.lang.Object o)
throws ChannelFullException,
ChannelDisabledException
- Attempt to place an object into the channel. Note that you can
place any object into a channel, though you probably only want to
deal with the packets Generators create.
- Parameters:
o
- the object to insert- Throws:
- ChannelFullException - if the channel is full and cannot
accept more objects
- ChannelDisabledException - if the user has disabled the
channel