23 #ifndef _UCOMMON_BUFFER_H_
24 #define _UCOMMON_BUFFER_H_
26 #ifndef _UCOMMON_CONFIG_H_
30 #ifndef _UCOMMON_PROTOCOLS_H_
34 #ifndef _UCOMMON_SOCKET_H_
38 #ifndef _UCOMMON_STRING_H_
42 #ifndef _UCOMMON_FSYS_H_
46 #ifndef _UCOMMON_SHELL_H_
61 void _buffer(
size_t size);
64 virtual size_t _pull(
char *address,
size_t size);
95 TCPBuffer(
const char *host,
const char *service,
size_t size = 536);
108 void open(
const TCPServer *server,
size_t size = 536);
117 void open(
const char *host,
const char *service,
size_t size = 536);
A common string class and character string support functions.
virtual size_t _pull(char *address, size_t size)=0
Method to pull buffer from physical i/o (read).
A generic tcp socket class that offers i/o buffering.
A generic socket base class.
virtual bool _blocking(void)
Return true if blocking.
virtual int _err(void) const =0
Method to get low level i/o error.
TCPBuffer tcp_t
Convenience type for pure tcp sockets.
Common buffer protocol class.
virtual bool _pending(void)
Check if data is pending.
virtual void _clear(void)=0
Method to clear low level i/o error.
Thread-aware file system manipulation class.
A generic tcp server class.
Abstract interfaces and support.
Common socket class and address manipulation.
Generic shell parsing and application services.
Various miscellaneous platform specific headers and defines.
virtual size_t _push(const char *address, size_t size)=0
Method to push buffer into physical i/o (write).
socket_t getsocket(void) const
Get the low level socket object.
A generic socket address class.