class
#include <eckit/net/Connector.h>
Connector
Base classes
- class eckit::Stream
Public static functions
- static auto service(const NodeInfo& node) -> Connector&
-
static auto service(const std::
string& name, const std:: string& node) -> Connector& -
static auto nodeInfo(const std::
string& name, const std:: string& node) -> NodeInfo -
static void dump(std::
ostream&, const char*, size_t)
Constructors, destructors, conversion operators
-
Connector(const std::
string& name, const std:: string& node) - ~Connector()
Public functions
- void lock()
- void unlock()
- void reset()
- void check()
- auto locked() const -> bool
-
auto host() const -> const std::
string& -
auto node() const -> const std::
string& - void autoclose(bool on)
- void memoize(bool on, unsigned long time)
- 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 closeOutput() virtual
- void closeInput() virtual
- auto bytesWritten() -> long long
- void resetBytesWritten()
- void startRecord(unsigned long)
- void endRecord()
- auto nextRecord(unsigned long&, bool sync = false) -> bool
Public variables
Private functions
-
void print(std::
ostream&) const override - auto write(const void* buf, long len) -> long override
- auto read(void* buf, long len) -> long override
-
auto name() const -> std::
string override
Friends
-
auto operator<<(std::
ostream& s, const Connector& p) -> std:: ostream&
Function documentation
static void eckit:: net:: Connector:: dump(std:: ostream&,
const char*,
size_t)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(char)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(unsigned char)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(bool)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(int)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(unsigned int)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(short)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(unsigned short)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(unsigned long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(long long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(unsigned long long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(float)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(double)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(const std:: string&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(const char*)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(const std:: exception&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator<<(const Buffer&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(char&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(unsigned char&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(int&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(unsigned int&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(bool&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(unsigned long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(long long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(unsigned long long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(short&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(unsigned short&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(float&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(double&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(std:: string&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(Buffer&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: net:: Connector:: operator>>(std:: map<std:: string, std:: string>&)
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: Connector:: next(std:: string&)
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: Connector:: next(bool&)
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: Connector:: next(int&)
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: Connector:: next()
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: Connector:: endObjectFound()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: skipEndObject()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: startObject()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: endObject()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: writeBlob(const void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: readBlob(void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: writeLargeBlob(const void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: readLargeBlob(void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: rewind() virtual
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: closeOutput() virtual
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: closeInput() virtual
#include <eckit/serialisation/Stream.h>
long long eckit:: net:: Connector:: bytesWritten()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: resetBytesWritten()
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: startRecord(unsigned long)
#include <eckit/serialisation/Stream.h>
void eckit:: net:: Connector:: endRecord()
#include <eckit/serialisation/Stream.h>
bool eckit:: net:: Connector:: nextRecord(unsigned long&,
bool sync = false)
#include <eckit/serialisation/Stream.h>