25 #ifndef AOSSL_ZMQ_INCLUDE_FACTORY_ZMQ_H_ 26 #define AOSSL_ZMQ_INCLUDE_FACTORY_ZMQ_H_ 31 #include "zmq_interface.h" 40 zmq::context_t *context;
46 context =
new zmq::context_t(1, num_sockets);
54 int connection_type) {
55 ZmqOut *zmqo =
new Zmqo(*context, connection_type);
62 int connection_type) {
63 ZmqIn *zmqi =
new Zmqi(*context, connection_type);
69 #endif // AOSSL_ZMQ_INCLUDE_FACTORY_ZMQ_H_ Zmqio * get_zmq_outbound_interface(std::string conn_str, int connection_type)
Get a ZMQ Outbound Interface instance.
Definition: factory_zmq.h:53
An Interface for ZMQIO.
Definition: zmq_interface.h:37
An Inbound ZMQ Manager.
Definition: zmq_interface.h:87
virtual void connect(std::string conn_str)=0
Connect to the given conn_str.
ZmqComponentFactory()
Create a new Service Component Factory.
Definition: factory_zmq.h:44
virtual void bind(std::string conn_str)=0
Bind on the given conn_str.
Zmqio * get_zmq_inbound_interface(std::string conn_str, int connection_type)
Get a ZMQ Inbound Interface instance.
Definition: factory_zmq.h:61
An Outbound ZMQ Manager.
Definition: zmq_interface.h:60
~ZmqComponentFactory()
Delete a Service Component Factory.
Definition: factory_zmq.h:50
The ZMQ Service Component Factory.
Definition: factory_zmq.h:39