| Package | Description |
|---|---|
| com.sun.sgs.impl.io | |
| com.sun.sgs.io |
Defines an abstract networking framework that provides endpoint
abstraction, connection initiation, and reactive event processing.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SocketConnection
This is a socket implementation of an
Connection using the Apache
MINA framework. |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionListener.bytesReceived(Connection conn,
byte[] message)
Notifies this listener that data arrives on a connection.
|
void |
ConnectionListener.connected(Connection conn)
|
void |
ConnectionListener.disconnected(Connection conn)
Notifies this listener that the connection has been closed,
or that it could not be initiated (e.g., when a
Connector fails to connect). |
void |
ConnectionListener.exceptionThrown(Connection conn,
Throwable exception)
Notifies this listener that a network exception has occurred
on the connection.
|
Copyright © 2007-2013. All Rights Reserved.