DummySocket Class Reference
Tekkotsu wireless DummySocket class.
More...
#include <DummySocket.h>
Detailed Description
Tekkotsu wireless DummySocket class.
This class provides a DummySocket that doesn't really do anything It exists to maintain code readability; while supporting dogs without wireless Of course, since it does nothing, it doesn't need documentation provides a no-op implementation of Socket for disabled operation
Definition at line 17 of file DummySocket.h.
List of all members.
Constructor & Destructor Documentation
DummySocket::DummySocket |
( |
int |
sockn |
) |
|
virtual DummySocket::~DummySocket |
( |
|
) |
[virtual] |
Member Function Documentation
void DummySocket::flush |
( |
|
) |
|
byte* DummySocket::getReadBuffer |
( |
|
) |
|
getReadBuffer is used with blocking read's NOT IMPLEMENTED
The read(void) and getReadBuffer combo eliminates one buffer copy. You don't need to use getReadBuffer with read(byte*, int)
Blocking read is currently broken - it will be fixed in the next release
- Returns:
- pointer to the buffer the previous call to blocking read wrote into or NULL if no data was read
Reimplemented from Socket.
Definition at line 29 of file DummySocket.h.
byte* DummySocket::getWriteBuffer |
( |
int |
|
) |
|
void DummySocket::init |
( |
|
) |
|
int DummySocket::pprintf |
( |
int |
, |
|
|
const char * |
, |
|
|
|
... | |
|
) |
| | |
int DummySocket::printf |
( |
const char * |
, |
|
|
|
... | |
|
) |
| | |
int DummySocket::read |
( |
byte * |
, |
|
|
int |
| |
|
) |
| | |
int DummySocket::read |
( |
void |
|
) |
|
sets another socket to send data to if this one is not connected
Definition at line 33 of file DummySocket.h.
void DummySocket::setTextForward |
( |
|
) |
|
void DummySocket::setVerbosity |
( |
int |
|
) |
|
int DummySocket::vprintf |
( |
const char * |
, |
|
|
va_list |
| |
|
) |
| | |
int DummySocket::write |
( |
const byte * |
, |
|
|
int |
| |
|
) |
| | |
void DummySocket::write |
( |
int |
|
) |
|
Friends And Related Function Documentation
The documentation for this class was generated from the following file: