anon.client
Class DefaultDataChannelFactory

java.lang.Object
  extended by anon.client.DefaultDataChannelFactory
All Implemented Interfaces:
IDataChannelFactory

public class DefaultDataChannelFactory
extends java.lang.Object
implements IDataChannelFactory

Author:
Stefan Lieske

Field Summary
private  KeyExchangeManager m_keyExchangeManager
           
private  Multiplexer m_multiplexer
           
private static int SYMMETRIC_CIPHER_BLOCK_LENGTH
           
private static int SYMMETRIC_CIPHER_KEY_LENGTH
           
 
Constructor Summary
DefaultDataChannelFactory(KeyExchangeManager a_keyExchangeManager, Multiplexer a_multiplexer)
           
 
Method Summary
 AbstractDataChannel createDataChannel(int a_channelId, AbstractDataChain a_parentDataChain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYMMETRIC_CIPHER_KEY_LENGTH

private static final int SYMMETRIC_CIPHER_KEY_LENGTH
See Also:
Constant Field Values

SYMMETRIC_CIPHER_BLOCK_LENGTH

private static final int SYMMETRIC_CIPHER_BLOCK_LENGTH
See Also:
Constant Field Values

m_keyExchangeManager

private KeyExchangeManager m_keyExchangeManager

m_multiplexer

private Multiplexer m_multiplexer
Constructor Detail

DefaultDataChannelFactory

public DefaultDataChannelFactory(KeyExchangeManager a_keyExchangeManager,
                                 Multiplexer a_multiplexer)
Method Detail

createDataChannel

public AbstractDataChannel createDataChannel(int a_channelId,
                                             AbstractDataChain a_parentDataChain)
Specified by:
createDataChannel in interface IDataChannelFactory