org.exolab.core.messenger
Interface MultiplexerFactory


public interface MultiplexerFactory

A factory for Multiplexer and Demultiplexer objects

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

Method Summary
 Demultiplexer createDemultiplexer(ManagedConnection connection)
          Creates a new demultiplexer for the specified connection
 Multiplexer createMultiplexer(ManagedConnection connection)
          Creates a new multiplexer for the specified connection
 

Method Detail

createMultiplexer

public Multiplexer createMultiplexer(ManagedConnection connection)
                              throws java.rmi.RemoteException
Creates a new multiplexer for the specified connection

Parameters:
connection - the connection to create the multiplexer for
Returns:
a new multiplexer for the connection
Throws:
java.rmi.RemoteException - for any error
java.lang.IllegalArgumentException - if connection is of the wrong type

createDemultiplexer

public Demultiplexer createDemultiplexer(ManagedConnection connection)
                                  throws java.rmi.RemoteException
Creates a new demultiplexer for the specified connection

Parameters:
connection - the connection to create the demultiplexer for
Returns:
a new demultiplexer for the connection
Throws:
java.rmi.RemoteException - for any error
java.lang.IllegalArgumentException - if connection is of the wrong type


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