public final class ProtocolState
extends java.lang.Object
Definiert die möglichen Zustände eines Protokolls.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_name
Name des Zustands
|
static ProtocolState |
CREATED
Stabiler Zustand für ein noch nicht gestartetes Protokoll.
|
static ProtocolState |
STARTED
Stabiler Zustand für ein gestartetes Protokoll.
|
static ProtocolState |
STARTING
Übergangszustand für ein startendes Protokoll.
|
static ProtocolState |
STOPPED
Stabiler Zustand für ein gestopptes Protokoll.
|
static ProtocolState |
STOPPING
Übergangszustand für ein zu stoppendes Protokoll.
|
Modifier | Constructor and Description |
---|---|
private |
ProtocolState(java.lang.String name)
Nicht öffentlicher Konstruktor der zum Erzeugen der vordefinierten Zustände benutzt wird.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Liefert eine textuelle Beschreibung dieses Zustands zurück.
|
public static final ProtocolState CREATED
Stabiler Zustand für ein noch nicht gestartetes Protokoll.
public static final ProtocolState STARTING
Übergangszustand für ein startendes Protokoll.
public static final ProtocolState STARTED
Stabiler Zustand für ein gestartetes Protokoll.
public static final ProtocolState STOPPING
Übergangszustand für ein zu stoppendes Protokoll.
public static final ProtocolState STOPPED
Stabiler Zustand für ein gestopptes Protokoll.
private final java.lang.String _name
Name des Zustands