org.fosstrak.hal.impl.impinj.comm
Class FrameParameters

java.lang.Object
  extended by org.fosstrak.hal.impl.impinj.comm.FrameParameters

public class FrameParameters
extends java.lang.Object

This class represents ... of a Mach1 protocol frame.

Copyright: Copyright (c) 2007

Author:
Jonas Haller

Field Summary
static boolean C
           
 
Constructor Summary
FrameParameters(byte[] aData, FrameParametersSpec aSpec)
          Constructor.
 
Method Summary
 byte[] getParameter(int aId)
          Get a parameter value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

C

public static final boolean C
See Also:
Constant Field Values
Constructor Detail

FrameParameters

public FrameParameters(byte[] aData,
                       FrameParametersSpec aSpec)
                throws FrameException
Constructor.

Parameters:
aData - the data field of the frame
aSpec - the specification of the parameters contained in the data field
Throws:
FrameException - if data does not comply to the spec or other error occures
Method Detail

getParameter

public byte[] getParameter(int aId)
                    throws FrameException
Get a parameter value.

Parameters:
aId - the ID of the parameter
Returns:
the value of the parameter
Throws:
FrameException - if parameter not available


Copyright © 2008. All Rights Reserved.