Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

TFTPErrorPacket Class Reference

#include <TFTP_design.hpp>

List of all members.

Public Methods

 TFTPErrorPacket (short errorcode)
 ~TFTPErrorPacket ()
short geterrorCode ()
void seterrorCode (errorcode)
char * getErrorMsg ()
tftp_error_tgeterrorpacket ()

Private Attributes

tftp_error_t errorpacket


Constructor & Destructor Documentation

TFTPErrorPacket::TFTPErrorPacket short    errorcode [inline]
 

Definition at line 230 of file TFTP_design.hpp.

00231     {
00232         errorpacket.opcode = 5;
00233         errorpacket.errorCode = errorcode;
00234         errorpacket.errorMsg = NULL;
00235         errorpacket.null1= '0';
00236 
00237     }

TFTPErrorPacket::~TFTPErrorPacket   [inline]
 

Definition at line 238 of file TFTP_design.hpp.

00239     {
00240     }


Member Function Documentation

char* TFTPErrorPacket::getErrorMsg   [inline]
 

Definition at line 252 of file TFTP_design.hpp.

00253     {
00254         return "Error";
00255     }

short TFTPErrorPacket::geterrorCode   [inline]
 

Definition at line 242 of file TFTP_design.hpp.

00243     {
00244         return errorpacket.errorCode;
00245     }

tftp_error_t* TFTPErrorPacket::geterrorpacket   [inline]
 

Definition at line 256 of file TFTP_design.hpp.

00257     {
00258         return &errorpacket;
00259     }

void TFTPErrorPacket::seterrorCode errorcode    [inline]
 

Definition at line 246 of file TFTP_design.hpp.

00247     {
00248         errorpacket.errorCode = errorcode;
00249     }


Member Data Documentation

tftp_error_t TFTPErrorPacket::errorpacket [private]
 

Definition at line 226 of file TFTP_design.hpp.


The documentation for this class was generated from the following file:
Generated on Sun Oct 14 18:50:11 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001