Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

FinPacket.h

Go to the documentation of this file.
00001 #ifndef __FINPACKET_H
00002 #define __FINPACKET_H
00003 
00004 #include "NpPacket.h"
00005 
00006 class FinPacket : public NpPacket {
00007 public:
00008     OS_SPEC_ENUM ErrorCode {
00009         NoError = 0x00,
00010         Error   = 0x01
00011     };
00012 
00013         FinPacket();
00014     virtual ~FinPacket() {}
00015         FinPacket(unsigned char* rawData);
00016         unsigned short getErrorCode();
00017         void setErrorCode(unsigned short code);
00018         virtual unsigned char* getRawData();
00019     virtual void toStream(std::ostream&);
00020     
00021 private:
00022     OS_SPEC_ENUM Offset {
00023         ErrorCodeOffset = NP_HEADER_LENGTH
00024     };
00025 
00026         unsigned short m_errorCode;
00027 }; 
00028 
00029 #endif
00030 

Generated at Thu Jul 11 13:31:50 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001