DummySocket Class Reference#include <DummySocket.h>
Inheritance diagram for DummySocket:
[legend]List of all members.
Detailed Description
provides a no-op implementation of Socket for disabled operation
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
Definition at line 17 of file DummySocket.h.
Constructor & Destructor Documentation
DummySocket::DummySocket |
( |
int |
sockn |
) |
[inline] |
|
virtual DummySocket::~DummySocket |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
void DummySocket::flush |
( |
|
) |
[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. |
byte* DummySocket::getWriteBuffer |
( |
int |
|
) |
[inline] |
|
void DummySocket::init |
( |
|
) |
[inline] |
|
int DummySocket::pprintf |
( |
int |
, |
|
|
const char * |
, |
|
|
|
... |
|
) |
[inline] |
|
int DummySocket::printf |
( |
const char * |
, |
|
|
|
... |
|
) |
[inline] |
|
int DummySocket::read |
( |
byte * |
, |
|
|
int |
|
|
) |
[inline] |
|
int DummySocket::read |
( |
void |
|
) |
[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::setTextForward |
( |
|
) |
[inline] |
|
void DummySocket::setVerbosity |
( |
int |
|
) |
[inline] |
|
int DummySocket::vprintf |
( |
const char * |
, |
|
|
va_list |
|
|
) |
[inline] |
|
int DummySocket::write |
( |
const byte * |
, |
|
|
int |
|
|
) |
[inline] |
|
void DummySocket::write |
( |
int |
|
) |
[inline] |
|
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
|