step.io
Class StepEncodedInput.MetaContext

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

public class StepEncodedInput.MetaContext
extends Object
implements DecodeContext


Constructor Summary
StepEncodedInput.MetaContext(MetaRecord metaRecord)
           
 
Method Summary
 Object read(Object request)
          Request data from the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepEncodedInput.MetaContext

public StepEncodedInput.MetaContext(MetaRecord metaRecord)
                             throws IOException
Method Detail

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.