org.jnetpcap.packet
Class JFlow

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

public class JFlow
extends java.lang.Object

The Class JFlow.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Constructor Summary
JFlow(JFlowKey key)
          Instantiates a new j flow.
 
Method Summary
 boolean add(JPacket packet)
          Adds the.
 java.util.List<JPacket> getAll()
          Gets the all.
 java.util.List<JPacket> getForward()
          Gets the forward.
 JFlowKey getKey()
          Gets the key.
 java.util.List<JPacket> getReverse()
          Gets the reverse.
 boolean isReversable()
          Checks if is reversable.
 int size()
          Size.
 java.lang.String toString()
          To string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JFlow

public JFlow(JFlowKey key)
Instantiates a new j flow.

Parameters:
key - the key
Method Detail

getKey

public final JFlowKey getKey()
Gets the key.

Returns:
the key

add

public boolean add(JPacket packet)
Adds the.

Parameters:
packet - the packet
Returns:
true, if successful

isReversable

public final boolean isReversable()
Checks if is reversable.

Returns:
the reversable

getAll

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

Returns:
the all

size

public int size()
Size.

Returns:
the int

getForward

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

Returns:
the forward

getReverse

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

Returns:
the reverse

toString

public java.lang.String toString()
To string.

Overrides:
toString in class java.lang.Object
Returns:
the string
See Also:
Object.toString()