public static interface INetConnection.IListener
IListener
- NetConnection listener.Modifier and Type | Method and Description |
---|---|
void |
onAsyncError(INetConnection source,
java.lang.String message,
java.lang.Exception e)
Notifies about an exception that is thrown asynchronously (from native asynchronous code).
|
void |
onIOError(INetConnection source,
java.lang.String message)
Notifies about an input/output error occured that causes a network operation to fail.
|
void |
onNetStatus(INetConnection source,
java.util.Map<java.lang.String,java.lang.Object> info)
Notifies about the status info change.
|
void |
onSecurityError(INetConnection source,
java.lang.String message)
Notifies about the attempt to connect to a server outside the caller's security sandbox.
|
void onAsyncError(INetConnection source, java.lang.String message, java.lang.Exception e)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source
- async message sourcemessage
- async messagee
- thrown exceptionvoid onIOError(INetConnection source, java.lang.String message)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source
- I/O error sourcemessage
- I/O error messagevoid onSecurityError(INetConnection source, java.lang.String message)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source
- security error sourcemessage
- security error messagevoid onNetStatus(INetConnection source, java.util.Map<java.lang.String,java.lang.Object> info)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source
- net status sourceinfo
- status info