|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface NetworkConnection.ConnectionListener
Listener for notification of connection events.
| Method Summary | |
|---|---|
void |
connectFailure(java.lang.Throwable failure_msg)
The connection attempt failed. |
int |
connectStarted(int default_connect_timeout)
The connection establishment process has started, i.e. |
void |
connectSuccess(java.nio.ByteBuffer remaining_initial_data)
The connection attempt succeeded. |
void |
exceptionThrown(java.lang.Throwable error)
Handle exception thrown by this connection. |
java.lang.Object |
getConnectionProperty(java.lang.String property_name)
|
java.lang.String |
getDescription()
|
| Method Detail |
|---|
int connectStarted(int default_connect_timeout)
void connectSuccess(java.nio.ByteBuffer remaining_initial_data)
void connectFailure(java.lang.Throwable failure_msg)
failure_msg - failure reasonvoid exceptionThrown(java.lang.Throwable error)
error - exceptionjava.lang.Object getConnectionProperty(java.lang.String property_name)
java.lang.String getDescription()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||