|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Selectable
Selectable is an interface which represents an object (such as a socket or file descriptor) which may be used with the SelectItem and SelectSet classes. It defines no methods. The static final fields of this interface specify the event types that may be used with SelectItem and SelectSet.
Field Summary | |
---|---|
static short |
ACCEPT_READY
Event mask specifying that a new incoming connection is pending. |
static short |
CONNECT_READY
Event mask specifying that a pending outgoing connection has been established. |
static short |
READ_READY
Event mask specifying that data can be read without blocking. |
static short |
SELECT_ERROR
Specifies that an error has occured on this SelectItem. |
static short |
WRITE_READY
Event mask specifying that data can be written without blocking. |
Field Detail |
---|
static final short READ_READY
static final short WRITE_READY
static final short ACCEPT_READY
static final short CONNECT_READY
static final short SELECT_ERROR
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |