|
|||||||||
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(Throwable failure_msg)
The connection attempt failed. |
int |
connectStarted(int default_connect_timeout)
The connection establishment process has started, i.e. |
void |
connectSuccess(ByteBuffer remaining_initial_data)
The connection attempt succeeded. |
void |
exceptionThrown(Throwable error)
Handle exception thrown by this connection. |
Object |
getConnectionProperty(String property_name)
|
String |
getDescription()
|
Method Detail |
---|
int connectStarted(int default_connect_timeout)
void connectSuccess(ByteBuffer remaining_initial_data)
void connectFailure(Throwable failure_msg)
failure_msg
- failure reasonvoid exceptionThrown(Throwable error)
error
- exceptionObject getConnectionProperty(String property_name)
String getDescription()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |