Package zmq

Class Ctx.ChannelForwardHolder

java.lang.Object
zmq.Ctx.ChannelForwardHolder
Enclosing class:
Ctx

private static class Ctx.ChannelForwardHolder extends Object
A class that holds the informations needed to forward channel in monitor sockets. Of course, it only works with inproc sockets.

It uses WeakReference to avoid holding references to channel if the monitor event is lost.

A class is used as a lock in lazy allocation of the needed objects.