public static class INetConnection.ListenerAdapter extends java.lang.Object implements INetConnection.IListener
ListenerAdapter
- INetConnection.IListener
adapter.Constructor and Description |
---|
INetConnection.ListenerAdapter()
Constructor.
|
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.
|
public INetConnection.ListenerAdapter()
public void onAsyncError(INetConnection source, java.lang.String message, java.lang.Exception e)
INetConnection.IListener
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
onAsyncError
in interface INetConnection.IListener
source
- async message sourcemessage
- async messagee
- thrown exceptionpublic void onIOError(INetConnection source, java.lang.String message)
INetConnection.IListener
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
onIOError
in interface INetConnection.IListener
source
- I/O error sourcemessage
- I/O error messagepublic void onNetStatus(INetConnection source, java.util.Map<java.lang.String,java.lang.Object> info)
INetConnection.IListener
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
onNetStatus
in interface INetConnection.IListener
source
- net status sourceinfo
- status infopublic void onSecurityError(INetConnection source, java.lang.String message)
INetConnection.IListener
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
onSecurityError
in interface INetConnection.IListener
source
- security error sourcemessage
- security error message