org.mitre.cybox.objects.network.TCPStateEnum Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.11.01 at 11:48:17 AM PST
//
package org.mitre.cybox.objects.network;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for TCPStateEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="TCPStateEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="UNKNOWN"/>
* <enumeration value="CLOSED"/>
* <enumeration value="LISTENING"/>
* <enumeration value="SYN_SENT"/>
* <enumeration value="SYN_RECEIVED"/>
* <enumeration value="ESTABLISHED"/>
* <enumeration value="FIN_WAIT_1"/>
* <enumeration value="FIN_WAIT_2"/>
* <enumeration value="CLOSE_WAIT"/>
* <enumeration value="CLOSING"/>
* <enumeration value="LAST_ACK"/>
* <enumeration value="TIME_WAIT"/>
* <enumeration value="DELETING_TCB"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TCPStateEnum", namespace = "http://cybox.mitre.org/objects#NetworkConnectionObject-2")
@XmlEnum
public enum TCPStateEnum {
/**
* Indicates an unknown TCP connection state.
*
*/
UNKNOWN,
/**
* Indicates the closed TCP connection state--i.e. no connection state at all.
*
*/
CLOSED,
/**
* Indicates the listening TCP connection state.
*
*/
LISTENING,
/**
* Indicates the SYN sent TCP connection state--i.e. wait for a matching connection request after having sent a connection request.
*
*/
SYN_SENT,
/**
* Indicates the SYN received TCP connection state--i.e. waiting for a confirming connection request acknowledgment after having both received and sent a connection request.
*
*/
SYN_RECEIVED,
/**
* Indicates the established TCP connection state--i.e. an open connection in which data received can be delivered to the user.
*
*/
ESTABLISHED,
/**
* Indicates the FIN-WAIT-1 TCP connection state--i.e. waiting for a connection termination request from the remote TCP, or an acknowledgment of the connection termination request previously sent.
*
*/
FIN_WAIT_1,
/**
* Indicates the FIN-WAIT-2 TCP connection state--i.e. waiting for a connection termination request from the remote TCP.
*
*/
FIN_WAIT_2,
/**
* Indicates the CLOSE-WAIT TCP connection state--i.e. waiting for a connection termination request from the local user.
*
*/
CLOSE_WAIT,
/**
* Indicates the CLOSING TCP connection state--i.e. waiting for a connection termination request acknowledgment from the remote TCP.
*
*/
CLOSING,
/**
* Indicates the LAST-ACK connection state--i.e. waiting for an acknowledgment of the connection termination request previously sent to the remote TCP (which includes an acknowledgment of its connection termination request).
*
*/
LAST_ACK,
/**
* Indicates the TIME-WAIT connection state--i.e. waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request.
*
*/
TIME_WAIT,
/**
* Indicates the DELETE-TCB connection state--i.e. the Transmission Control Block (TCB) is being deleted.
*
*/
DELETING_TCB;
public String value() {
return name();
}
public static TCPStateEnum fromValue(String v) {
return valueOf(v);
}
}