org.exolab.core.messenger
Interface Demultiplexer

All Known Implementing Classes:
StreamDemultiplexer

public interface Demultiplexer

A demultiplexer reads messages from a connection's physical connection implementation, and sends them to their associated Channel instances.

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

public 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

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



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