com.flightpanels.scs
Interface ICanAeroDataManager

All Known Implementing Classes:
Receiver

public interface ICanAeroDataManager

Top-level interface. You must implement this to handle service requests addressed to you and receive normal operation data. This interface's functions are called after processing of protocol headers and standard node services. It must react to node-specific service requests and handle incoming data.

Version:
1.2
Author:
(c) 2009, 2010 by Philipp Münzel, Technische Universität Darmstadt, Department of Mathematics

Method Summary
 boolean handleDRS(long id)
          In case your application publishes CAN Aerospace normal operation data, you must react on data request services here.
 void handleMCS(int module, int mode)
          In case your application has modules exposed to the module information and module configuration service, you must react on module configuration services here.
 void handleMIS()
          In case your application has modules exposed to the module information and module configuration service, you must react on module information services here.
 void handleSTS()
          In case your application publishes CAN Aerospace normal operation data, the state transmission service must trigger a sending of all data previously requested via DRS.
 void incomingData(can_t can)
          Incoming normal operation data must be handled in this function.
 

Method Detail

handleSTS

void handleSTS()
In case your application publishes CAN Aerospace normal operation data, the state transmission service must trigger a sending of all data previously requested via DRS.


handleMCS

void handleMCS(int module,
               int mode)
In case your application has modules exposed to the module information and module configuration service, you must react on module configuration services here.

Parameters:
module - Module affected
mode - Mode parameter that shall be passed to this module

incomingData

void incomingData(can_t can)
Incoming normal operation data must be handled in this function.

Parameters:
can - Message containing normal operation data

handleDRS

boolean handleDRS(long id)
In case your application publishes CAN Aerospace normal operation data, you must react on data request services here.

Parameters:
id - CAN id of data to be transmitted (cyclic) from now on

handleMIS

void handleMIS()
In case your application has modules exposed to the module information and module configuration service, you must react on module information services here.