org.jnetpcap.protocol.tcpip
Enum TcpStreamEvent.Type

java.lang.Object
  extended by java.lang.Enum<TcpStreamEvent.Type>
      extended by org.jnetpcap.protocol.tcpip.TcpStreamEvent.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TcpStreamEvent.Type>, AnalyzerEvent.AnalyzerEventType
Enclosing class:
TcpStreamEvent

public static enum TcpStreamEvent.Type
extends java.lang.Enum<TcpStreamEvent.Type>
implements AnalyzerEvent.AnalyzerEventType


Enum Constant Summary
ACK
           
ACK_FOR_UNSEEN_SEGMENT
           
ACKED_SEGMENT
           
DUPLEX_STREAM_OPEN
           
DUPLICATE_ACK
           
DUPLICATE_SEGMENT
           
FIN_COMPLETE
           
FIN_START
           
NEW_SEQUENCE
           
OLD_ACK
           
OUT_OF_ORDER_SEGMENT
           
STREAM_CLOSED
           
SYN_COMPLETE
           
SYN_START
           
 
Method Summary
 TcpStreamEvent create(TcpAnalyzer source, TcpDuplexStream duplex)
           
 TcpStreamEvent create(TcpAnalyzer source, TcpDuplexStream duplex, JPacket packet)
           
 TcpStreamEvent create(TcpAnalyzer source, TcpDuplexStream duplex, TcpStream stream, JPacket packet)
           
static TcpStreamEvent.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TcpStreamEvent.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DUPLEX_STREAM_OPEN

public static final TcpStreamEvent.Type DUPLEX_STREAM_OPEN

SYN_START

public static final TcpStreamEvent.Type SYN_START

SYN_COMPLETE

public static final TcpStreamEvent.Type SYN_COMPLETE

STREAM_CLOSED

public static final TcpStreamEvent.Type STREAM_CLOSED

FIN_START

public static final TcpStreamEvent.Type FIN_START

FIN_COMPLETE

public static final TcpStreamEvent.Type FIN_COMPLETE

DUPLICATE_ACK

public static final TcpStreamEvent.Type DUPLICATE_ACK

OLD_ACK

public static final TcpStreamEvent.Type OLD_ACK

ACK_FOR_UNSEEN_SEGMENT

public static final TcpStreamEvent.Type ACK_FOR_UNSEEN_SEGMENT

ACK

public static final TcpStreamEvent.Type ACK

OUT_OF_ORDER_SEGMENT

public static final TcpStreamEvent.Type OUT_OF_ORDER_SEGMENT

DUPLICATE_SEGMENT

public static final TcpStreamEvent.Type DUPLICATE_SEGMENT

NEW_SEQUENCE

public static final TcpStreamEvent.Type NEW_SEQUENCE

ACKED_SEGMENT

public static final TcpStreamEvent.Type ACKED_SEGMENT
Method Detail

values

public static final TcpStreamEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TcpStreamEvent.Type c : TcpStreamEvent.Type.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TcpStreamEvent.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

create

public TcpStreamEvent create(TcpAnalyzer source,
                             TcpDuplexStream duplex,
                             TcpStream stream,
                             JPacket packet)

create

public TcpStreamEvent create(TcpAnalyzer source,
                             TcpDuplexStream duplex,
                             JPacket packet)

create

public TcpStreamEvent create(TcpAnalyzer source,
                             TcpDuplexStream duplex)