com.aelitis.azureus.core.networkmanager.impl
Class ProtocolDecoderInitial

java.lang.Object
  extended by com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoder
      extended by com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoderInitial

public class ProtocolDecoderInitial
extends ProtocolDecoder


Constructor Summary
ProtocolDecoderInitial(TransportHelper _transport, byte[][] _shared_secrets, boolean _outgoing, ByteBuffer _initial_data, ProtocolDecoderAdapter _adapter)
           
 
Method Summary
protected  void complete(ByteBuffer remaining_initial_data)
           
protected  void decodePHE(ByteBuffer buffer)
           
protected  void failed(Throwable reason)
           
 TransportHelperFilter getFilter()
           
 boolean isComplete(long now)
           
 
Methods inherited from class com.aelitis.azureus.core.networkmanager.impl.ProtocolDecoder
addSecrets, removeSecrets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolDecoderInitial

public ProtocolDecoderInitial(TransportHelper _transport,
                              byte[][] _shared_secrets,
                              boolean _outgoing,
                              ByteBuffer _initial_data,
                              ProtocolDecoderAdapter _adapter)
                       throws IOException
Throws:
IOException
Method Detail

decodePHE

protected void decodePHE(ByteBuffer buffer)
                  throws IOException
Throws:
IOException

isComplete

public boolean isComplete(long now)
Specified by:
isComplete in class ProtocolDecoder

getFilter

public TransportHelperFilter getFilter()
Specified by:
getFilter in class ProtocolDecoder

complete

protected void complete(ByteBuffer remaining_initial_data)

failed

protected void failed(Throwable reason)