Package nl.sidnlabs.pcap.packet
Class FlowData
- java.lang.Object
-
- nl.sidnlabs.pcap.packet.FlowData
-
public class FlowData extends Object
-
-
Constructor Summary
Constructors Constructor Description FlowData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPayload(SequencePayload p)Add new SequencePayload to the list of sequences, if the sequence is out-of-order then it will not be added to the listintgetBytesAvail()longgetNextExpectedSequence()List<SequencePayload>getPayloads()List<SequencePayload>getSortedPayloads()booleanisMinPayloadAvail()intsize()
-
-
-
Method Detail
-
addPayload
public void addPayload(SequencePayload p)
Add new SequencePayload to the list of sequences, if the sequence is out-of-order then it will not be added to the list- Parameters:
p- SequencePayload
-
size
public int size()
-
getSortedPayloads
public List<SequencePayload> getSortedPayloads()
-
getPayloads
public List<SequencePayload> getPayloads()
-
isMinPayloadAvail
public boolean isMinPayloadAvail()
-
getNextExpectedSequence
public long getNextExpectedSequence()
-
getBytesAvail
public int getBytesAvail()
-
-