#include </home/runner/work/allwpilib/allwpilib/wpinet/src/main/native/thirdparty/tcpsockets/include/wpinet/TCPStream.h>
|
| ~TCPStream () override |
|
size_t | send (const char *buffer, size_t len, Error *err) override |
|
size_t | receive (char *buffer, size_t len, Error *err, int timeout=0) override |
|
void | close () final |
|
std::string_view | getPeerIP () const override |
|
int | getPeerPort () const override |
|
void | setNoDelay () override |
|
bool | setBlocking (bool enabled) override |
|
int | getNativeHandle () const override |
|
| TCPStream (const TCPStream &stream)=delete |
|
TCPStream & | operator= (const TCPStream &)=delete |
|
| NetworkStream ()=default |
|
virtual | ~NetworkStream ()=default |
|
virtual size_t | send (const char *buffer, size_t len, Error *err)=0 |
|
virtual size_t | receive (char *buffer, size_t len, Error *err, int timeout=0)=0 |
|
virtual void | close ()=0 |
|
virtual std::string_view | getPeerIP () const =0 |
|
virtual int | getPeerPort () const =0 |
|
virtual void | setNoDelay ()=0 |
|
virtual bool | setBlocking (bool enabled)=0 |
|
virtual int | getNativeHandle () const =0 |
|
| NetworkStream (const NetworkStream &)=delete |
|
NetworkStream & | operator= (const NetworkStream &)=delete |
|
◆ ~TCPStream()
wpi::TCPStream::~TCPStream |
( |
| ) |
|
|
override |
◆ TCPStream()
wpi::TCPStream::TCPStream |
( |
const TCPStream & |
stream | ) |
|
|
delete |
◆ close()
void wpi::TCPStream::close |
( |
| ) |
|
|
finalvirtual |
◆ getNativeHandle()
int wpi::TCPStream::getNativeHandle |
( |
| ) |
const |
|
overridevirtual |
◆ getPeerIP()
◆ getPeerPort()
int wpi::TCPStream::getPeerPort |
( |
| ) |
const |
|
overridevirtual |
◆ operator=()
◆ receive()
size_t wpi::TCPStream::receive |
( |
char * |
buffer, |
|
|
size_t |
len, |
|
|
Error * |
err, |
|
|
int |
timeout = 0 |
|
) |
| |
|
overridevirtual |
◆ send()
size_t wpi::TCPStream::send |
( |
const char * |
buffer, |
|
|
size_t |
len, |
|
|
Error * |
err |
|
) |
| |
|
overridevirtual |
◆ setBlocking()
bool wpi::TCPStream::setBlocking |
( |
bool |
enabled | ) |
|
|
overridevirtual |
◆ setNoDelay()
void wpi::TCPStream::setNoDelay |
( |
| ) |
|
|
overridevirtual |
◆ TCPAcceptor
◆ TCPConnector
The documentation for this class was generated from the following file:
- /home/runner/work/allwpilib/allwpilib/wpinet/src/main/native/thirdparty/tcpsockets/include/wpinet/TCPStream.h