embkernel
Main Page
Modules
Classes
Files
File List
All
Classes
Functions
Variables
Typedefs
Groups
Pages
examples
stm32f4discovery
Telnet.hpp
1
//------------------------------------------------------------------------------
2
//This file is part of embKernel.
3
//See license.txt for the full license governing this code.
4
//------------------------------------------------------------------------------
5
6
#ifndef TELNET_HPP_
7
#define TELNET_HPP_
8
9
#include "NetServerTelnet.hpp"
10
#include "Fs.hpp"
11
12
class
Telnet:
public
NetServerTelnet,
public
FsFormatCallback {
13
public
:
14
Telnet(
int
priority,
size_t
stackSize);
15
~Telnet();
16
17
virtual
void
formatStatusUpdate(uint32_t current, uint32_t total);
18
19
private
:
20
int
mCurrentPercent;
21
22
void
handlerHelp(
int
argc,
char
*argv[]);
23
void
handlerExit(
int
argc,
char
*argv[]);
24
void
handlerSendMail(
int
argc,
char
*argv[]);
25
void
handlerFileSpeedTest(
int
argc,
char
*argv[]);
26
void
handlerFileCreate(
int
argc,
char
*argv[]);
27
void
handlerFileDelete(
int
argc,
char
*argv[]);
28
void
handlerFileList(
int
argc,
char
*argv[]);
29
void
handlerFileRead(
int
argc,
char
*argv[]);
30
void
handlerFileWrite(
int
argc,
char
*argv[]);
31
void
handlerDriveFormat(
int
argc,
char
*argv[]);
32
void
handlerGetStatistics(
int
argc,
char
*argv[]);
33
34
protected
:
35
virtual
void
onConnection();
36
virtual
void
onDisconnection();
37
};
38
39
#endif
/* TELNET_HPP_ */
Generated on Sun May 12 2013 23:28:50 for embkernel by
1.8.3.1