org.activeio.command
Interface AsyncCommandChannel
- All Superinterfaces:
- Channel, Disposable, Service
- All Known Implementing Classes:
- AsyncChannelToAsyncCommandChannel
- public interface AsyncCommandChannel
- extends Channel
Allows command objects to be written into a channel
- Version:
- $Revision: 1.1 $
Method Summary |
void |
setCommandListener(CommandListener listener)
Allows a listener to be added for commands |
void |
writeCommand(Object command)
Sends a command down the channel towards the media, using a WireFormat
to decide how to marshall the command onto the media. |
writeCommand
public void writeCommand(Object command)
throws IOException
- Sends a command down the channel towards the media, using a WireFormat
to decide how to marshall the command onto the media.
- Parameters:
command
-
- Throws:
IOException
setCommandListener
public void setCommandListener(CommandListener listener)
- Allows a listener to be added for commands
- Parameters:
listener
-
Copyright © -2007 The ActiveIO Project. All Rights Reserved.