fulmine.model.container
Class AbstractDynamicContainer.ReaderTask

java.lang.Object
  extended by fulmine.model.container.AbstractContainer.ReaderTask
      extended by fulmine.model.container.AbstractDynamicContainer.ReaderTask
All Implemented Interfaces:
FieldReader.IFieldReaderTask
Enclosing class:
AbstractDynamicContainer

protected final class AbstractDynamicContainer.ReaderTask
extends AbstractContainer.ReaderTask

The reader task executed by the FieldReader when reading messages


Constructor Summary
protected AbstractDynamicContainer.ReaderTask()
           
 
Method Summary
 void read(IOperationScope scope, int fieldId, byte[] dataBuffer, int dataStart, int dataLen)
          Handle reading the integer wire format component identified by component id.
 
Methods inherited from class fulmine.model.container.AbstractContainer.ReaderTask
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDynamicContainer.ReaderTask

protected AbstractDynamicContainer.ReaderTask()
Method Detail

read

public void read(IOperationScope scope,
                 int fieldId,
                 byte[] dataBuffer,
                 int dataStart,
                 int dataLen)
Description copied from interface: FieldReader.IFieldReaderTask
Handle reading the integer wire format component identified by component id. The data for the component is located in the dataBuffer from dataStart. The length of the data is given by dataLen. The type of data to read from the dataBuffer is dependent on the component.

Specified by:
read in interface FieldReader.IFieldReaderTask
Overrides:
read in class AbstractContainer.ReaderTask
Parameters:
scope - the scope of the read state operation
fieldId - the integer identity of the component.
dataBuffer - the buffer holding the data for the component
dataStart - the position in the buffer where the data starts
dataLen - the number of bytes for the data


Copyright © 2007-2009. All Rights Reserved.