anon.client
Class StreamedControlChannel

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

public abstract class StreamedControlChannel
extends AbstractControlChannel

Author:
Stefan Lieske

Field Summary
private  boolean m_bIsEncrypted
           
private  int m_currentIndex
           
private  byte[] m_lengthBuffer
           
private  byte[] m_messageBuffer
           
 
Fields inherited from class anon.client.AbstractChannel
m_parentMultiplexer
 
Constructor Summary
StreamedControlChannel(int a_channelId, Multiplexer a_multiplexer, IServiceContainer a_serviceContainer, boolean bEncrypted)
           
 
Method Summary
protected abstract  void processMessage(byte[] a_message)
           
protected  void processPacketData(byte[] a_packetData)
           
 int sendByteMessage(byte[] a_message)
           
 
Methods inherited from class anon.client.AbstractControlChannel
getServiceContainer, processReceivedPacket, sendRawMessage
 
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_messageBuffer

private byte[] m_messageBuffer

m_currentIndex

private int m_currentIndex

m_lengthBuffer

private byte[] m_lengthBuffer

m_bIsEncrypted

private boolean m_bIsEncrypted
Constructor Detail

StreamedControlChannel

public StreamedControlChannel(int a_channelId,
                              Multiplexer a_multiplexer,
                              IServiceContainer a_serviceContainer,
                              boolean bEncrypted)
Method Detail

sendByteMessage

public int sendByteMessage(byte[] a_message)

processPacketData

protected void processPacketData(byte[] a_packetData)
Specified by:
processPacketData in class AbstractControlChannel

processMessage

protected abstract void processMessage(byte[] a_message)