home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / message / unitrep.doc < prev    next >
Encoding:
Text File  |  1988-05-03  |  1.8 KB  |  50 lines

  1. package UNITREP is -- the unit status and resource reporting subsystem --within
  2. WWMCCS ADP software. The UNITREP database stores validated --UNITREP messages
  3. from all --organizations and units in the United --States armed forces and some
  4. foriegn forces under U.S. control.
  5.  
  6.     package MESSAGE_INPUT_MODULE is 
  7.     --the module which communicates with the outside world. Incoming  
  8.     --messages are queued to the MESSAGE_VALIDATION_MODULE.
  9.  
  10.         task MESSAGE_REQUEST is
  11.                 entry REQUEST_FUNCTION(R: in PACKET_ACCESS);
  12.         end MESSAGE_REQUEST;
  13.  
  14.     end MESSAGE_INPUT_MODULE;
  15.  
  16.   package MESSAGE_VALIDATION_MODULE is 
  17.   --the module which validates messages received from the   
  18.   --MESSAGE_INPUT_MODULE. Valid mesages are sent to the 
  19.   --DATABASE_BUILD module. Invalid messages and corresponding error
  20.   --messages are sent to the MAN_MACHINE_INTERFACE module.
  21.  
  22.         task MESSAGE_RECEIVE is
  23.                 entry RECEIVE_FUNCTION(R: in PACKET_ACCESS);
  24.          end MESSAGE_RECEIVE;
  25.  
  26.    end MESSAGE_VALIDATION_MODULE;
  27.  
  28.   package DATABASE_BUILD is
  29.   --the module which sends valid messages to the database machine by 
  30.   --creating the appropriate database commands. Messages are sent via 
  31.   --stored command interface.
  32.  
  33.         task DATABASE_BUILD_TASK is
  34.                 entry RENDEZVOUS_POINT(IN_PACKET : in PACKET_ACCESS);
  35.         end DATABASE_BUILD_TASK;
  36.  
  37.   end DATABASE_BUILD;
  38.  
  39.   package MAN_MACHINE_INTERFACE is
  40.   --the module which controls the operator's terminal. Operator commands 
  41.   --are input and displays of system alerts and messages are output.
  42.  
  43.         task MMI_PACKET_PATH is
  44.                 entry PACKET_PROCESS(PP : in PACKET_ACCESS);
  45.         end MMI_PACKET_PATH;
  46.  
  47.   end MAN_MACHINE_INTERFACE;
  48.  
  49. end UNITREP;
  50.