public class BoundedFIFOQueue extends FIFOQueue
Queue.QueueEntry
Entity.PortAlias
Modifier and Type | Field and Description |
---|---|
protected int |
maxSizeInUnits |
currentNumberOfUnits, inputPort, lossProbability, numberOfMessages, numberOfUnits, outputPort, transferTime, waitingTime
portAliases, ports, simNode
Constructor and Description |
---|
BoundedFIFOQueue(int size,
java.lang.String name,
SimNode owner) |
BoundedFIFOQueue(Parameters pars,
java.lang.String name,
SimNode owner) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxSizeInUnits() |
boolean |
isFull(Message msg) |
get, getCurrentNumberOfMessages, getCurrentNumberOfUnits, isEmpty, put
getInput, getOutput, handleGetMessage, handleIsMessageAvailable, handleLossMessage, handleMessageIndication
addPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPort
public BoundedFIFOQueue(int size, java.lang.String name, SimNode owner)
public BoundedFIFOQueue(Parameters pars, java.lang.String name, SimNode owner)
public boolean isFull(Message msg)
public int getMaxSizeInUnits()
getMaxSizeInUnits
in class FIFOQueue