org.jnetpcap.packet
Class JFlow

java.lang.Object
  extended by org.jnetpcap.packet.JFlow

public class JFlow
extends java.lang.Object

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Constructor Summary
JFlow(JFlowKey key)
           
 
Method Summary
 boolean add(JPacket packet)
           
 java.util.List<JPacket> getAll()
           
 java.util.List<JPacket> getForward()
           
 JFlowKey getKey()
           
 java.util.List<JPacket> getReverse()
           
 boolean isReversable()
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JFlow

public JFlow(JFlowKey key)
Parameters:
key -
Method Detail

getKey

public final JFlowKey getKey()
Returns:
the key

add

public boolean add(JPacket packet)

isReversable

public final boolean isReversable()
Returns:
the reversable

getAll

public final java.util.List<JPacket> getAll()
Returns:
the all

size

public int size()

getForward

public final java.util.List<JPacket> getForward()
Returns:
the forward

getReverse

public final java.util.List<JPacket> getReverse()
Returns:
the reverse

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object