|
| Socket (Context &ctx, const std::string &type, const std::string &name, const std::string &id, FairMQTransportFactory *factory=nullptr) |
|
| Socket (const Socket &)=delete |
|
Socket | operator= (const Socket &)=delete |
|
std::string | GetId () const override |
|
bool | Bind (const std::string &address) override |
|
bool | Connect (const std::string &address) override |
|
bool | ShouldRetry (int flags, int timeout, int &elapsed) const |
|
int | HandleErrors () const |
|
int64_t | Send (MessagePtr &msg, const int timeout=-1) override |
|
int64_t | Receive (MessagePtr &msg, const int timeout=-1) override |
|
int64_t | Send (std::vector< std::unique_ptr< fair::mq::Message >> &msgVec, const int timeout=-1) override |
|
int64_t | Receive (std::vector< std::unique_ptr< fair::mq::Message >> &msgVec, const int timeout=-1) override |
|
void * | GetSocket () const |
|
void | Close () override |
|
void | SetOption (const std::string &option, const void *value, size_t valueSize) override |
|
void | GetOption (const std::string &option, void *value, size_t *valueSize) override |
|
void | Events (uint32_t *events) override |
|
void | SetLinger (const int value) override |
|
int | GetLinger () const override |
|
void | SetSndBufSize (const int value) override |
|
int | GetSndBufSize () const override |
|
void | SetRcvBufSize (const int value) override |
|
int | GetRcvBufSize () const override |
|
void | SetSndKernelSize (const int value) override |
|
int | GetSndKernelSize () const override |
|
void | SetRcvKernelSize (const int value) override |
|
int | GetRcvKernelSize () const override |
|
unsigned long | GetBytesTx () const override |
|
unsigned long | GetBytesRx () const override |
|
unsigned long | GetMessagesTx () const override |
|
unsigned long | GetMessagesRx () const override |
|
| FairMQSocket (FairMQTransportFactory *fac) |
|
virtual int64_t | Send (std::vector< std::unique_ptr< FairMQMessage >> &msgVec, int timeout=-1)=0 |
|
virtual int64_t | Receive (std::vector< std::unique_ptr< FairMQMessage >> &msgVec, int timeout=-1)=0 |
|
FairMQTransportFactory * | GetTransport () |
|
void | SetTransport (FairMQTransportFactory *transport) |
|