My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::mediator::ReceiverControlMsg Class Reference
Inheritance diagram for gcp::mediator::ReceiverControlMsg:
gcp::util::GenericTaskMsg

Public Types

enum  MsgType { COMMAND, DIRECTORY }
 
- Public Types inherited from gcp::util::GenericTaskMsg
enum  GenericMsgType {
  HEARTBEAT, STOP, RESTART, TASK_SPECIFIC,
  LAST
}
 

Public Member Functions

void packCommandMsg (char *script, unsigned seq)
 
void packDirectoryMsg (char *dir)
 

Public Attributes

MsgType type
 
union {
   struct {
      char   script [gcp::control::NET_LOG_MAX+1]
 
      unsigned   seq
 
   }   command
 
   struct {
      char   dir [gcp::control::NET_LOG_MAX+1]
 
   }   directory
 
body
 
- Public Attributes inherited from gcp::util::GenericTaskMsg
GenericMsgType genericMsgType_
 

Member Enumeration Documentation

Enumerate supported message types.

Member Function Documentation

void gcp::mediator::ReceiverControlMsg::packCommandMsg ( char *  script,
unsigned  seq 
)
inline

A method for packing a net command.

void gcp::mediator::ReceiverControlMsg::packDirectoryMsg ( char *  dir)
inline

A method for packing a directory command.

Member Data Documentation

union { ... } gcp::mediator::ReceiverControlMsg::body

The contents of the message.

MsgType gcp::mediator::ReceiverControlMsg::type

A type for this message


The documentation for this class was generated from the following file: