ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
Telnet_Server Class Reference

#include <telnet_server.h>

Inheritance diagram for Telnet_Server:
Inheritance graph
Collaboration diagram for Telnet_Server:
Collaboration graph

Public Member Functions

 Telnet_Server ()
 
 ~Telnet_Server ()
 
bool begin (uint16_t port=0, bool debug=false)
 
void end ()
 
void handle ()
 
bool reset ()
 
bool started ()
 
bool isConnected ()
 
const char * clientIPAddress ()
 
size_t write (uint8_t c)
 
size_t write (const uint8_t *buffer, size_t size)
 
size_t write (const char *s)
 
size_t write (unsigned long n)
 
size_t write (long n)
 
size_t write (unsigned int n)
 
size_t write (int n)
 
int available ()
 
uint availableForWrite ()
 
void flush ()
 
int read (void)
 
size_t readBytes (uint8_t *sbuf, size_t len)
 
uint16_t port ()
 
void closeClient ()
 

Detailed Description

Definition at line 30 of file telnet_server.h.

Constructor & Destructor Documentation

◆ Telnet_Server()

Telnet_Server::Telnet_Server ( )

Definition at line 76 of file telnet_server.cpp.

◆ ~Telnet_Server()

Telnet_Server::~Telnet_Server ( )

Definition at line 85 of file telnet_server.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ available()

int Telnet_Server::available ( )

Definition at line 285 of file telnet_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ availableForWrite()

uint Telnet_Server::availableForWrite ( )

Definition at line 272 of file telnet_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ begin()

bool Telnet_Server::begin ( uint16_t  port = 0,
bool  debug = false 
)

begin Telnet setup

Definition at line 93 of file telnet_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clientIPAddress()

const char * Telnet_Server::clientIPAddress ( )

Definition at line 65 of file telnet_server.cpp.

Here is the caller graph for this function:

◆ closeClient()

void Telnet_Server::closeClient ( )

Definition at line 35 of file telnet_server.cpp.

Here is the caller graph for this function:

◆ end()

void Telnet_Server::end ( )

End Telnet

Definition at line 127 of file telnet_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ flush()

void Telnet_Server::flush ( )

Definition at line 314 of file telnet_server.cpp.

Here is the caller graph for this function:

◆ handle()

void Telnet_Server::handle ( )

Definition at line 159 of file telnet_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isConnected()

bool Telnet_Server::isConnected ( )

Definition at line 42 of file telnet_server.cpp.

Here is the caller graph for this function:

◆ port()

uint16_t Telnet_Server::port ( )
inline

Definition at line 69 of file telnet_server.h.

Here is the caller graph for this function:

◆ read()

int Telnet_Server::read ( void  )

Definition at line 293 of file telnet_server.cpp.

Here is the call graph for this function:

◆ readBytes()

size_t Telnet_Server::readBytes ( uint8_t *  sbuf,
size_t  len 
)

Definition at line 303 of file telnet_server.cpp.

Here is the call graph for this function:

◆ reset()

bool Telnet_Server::reset ( )

Reset Telnet

Definition at line 148 of file telnet_server.cpp.

◆ started()

bool Telnet_Server::started ( )

Definition at line 154 of file telnet_server.cpp.

Here is the caller graph for this function:

◆ write() [1/7]

size_t Telnet_Server::write ( const char *  s)
inline

Definition at line 44 of file telnet_server.h.

Here is the call graph for this function:

◆ write() [2/7]

size_t Telnet_Server::write ( const uint8_t *  buffer,
size_t  size 
)

Definition at line 242 of file telnet_server.cpp.

Here is the call graph for this function:

◆ write() [3/7]

size_t Telnet_Server::write ( int  n)
inline

Definition at line 60 of file telnet_server.h.

Here is the call graph for this function:

◆ write() [4/7]

size_t Telnet_Server::write ( long  n)
inline

Definition at line 52 of file telnet_server.h.

Here is the call graph for this function:

◆ write() [5/7]

size_t Telnet_Server::write ( uint8_t  c)

Definition at line 237 of file telnet_server.cpp.

Here is the caller graph for this function:

◆ write() [6/7]

size_t Telnet_Server::write ( unsigned int  n)
inline

Definition at line 56 of file telnet_server.h.

Here is the call graph for this function:

◆ write() [7/7]

size_t Telnet_Server::write ( unsigned long  n)
inline

Definition at line 48 of file telnet_server.h.

Here is the call graph for this function:

The documentation for this class was generated from the following files: