Skip to content

API · fair::mq

Socketstruct

#include <Socket.h>fairmq/Socket.h:39GitHub ↗
Inherited by
fair::mq::shmem::Socket, fair::mq::zmq::Socket

No comment in the header yet.

Functions

GetId

pure virtualSocket.h:48
virtual std::string GetId() const = 0

No comment in the header yet.

Bind

pure virtualSocket.h:50
virtual bool Bind(const std::string& address) = 0

No comment in the header yet.

Connect

pure virtualSocket.h:51
virtual bool Connect(const std::string& address) = 0

No comment in the header yet.

virtual int64_t Send(Parts& parts, int timeout = -1)

No comment in the header yet.

Close

pure virtualSocket.h:61
virtual void Close() = 0

No comment in the header yet.

virtual void SetOption(
    const std::string& option,
    const void* value,
    size_t valueSize
) = 0

No comment in the header yet.

virtual void GetOption(
    const std::string& option,
    void* value,
    size_t* valueSize
) = 0

No comment in the header yet.

Events

pure virtualSocket.h:69
virtual int Events(uint32_t* events) = 0

If the backend supports it, fills the unsigned integer events with the ZMQ_EVENTS value DISCLAIMER: this API is experimental and unsupported and might be dropped / refactored in the future.

virtual unsigned long GetBytesTx() const = 0

No comment in the header yet.

virtual unsigned long GetBytesRx() const = 0

No comment in the header yet.