public class HdlcMessageQueue
extends java.lang.Object
implements java.lang.Iterable<byte[]>
Constructor and Description |
---|
HdlcMessageQueue(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
clearTil(int sendSeq) |
int |
getCapacity() |
java.util.Iterator<byte[]> |
iterator() |
void |
offerMessage(byte[] dataToSend,
int sendSequence) |
void |
reszize(int newSize) |
int |
size() |
public void reszize(int newSize)
public int getCapacity()
public void clearTil(int sendSeq)
public int size()
public void clear()
public void offerMessage(byte[] dataToSend, int sendSequence)
public java.util.Iterator<byte[]> iterator()
iterator
in interface java.lang.Iterable<byte[]>