An interface defining a ChannelOutput that is networked. For information on how to an object of this type, see ChannelOutput. For information on how to create a NetChannelOutput, see the the relevant factory.
The only method that this interface defines is asyncSend. This is considered a dangerous method to use, and careful consideration must be taken. The inclusion of asyncSend is to provide the impression of a simple infinitely buffered networked channel, without having to create extra buffers beyond what the channel uses.
Type | Name and description |
---|---|
void |
asyncWrite(Object obj) Sends a message to the input end of the channel asynchronously (no blocking) |
void |
setEncoder(FilterTx encoder) |
Methods inherited from class | Name |
---|---|
interface ChannelOutput |
write |
interface Networked |
destroy, getLocation |
Sends a message to the input end of the channel asynchronously (no blocking)
obj
- The object to send to the input end