Package zmq.socket.pubsub
Class Dist
- java.lang.Object
-
- zmq.socket.pubsub.Dist
-
public class Dist extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Dist()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivated(Pipe pipe)(package private) intactive()voidattach(Pipe pipe)booleancheckHwm()private voiddistribute(Msg msg)(package private) inteligible()booleanhasOut()voidmatch(Pipe pipe)(package private) intmatching()booleansendToAll(Msg msg)booleansendToMatching(Msg msg)voidterminated(Pipe pipe)voidunmatch()private booleanwrite(Pipe pipe, Msg msg)
-
-
-
Field Detail
-
pipes
private final java.util.List<Pipe> pipes
-
matching
private int matching
-
active
private int active
-
eligible
private int eligible
-
more
private boolean more
-
-
Method Detail
-
attach
public void attach(Pipe pipe)
-
match
public void match(Pipe pipe)
-
unmatch
public void unmatch()
-
terminated
public void terminated(Pipe pipe)
-
activated
public void activated(Pipe pipe)
-
sendToAll
public boolean sendToAll(Msg msg)
-
sendToMatching
public boolean sendToMatching(Msg msg)
-
distribute
private void distribute(Msg msg)
-
hasOut
public boolean hasOut()
-
checkHwm
public boolean checkHwm()
-
active
int active()
-
eligible
int eligible()
-
matching
int matching()
-
-