anon.client
Class AbstractControlChannel

java.lang.Object
  extended by anon.client.AbstractChannel
      extended by anon.client.AbstractControlChannel
Direct Known Subclasses:
DummyTrafficControlChannel, StreamedControlChannel

public abstract class AbstractControlChannel
extends AbstractChannel

Author:
Stefan Lieske

Field Summary
private  IServiceContainer m_serviceContainer
           
 
Fields inherited from class anon.client.AbstractChannel
m_parentMultiplexer
 
Constructor Summary
AbstractControlChannel(int a_channelId, Multiplexer a_parentMultiplexer, IServiceContainer a_serviceContainer)
           
 
Method Summary
protected  IServiceContainer getServiceContainer()
           
protected abstract  void processPacketData(byte[] a_packetData)
           
 void processReceivedPacket(MixPacket a_mixPacket)
           
 int sendRawMessage(byte[] a_message)
           
 
Methods inherited from class anon.client.AbstractChannel
createEmptyMixPacket, deleteChannel, isClosed, multiplexerClosed, sendPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_serviceContainer

private IServiceContainer m_serviceContainer
Constructor Detail

AbstractControlChannel

public AbstractControlChannel(int a_channelId,
                              Multiplexer a_parentMultiplexer,
                              IServiceContainer a_serviceContainer)
Method Detail

sendRawMessage

public int sendRawMessage(byte[] a_message)

processReceivedPacket

public void processReceivedPacket(MixPacket a_mixPacket)
Specified by:
processReceivedPacket in class AbstractChannel

getServiceContainer

protected final IServiceContainer getServiceContainer()

processPacketData

protected abstract void processPacketData(byte[] a_packetData)