step.io
Class StepEncodedInput.RecordContext

java.lang.Object
  |
  +--step.io.StepEncodedInput.RecordContext
All Implemented Interfaces:
DecodeContext
Enclosing class:
StepEncodedInput

public class StepEncodedInput.RecordContext
extends Object
implements DecodeContext


Constructor Summary
StepEncodedInput.RecordContext()
           
 
Method Summary
 Object read(Object request)
          Request data from the context.
 void setData(byte[] dataBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepEncodedInput.RecordContext

public StepEncodedInput.RecordContext()
Method Detail

setData

public void setData(byte[] dataBytes)

read

public Object read(Object request)
            throws IOException
Description copied from interface: DecodeContext
Request data from the context. This request is usually a byte[] to be filled, however it may be any encapsulated request agreed upon by the implementation and some Encoder.

Specified by:
read in interface DecodeContext
Parameters:
request - an object representing a request for data, generally a byte[].
Returns:
the filled request.
Throws:
IOException - if an I/O error occurred.