|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Connection | |
|---|---|
| com.sun.sgs.impl.client.simple | Provides a simple, concrete implementation for client communication with the Project Darkstar Server. |
| com.sun.sgs.impl.io | |
| com.sun.sgs.io | Defines an abstract networking framework that provides endpoint abstraction, connection initiation, and reactive event processing. |
| Uses of Connection in com.sun.sgs.impl.client.simple |
|---|
| Methods in com.sun.sgs.impl.client.simple with parameters of type Connection | |
|---|---|
void |
SimpleClientConnection.bytesReceived(Connection conn,
byte[] message)
Notifies this listener that data arrives on a connection. |
void |
SimpleClientConnection.connected(Connection conn)
Notifies this listener that the connection is established, either actively from a Connector or passively
by an Acceptor. |
void |
SimpleClientConnection.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 |
SimpleClientConnection.exceptionThrown(Connection conn,
Throwable exception)
Notifies this listener that a network exception has occurred on the connection. |
| Uses of Connection in com.sun.sgs.impl.io |
|---|
| Classes in com.sun.sgs.impl.io that implement Connection | |
|---|---|
class |
SocketConnection
This is a socket implementation of an Connection using the Apache
MINA framework. |
| Uses of Connection in com.sun.sgs.io |
|---|
| Methods in com.sun.sgs.io with parameters of type Connection | |
|---|---|
void |
ConnectionListener.bytesReceived(Connection conn,
byte[] message)
Notifies this listener that data arrives on a connection. |
void |
ConnectionListener.connected(Connection conn)
Notifies this listener that the connection is established, either actively from a Connector or passively
by an Acceptor. |
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. |
|
Project Darkstar, Version 0.9.7.3 2013-07-29 20:14:05 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||