Main Page   Compound List   File List   Compound Members   File Members  

Mail Class Reference

#include <post.h>

List of all members.

Public Methods

 Mail (PacketHeader pktH, MailHeader mailH, char *msgData)

Public Attributes

PacketHeader pktHdr
MailHeader mailHdr
char data [MaxMailSize]


Constructor & Destructor Documentation

Mail::Mail PacketHeader    pktH,
MailHeader    mailH,
char *    msgData
 

Definition at line 36 of file post.cc.

References ASSERT, bcopy, MailHeader::length, mailHdr, MaxMailSize, and pktHdr.

00037 {
00038     ASSERT(mailH.length <= MaxMailSize);
00039 
00040     pktHdr = pktH;
00041     mailHdr = mailH;
00042     bcopy(msgData, data, mailHdr.length);
00043 }


Member Data Documentation

char Mail::data[MaxMailSize]
 

Definition at line 70 of file post.h.

Referenced by MailBox::Get.

MailHeader Mail::mailHdr
 

Definition at line 69 of file post.h.

Referenced by MailBox::Get, and Mail.

PacketHeader Mail::pktHdr
 

Definition at line 68 of file post.h.

Referenced by MailBox::Get, and Mail.


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 09:54:57 2003 for nachos by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002
The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees