public class BoundedFIFOQueue extends FIFOQueue
Queue.QueueEntryEntity.PortAlias| Modifier and Type | Field and Description |
|---|---|
protected int |
maxSizeInUnits |
currentNumberOfUnits, inputPort, lossProbability, numberOfMessages, numberOfUnits, outputPort, transferTime, waitingTimeportAliases, 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, putgetInput, getOutput, handleGetMessage, handleIsMessageAvailable, handleLossMessage, handleMessageIndicationaddPort, aliasPort, aliasPort, connect, disconnect, getName, getNode, getPortByName, getPorts, isPortKnown, unaliasPortpublic 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