net.i2p.router.tunnel
Class FragmentTest.SenderImpl

java.lang.Object
  extended bynet.i2p.router.tunnel.FragmentTest.SenderImpl
All Implemented Interfaces:
TunnelGateway.Sender
Enclosing class:
FragmentTest

protected class FragmentTest.SenderImpl
extends java.lang.Object
implements TunnelGateway.Sender


Constructor Summary
protected FragmentTest.SenderImpl()
           
 
Method Summary
 void sendPreprocessed(byte[] preprocessed, TunnelGateway.Receiver receiver)
          Take the preprocessed data containing zero or more fragments, encrypt it, and pass it on to the receiver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FragmentTest.SenderImpl

protected FragmentTest.SenderImpl()
Method Detail

sendPreprocessed

public void sendPreprocessed(byte[] preprocessed,
                             TunnelGateway.Receiver receiver)
Description copied from interface: TunnelGateway.Sender
Take the preprocessed data containing zero or more fragments, encrypt it, and pass it on to the receiver

Specified by:
sendPreprocessed in interface TunnelGateway.Sender
Parameters:
preprocessed - IV + (rand padding) + 0x0 + Hash[0:3] + {instruction+fragment}*