|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TransportEvent>
org.simpleframework.transport.TransportEvent
public enum TransportEvent
The TransportEvent enum represents various events that
can occur with the transport. Events that are available here are
typically those that refer to low level I/O operations within the
server. If a Trace has been associated with the socket
connection then it will receive these events as they occur.
| Enum Constant Summary | |
|---|---|
CERTIFICATE_CHALLENGE
This event occurs when a server challenges for an X509 certificate. |
|
CLOSE
This event occurs when the underlying connection is terminated. |
|
ERROR
This event occurs when there is an error with the transport. |
|
HANDSHAKE_BEGIN
This event occurs with HTTPS when a new SSL handshake starts. |
|
HANDSHAKE_DONE
This event occurs with HTTPS when a SSL handshake has finished. |
|
HANDSHAKE_FAILED
This event indicates that the handshake failed in some way. |
|
READ
This event represents a read operation on the underlying socket. |
|
READ_WAIT
This event occurs when there is no more data available to read. |
|
WRITE
This event represents a write operation on the underlying socket. |
|
WRITE_BLOCKING
This event occurs when a thread must wait for a write to finish. |
|
WRITE_BUFFER
This event represents a write buffer operation on the underlying socket. |
|
WRITE_WAIT
This event occurs when no more data can be sent over the socket. |
|
| Method Summary | |
|---|---|
static TransportEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TransportEvent[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TransportEvent READ
public static final TransportEvent READ_WAIT
public static final TransportEvent WRITE
public static final TransportEvent WRITE_BUFFER
public static final TransportEvent WRITE_WAIT
public static final TransportEvent WRITE_BLOCKING
public static final TransportEvent HANDSHAKE_BEGIN
public static final TransportEvent HANDSHAKE_DONE
public static final TransportEvent CERTIFICATE_CHALLENGE
public static final TransportEvent HANDSHAKE_FAILED
public static final TransportEvent CLOSE
public static final TransportEvent ERROR
| Method Detail |
|---|
public static TransportEvent[] values()
for (TransportEvent c : TransportEvent.values()) System.out.println(c);
public static TransportEvent valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||