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

TFTPRequestPacket Class Reference

#include <TFTP_design.hpp>

List of all members.

Public Methods

 TFTPRequestPacket (short opcode, char *filename)
 ~TFTPRequestPacket ()
short getopcode ()
void setfilename (char *filename)
char * getfilename ()
tftp_rrq_wrq_tget_rrq_wrq_packet ()

Private Attributes

tftp_rrq_wrq_t rrq_wrq_packet


Constructor & Destructor Documentation

TFTPRequestPacket::TFTPRequestPacket short    opcode,
char *    filename
[inline]
 

Definition at line 81 of file TFTP_design.hpp.

00082     {
00083         rrq_wrq_packet.opcode= opcode;
00084         rrq_wrq_packet.filename = filename;
00085         rrq_wrq_packet.null1= '0';
00086         rrq_wrq_packet.mode = "octect";
00087         rrq_wrq_packet.null2= '0';
00088         
00089     }

TFTPRequestPacket::~TFTPRequestPacket   [inline]
 

Definition at line 90 of file TFTP_design.hpp.

00091     {
00092     }


Member Function Documentation

tftp_rrq_wrq_t* TFTPRequestPacket::get_rrq_wrq_packet   [inline]
 

Definition at line 108 of file TFTP_design.hpp.

00109     {
00110         return &rrq_wrq_packet;
00111     }

char* TFTPRequestPacket::getfilename   [inline]
 

Definition at line 104 of file TFTP_design.hpp.

00105     {
00106         return rrq_wrq_packet.filename;
00107     }

short TFTPRequestPacket::getopcode   [inline]
 

Definition at line 94 of file TFTP_design.hpp.

00095     {
00096         return rrq_wrq_packet.opcode;
00097     }

void TFTPRequestPacket::setfilename char *    filename [inline]
 

Definition at line 99 of file TFTP_design.hpp.

00100     {
00101         rrq_wrq_packet.filename = filename;
00102     }


Member Data Documentation

tftp_rrq_wrq_t TFTPRequestPacket::rrq_wrq_packet [private]
 

Definition at line 79 of file TFTP_design.hpp.


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