/*****************************************************************************
* 	Project 	: Network Based Message Queue System		    **
*	Course		: CIS 650 - Software Engineering		    **
*	Location 	: /research/paraducks3/courses/cis650/proj/rt	    **
*	File		: rtmsg.h					    **
*	Description 	: Message class description. 			    **
*****************************************************************************/

#ifndef RTMSG_H
#define RTMSG_H

class MsgHeader {
	public : 
	int opcode; /* nature of service requested */
	int msgLength; /* size of the message */
       	int msgType; /* type of the message */
       	int uniqueId; /* unique id of the sender */
	};

class Message {
	public : 
	MsgHeader  *header; /* the header */
	char *data; /* actual message */
	Message(void);
	~Message(void);
};

#endif /* RTMSG_H */

