solar.api
Interface AduFactory

All Known Implementing Classes:
EventFactory

public interface AduFactory

Interface for ADU factory, that produces appropriate ADU from byte array.

Version:
$Id: AduFactory.java,v 1.3 2003/09/23 14:03:56 glchen Exp $
Author:
Guanling Chen

Method Summary
 Adu parse(byte[] data)
          Parse received byte array into an ADU.
 Adu parse(byte[] data, int offset, int length)
          Parse part of the received byte array into an ADU.
 

Method Detail

parse

public Adu parse(byte[] data)
          throws ParsingException
Parse received byte array into an ADU.

ParsingException

parse

public Adu parse(byte[] data,
                 int offset,
                 int length)
          throws ParsingException
Parse part of the received byte array into an ADU.

ParsingException