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, java.nio.ByteBuffer _initial_data, ProtocolDecoderAdapter _adapter)
           
 
Method Summary
protected  void complete(java.nio.ByteBuffer remaining_initial_data)
           
protected  void decodePHE(java.nio.ByteBuffer buffer)
           
protected  void failed(java.lang.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,
                              java.nio.ByteBuffer _initial_data,
                              ProtocolDecoderAdapter _adapter)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

decodePHE

protected void decodePHE(java.nio.ByteBuffer buffer)
                  throws java.io.IOException
Throws:
java.io.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(java.nio.ByteBuffer remaining_initial_data)

failed

protected void failed(java.lang.Throwable reason)