Exemplo n.º 1
0
 internal ZmqSocket(ZmqSocketFactory factory, NetMQSocket socket)
 {
     if (socket == null)
     {
         throw new ArgumentNullException(nameof(socket));
     }
     _factory             = factory;
     Socket               = socket;
     Socket.SendReady    += SendReady;
     Socket.ReceiveReady += ReceiveReady;
     _factory.AddSocket(socket);
 }
Exemplo n.º 2
0
 internal ZmqSubSocket(ZmqSocketFactory factory, NetMQSocket socket) : base(factory, socket)
 {
 }