Socket(
Manager& manager,
const std::string& type,
const std::string& name,
const std::string& id,
void* context,
fair::mq::TransportFactory* fac = nullptr
)No comment in the header yet.
API · fair::mq::shmem
fair::mq::SocketNo comment in the header yet.
Socket(
Manager& manager,
const std::string& type,
const std::string& name,
const std::string& id,
void* context,
fair::mq::TransportFactory* fac = nullptr
)No comment in the header yet.
Socket(const Socket&) = deleteNo comment in the header yet.
Socket(Socket&&) = deleteNo comment in the header yet.
Socket& operator=(const Socket&) = deleteNo comment in the header yet.
Socket& operator=(Socket&&) = deleteNo comment in the header yet.
virtual std::string GetId() const overrideNo comment in the header yet.
virtual bool Bind(const std::string& address) overrideNo comment in the header yet.
virtual bool Connect(const std::string& address) overrideNo comment in the header yet.
virtual int64_t Send(mq::MessagePtr& msg, int timeout = -1) overrideNo comment in the header yet.
virtual int64_t Receive(MessagePtr& msg, int timeout = -1) overrideNo comment in the header yet.
virtual int64_t Send(Parts::container& msgVec, int timeout = -1) overrideNo comment in the header yet.
virtual int64_t Receive(Parts::container& msgVec, int timeout = -1) overrideNo comment in the header yet.
void* GetSocket() constNo comment in the header yet.
virtual void Close() overrideNo comment in the header yet.
virtual void SetOption(
const std::string& option,
const void* value,
size_t valueSize
) overrideNo comment in the header yet.
virtual void GetOption(
const std::string& option,
void* value,
size_t* valueSize
) overrideNo comment in the header yet.
virtual void SetLinger(int value) overrideNo comment in the header yet.
virtual int Events(uint32_t* events) overrideIf 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 int GetLinger() const overrideNo comment in the header yet.
virtual void SetSndBufSize(int value) overrideNo comment in the header yet.
virtual int GetSndBufSize() const overrideNo comment in the header yet.
virtual void SetRcvBufSize(int value) overrideNo comment in the header yet.
virtual int GetRcvBufSize() const overrideNo comment in the header yet.
virtual void SetSndKernelSize(int value) overrideNo comment in the header yet.
virtual int GetSndKernelSize() const overrideNo comment in the header yet.
virtual void SetRcvKernelSize(int value) overrideNo comment in the header yet.
virtual int GetRcvKernelSize() const overrideNo comment in the header yet.
virtual unsigned long GetNumberOfConnectedPeers() const overrideNo comment in the header yet.
virtual unsigned long GetBytesTx() const overrideNo comment in the header yet.
virtual unsigned long GetBytesRx() const overrideNo comment in the header yet.
virtual unsigned long GetMessagesTx() const overrideNo comment in the header yet.
virtual unsigned long GetMessagesRx() const overrideNo comment in the header yet.
virtual ~Socket() overrideNo comment in the header yet.
static int GetConstant(const std::string& constant)No comment in the header yet.