public class APDUGenerator<T> extends Object
Constructor and Description |
---|
APDUGenerator(IEncoder<T> encoder) |
Modifier and Type | Method and Description |
---|---|
ApduType |
AareApduGenerator(int reason) |
ApduType |
AarqApduGenerator() |
ApduType |
AbrtApduGenerator(int reason) |
ApduType |
createRlrqApduNormal() |
ApduType |
extConfigResponsegenerator(InvokeIDType invoke_id,
ConfigReportRsp resp)
Generate the response to a configuration report from the Agent.
|
ApduType |
MeasureACKGenerator(DataApdu datareceived,
int typeofreport)
Generation of an acknowledgement for a measurement received from an
Agent.
|
ApduType |
RlreApduGenerator(int reason) |
ApduType |
RoerGenerator(InvokeIDType invokeid,
int err_code)
Something was wrong processing the Apdu from the Agent, and we will send
an Error.
|
ApduType |
RorjGenerator(InvokeIDType invokeid,
int err_code)
Some APDU is not acceptable and we send a reject message
|
public ApduType AarqApduGenerator()
public ApduType AareApduGenerator(int reason)
public ApduType createRlrqApduNormal()
public ApduType RlreApduGenerator(int reason)
public ApduType AbrtApduGenerator(int reason)
public ApduType MeasureACKGenerator(DataApdu datareceived, int typeofreport)
datareceived
- measurement received from the Agenttypeofreport
- integer with the code of the report received.public ApduType RoerGenerator(InvokeIDType invokeid, int err_code)
invokeid
- sequence numbererr_code
- identificator of the errorpublic ApduType RorjGenerator(InvokeIDType invokeid, int err_code)
invokeid
- sequence numbererr_code
- identificator of the errorpublic ApduType extConfigResponsegenerator(InvokeIDType invoke_id, ConfigReportRsp resp)
invoke_id
- sequence number of DataApdu in which the configuration report
is embeddedresp
- object with the response (if it is valid and the manager can
work with it, or not)Copyright © 2018 universAAL Consortium. All rights reserved.