org.littleshoot.util
Class InputRecord

java.lang.Object
  extended by org.littleshoot.util.InputRecord

public class InputRecord
extends Object

Encapsulates a single record of encrypted input data.


Constructor Summary
InputRecord(byte[] readKey)
          Creates a new input record that will decode data using the specified key.
 
Method Summary
 void addData(ByteBuffer bb)
           
 int drainData(byte[] buf, int off, int len)
           
 boolean hasMoreData()
           
 boolean needsData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputRecord

public InputRecord(byte[] readKey)
Creates a new input record that will decode data using the specified key.

Parameters:
readKey - The key to decode data with.
Method Detail

needsData

public boolean needsData()

addData

public void addData(ByteBuffer bb)

drainData

public int drainData(byte[] buf,
                     int off,
                     int len)

hasMoreData

public boolean hasMoreData()


Copyright © 2011-2013 LittleShoot. All Rights Reserved.