org.exolab.core.messenger
Interface Multiplexer

All Known Implementing Classes:
StreamMultiplexer

public interface Multiplexer

A multiplexer reads messages from a connection's channels, and sends them down the connection's physical connection implementation.

Version:
$Revision: 1.3 $ $Date: 2002/02/20 10:23:48 $
Author:
Tim Anderson
See Also:
Connection

Method Summary
 void close()
          Close the multiplexer, freeing any allocated resources.
 void start()
          Start multiplexing.
 

Method Detail

start

void start()
Start multiplexing. This reads messages from an Connection instance, and sends them down the connection's physical connection implementation.

Throws:
java.lang.IllegalStateException - if the multiplexer has been closed.

close

void close()
Close the multiplexer, freeing any allocated resources. Once a multiplexer is closed, it may not be restarted.



Copyright © 1999-2012 The Exolab Group. All Rights Reserved.