public class Dist
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
active |
private int |
eligible |
private int |
matching |
private boolean |
more |
private java.util.List<Pipe> |
pipes |
Constructor and Description |
---|
Dist() |
Modifier and Type | Method and Description |
---|---|
void |
activated(Pipe pipe) |
(package private) int |
active() |
void |
attach(Pipe pipe) |
boolean |
checkHwm() |
private void |
distribute(Msg msg) |
(package private) int |
eligible() |
boolean |
hasOut() |
void |
match(Pipe pipe) |
(package private) int |
matching() |
boolean |
sendToAll(Msg msg) |
boolean |
sendToMatching(Msg msg) |
void |
terminated(Pipe pipe) |
void |
unmatch() |
private boolean |
write(Pipe pipe,
Msg msg) |
private final java.util.List<Pipe> pipes
private int matching
private int active
private int eligible
private boolean more
public void attach(Pipe pipe)
public void match(Pipe pipe)
public void unmatch()
public void terminated(Pipe pipe)
public void activated(Pipe pipe)
public boolean sendToAll(Msg msg)
public boolean sendToMatching(Msg msg)
private void distribute(Msg msg)
public boolean hasOut()
public boolean checkHwm()
int active()
int eligible()
int matching()