eckit::net::SharedTCPStream class

Base classes

class TCPStream
class eckit::Counted

Public static functions

static void dump(std::ostream&, const char*, size_t)

Constructors, destructors, conversion operators

SharedTCPStream(net::TCPSocket&)

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()
void attach() const
void detach() const
auto count() const -> size_t
void lock() const
void unlock() const

Function documentation

static void eckit::net::SharedTCPStream::dump(std::ostream&, const char*, size_t)

Stream& eckit::net::SharedTCPStream::operator<<(char)

Stream& eckit::net::SharedTCPStream::operator<<(unsigned char)

Stream& eckit::net::SharedTCPStream::operator<<(bool)

Stream& eckit::net::SharedTCPStream::operator<<(int)

Stream& eckit::net::SharedTCPStream::operator<<(unsigned int)

Stream& eckit::net::SharedTCPStream::operator<<(short)

Stream& eckit::net::SharedTCPStream::operator<<(unsigned short)

Stream& eckit::net::SharedTCPStream::operator<<(long)

Stream& eckit::net::SharedTCPStream::operator<<(unsigned long)

Stream& eckit::net::SharedTCPStream::operator<<(long long)

Stream& eckit::net::SharedTCPStream::operator<<(unsigned long long)

Stream& eckit::net::SharedTCPStream::operator<<(float)

Stream& eckit::net::SharedTCPStream::operator<<(double)

Stream& eckit::net::SharedTCPStream::operator<<(const std::string&)

Stream& eckit::net::SharedTCPStream::operator<<(const char*)

Stream& eckit::net::SharedTCPStream::operator<<(const std::exception&)

Stream& eckit::net::SharedTCPStream::operator<<(const Buffer&)

Stream& eckit::net::SharedTCPStream::operator>>(char&)

Stream& eckit::net::SharedTCPStream::operator>>(unsigned char&)

Stream& eckit::net::SharedTCPStream::operator>>(int&)

Stream& eckit::net::SharedTCPStream::operator>>(unsigned int&)

Stream& eckit::net::SharedTCPStream::operator>>(bool&)

Stream& eckit::net::SharedTCPStream::operator>>(long&)

Stream& eckit::net::SharedTCPStream::operator>>(unsigned long&)

Stream& eckit::net::SharedTCPStream::operator>>(long long&)

Stream& eckit::net::SharedTCPStream::operator>>(unsigned long long&)

Stream& eckit::net::SharedTCPStream::operator>>(short&)

Stream& eckit::net::SharedTCPStream::operator>>(unsigned short&)

Stream& eckit::net::SharedTCPStream::operator>>(float&)

Stream& eckit::net::SharedTCPStream::operator>>(double&)

Stream& eckit::net::SharedTCPStream::operator>>(std::string&)

Stream& eckit::net::SharedTCPStream::operator>>(Buffer&)

bool eckit::net::SharedTCPStream::next(std::string&)

bool eckit::net::SharedTCPStream::next(bool&)

bool eckit::net::SharedTCPStream::next(int&)

bool eckit::net::SharedTCPStream::next()

bool eckit::net::SharedTCPStream::endObjectFound()

void eckit::net::SharedTCPStream::skipEndObject()

void eckit::net::SharedTCPStream::startObject()

void eckit::net::SharedTCPStream::endObject()

void eckit::net::SharedTCPStream::writeBlob(const void*, size_t)

void eckit::net::SharedTCPStream::readBlob(void*, size_t)

void eckit::net::SharedTCPStream::writeLargeBlob(const void*, size_t)

void eckit::net::SharedTCPStream::readLargeBlob(void*, size_t)

void eckit::net::SharedTCPStream::rewind() virtual

void eckit::net::SharedTCPStream::closeInput() virtual

long long eckit::net::SharedTCPStream::bytesWritten()

void eckit::net::SharedTCPStream::resetBytesWritten()

void eckit::net::SharedTCPStream::startRecord(unsigned long)

void eckit::net::SharedTCPStream::endRecord()

bool eckit::net::SharedTCPStream::nextRecord(unsigned long&, bool sync = false)

void eckit::net::SharedTCPStream::lock()

void eckit::net::SharedTCPStream::unlock()

void eckit::net::SharedTCPStream::attach() const

void eckit::net::SharedTCPStream::detach() const

size_t eckit::net::SharedTCPStream::count() const

void eckit::net::SharedTCPStream::lock() const

void eckit::net::SharedTCPStream::unlock() const