DummySocket Class Reference#include <DummySocket.h>
List of all members.
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.
Constructor & Destructor Documentation
DummySocket::DummySocket |
( |
int |
sockn |
) |
[inline] |
virtual DummySocket::~DummySocket |
( |
|
) |
[inline, virtual] |
Member Function Documentation
byte* DummySocket::getWriteBuffer |
( |
int |
|
) |
[inline] |
void DummySocket::write |
( |
int |
|
) |
[inline] |
int DummySocket::read |
( |
|
) |
[inline] |
byte* DummySocket::getReadBuffer |
( |
|
) |
[inline] |
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.
void DummySocket::init |
( |
|
) |
[inline] |
void DummySocket::setTextForward |
( |
|
) |
[inline] |
void DummySocket::setForward |
( |
DummySocket * |
|
) |
[inline] |
sets another socket to send data to if this one is not connected
Definition at line 33 of file DummySocket.h.
void DummySocket::setVerbosity |
( |
int |
|
) |
[inline] |
int DummySocket::write |
( |
const byte * |
, |
|
|
int |
| |
|
) |
| | [inline] |
int DummySocket::read |
( |
byte * |
, |
|
|
int |
| |
|
) |
| | [inline] |
int DummySocket::printf |
( |
const char * |
, |
|
|
|
... | |
|
) |
| | [inline] |
int DummySocket::vprintf |
( |
const char * |
, |
|
|
va_list |
| |
|
) |
| | [inline] |
int DummySocket::pprintf |
( |
int |
, |
|
|
const char * |
, |
|
|
|
... | |
|
) |
| | [inline] |
void DummySocket::flush |
( |
|
) |
[inline] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
|