Package | Description |
---|---|
org.shared.net |
A framework for transparent, scalable networking with asynchronous sockets.
|
org.shared.net.nio |
A package for managed connections built on top of
java.nio . |
Modifier and Type | Method and Description |
---|---|
static Connection.OperationType |
Connection.OperationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.OperationType[] |
Connection.OperationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Connection.setEnabled(Connection.OperationType type,
boolean enabled)
Enables/disables various managed operations:
READ -- The ConnectionHandler.onReceive(ByteBuffer) callback is
enabled/disabled. |
Modifier and Type | Method and Description |
---|---|
void |
NioConnection.setEnabled(Connection.OperationType type,
boolean enabled) |