CARMA C++
CcNetMsg.h
Go to the documentation of this file.
1 #ifndef SZA_UTIL_CCNETMSG_H
2 #define SZA_UTIL_CCNETMSG_H
3 
11 #include "carma/szautil/Debug.h"
15 
16 #include "carma/szaarrayutils/netobj.h"
17 #include "carma/szaarrayutils/control.h"
18 
19 namespace sza {
20  namespace util {
21 
22  class CcNetMsg {
23  public:
24 
28  enum MsgType {
29  LOG = sza::array::CC_LOG_MSG, // A message to be logged
30  REPLY = sza::array::CC_REPLY_MSG, // A reply to a CC_INPUT_CMD
31  SCHED = sza::array::CC_SCHED_MSG, // A message from the scheduler
32  ARC = sza::array::CC_ARC_MSG, // A message from the archiver
33  PAGE = sza::array::CC_PAGE_MSG, // A message regarding the pager
34  PAGECOND = sza::array::CC_PAGECOND_MSG, // A message regarding the pager
35  CONFIG = sza::array::CC_CONFIG_MSG, // A message regarding
36  // the array
37  // configuration
38  };
39 
43  MsgType type;
44 
48  sza::array::CcNetMsg body;
49 
50  //------------------------------------------------------------
51  // Methods to pack Network messages
52  //------------------------------------------------------------
53 
54  }; // End class CcNetMsg
55 
56  } // End namespace util
57 } // End namespace sza
58 
59 
60 
61 #endif // End #ifndef SZA_UTIL_CCNETMSG_H
Started: Wed Jan 14 11:00:24 PST 2004.
Started: Sun Feb 29 15:29:37 UTC 2004.
Started: Sun Dec 14 07:19:50 UTC 2003.
Tagged: Fri Nov 14 12:39:33 UTC 2003.