예제 #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);
 }
예제 #2
0
 internal ZmqSubSocket(ZmqSocketFactory factory, NetMQSocket socket) : base(factory, socket)
 {
 }