예제 #1
0
 internal CastleZmqSocket(CastleZmqSocketFactory factory, IZmqSocket socket)
 {
     if (socket == null)
     {
         throw new ArgumentNullException("socket");
     }
     _factory = factory;
     _socket  = socket;
     _factory.AddSocket(this);
 }
예제 #2
0
 internal CastleZmqSubSocket(CastleZmqSocketFactory factory, IZmqSocket socket) : base(factory, socket)
 {
 }