class
#include <eckit/net/TCPStream.h>
TCPStream
Base classes
- class TCPStreamBase
Derived classes
- class SharedTCPStream
Public static functions
-
static void dump(std::
ostream&, const char*, size_t)
Constructors, destructors, conversion operators
-
TCPStream(net::
TCPSocket&) - ~TCPStream() override
Public functions
- auto socket() -> TCPSocket& override
- auto remoteAddr() -> in_addr
- auto write(const void* buf, long len) -> long override
- auto read(void* buf, long len) -> long override
- auto operator<<(char) -> Stream&
- auto operator<<(unsigned char) -> Stream&
- auto operator<<(bool) -> Stream&
- auto operator<<(int) -> Stream&
- auto operator<<(unsigned int) -> Stream&
- auto operator<<(short) -> Stream&
- auto operator<<(unsigned short) -> Stream&
- auto operator<<(long) -> Stream&
- auto operator<<(unsigned long) -> Stream&
- auto operator<<(long long) -> Stream&
- auto operator<<(unsigned long long) -> Stream&
- auto operator<<(float) -> Stream&
- auto operator<<(double) -> Stream&
-
auto operator<<(const std::
string&) -> Stream& - auto operator<<(const char*) -> Stream&
-
auto operator<<(const std::
exception&) -> Stream& - auto operator<<(const Buffer&) -> Stream&
- auto operator>>(char&) -> Stream&
- auto operator>>(unsigned char&) -> Stream&
- auto operator>>(int&) -> Stream&
- auto operator>>(unsigned int&) -> Stream&
- auto operator>>(bool&) -> Stream&
- auto operator>>(long&) -> Stream&
- auto operator>>(unsigned long&) -> Stream&
- auto operator>>(long long&) -> Stream&
- auto operator>>(unsigned long long&) -> Stream&
- auto operator>>(short&) -> Stream&
- auto operator>>(unsigned short&) -> Stream&
- auto operator>>(float&) -> Stream&
- auto operator>>(double&) -> Stream&
-
auto operator>>(std::
string&) -> Stream& - auto operator>>(Buffer&) -> Stream&
-
auto operator>>(std::
map<std:: string, std:: string>&) -> Stream& -
auto next(std::
string&) -> bool - auto next(bool&) -> bool
- auto next(int&) -> bool
- auto next() -> bool
- auto endObjectFound() -> bool
- void skipEndObject()
- void startObject()
- void endObject()
- void writeBlob(const void*, size_t)
- void readBlob(void*, size_t)
- void writeLargeBlob(const void*, size_t)
- void readLargeBlob(void*, size_t)
- void rewind() virtual
- void closeInput() virtual
- auto bytesWritten() -> long long
- void resetBytesWritten()
- void startRecord(unsigned long)
- void endRecord()
- auto nextRecord(unsigned long&, bool sync = false) -> bool
- void lock()
- void unlock()
Private functions
- void closeOutput() override
Function documentation
static void eckit:: net:: TCPStream:: dump(std:: ostream&,
const char*,
size_t)
#include <eckit/serialisation/Stream.h>
eckit:: net:: TCPStream:: TCPStream(net:: TCPSocket&)
Stream& eckit:: net:: TCPStream:: operator<<(char)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(unsigned char)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(bool)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(int)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(unsigned int)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(short)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(unsigned short)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(unsigned long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(long long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(unsigned long long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(float)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(double)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(const std:: string&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(const char*)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(const std:: exception&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator<<(const Buffer&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(char&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(unsigned char&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(int&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(unsigned int&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(bool&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(unsigned long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(long long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(unsigned long long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(short&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(unsigned short&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(float&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(double&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(std:: string&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(Buffer&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: TCPStream:: operator>>(std:: map<std:: string, std:: string>&)
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: TCPStream:: next(std:: string&)
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: TCPStream:: next(bool&)
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: TCPStream:: next(int&)
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: TCPStream:: next()
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: TCPStream:: endObjectFound()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: skipEndObject()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: startObject()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: endObject()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: writeBlob(const void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: readBlob(void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: writeLargeBlob(const void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: readLargeBlob(void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: rewind() virtual
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: closeInput() virtual
#include <eckit/serialisation/Stream.h>
long long eckit:: net:: TCPStream:: bytesWritten()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: resetBytesWritten()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: startRecord(unsigned long)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: endRecord()
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: TCPStream:: nextRecord(unsigned long&,
bool sync = false)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: lock()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: TCPStream:: unlock()
#include <eckit/serialisation/Stream.h>