rcv hc
NOT_CLOSED ---------------> REMOTELY_CLOSED
| |
gen| |gen
hc| |hc
| |
v rcv hc v
LOCALLY_CLOSING --------------> CLOSING
| |
snd| |gen
hc| |hc
| |
v rcv hc v
LOCALLY_CLOSED ----------------> CLOSED
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final CloseState | CLOSED
Fully closed. |
| public static final CloseState | CLOSING
A half-close frame has been received and a half-close frame has been generated, but not yet sent. |
| public static final CloseState | LOCALLY_CLOSED
A half-close frame has been generated and sent. |
| public static final CloseState | LOCALLY_CLOSING
A half-close frame has been generated. |
| public static final CloseState | NOT_CLOSED
Fully open. |
| public static final CloseState | REMOTELY_CLOSED
A half-close frame has been received. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CloseState | |
| public static CloseState[] |
| CLOSED | back to summary |
|---|---|
| public static final CloseState CLOSED Fully closed. | |
| CLOSING | back to summary |
|---|---|
| public static final CloseState CLOSING A half-close frame has been received and a half-close frame has been generated, but not yet sent. | |
| LOCALLY_CLOSED | back to summary |
|---|---|
| public static final CloseState LOCALLY_CLOSED A half-close frame has been generated and sent. | |
| LOCALLY_CLOSING | back to summary |
|---|---|
| public static final CloseState LOCALLY_CLOSING A half-close frame has been generated. | |
| NOT_CLOSED | back to summary |
|---|---|
| public static final CloseState NOT_CLOSED Fully open. | |
| REMOTELY_CLOSED | back to summary |
|---|---|
| public static final CloseState REMOTELY_CLOSED A half-close frame has been received. | |
| CloseState | back to summary |
|---|---|
| private CloseState() | |
| valueOf | back to summary |
|---|---|
| public static CloseState valueOf(String name) | |
| values | back to summary |
|---|---|
| public static CloseState[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final CloseState. | |
| public static final CloseState. | |
| public static final CloseState. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CloseState. | |
| public static CloseState. |
| AFTER_SEND | back to summary |
|---|---|
| public static final CloseState. | |
| BEFORE_SEND | back to summary |
|---|---|
| public static final CloseState. | |
| RECEIVED | back to summary |
|---|---|
| public static final CloseState. | |
| Event | back to summary |
|---|---|
| private Event() | |
| valueOf | back to summary |
|---|---|
| public static CloseState. | |
| values | back to summary |
|---|---|
| public static CloseState. | |