com.smaxe.uv.client
Interface INetConnection.IListener

All Known Implementing Classes:
INetConnection.ListenerAdapter
Enclosing interface:
INetConnection

public static interface INetConnection.IListener

IListener - NetConnection listener.


Method Summary
 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.
 

Method Detail

onAsyncError

void onAsyncError(INetConnection source,
                  java.lang.String message,
                  java.lang.Exception e)
Notifies about an exception that is thrown asynchronously (from native asynchronous code).

Note: This method is invoked in the Dispatch-Thread. Process it quickly.

Parameters:
source - async message source
message - async message
e - thrown exception

onIOError

void onIOError(INetConnection source,
               java.lang.String message)
Notifies about an input/output error occured that causes a network operation to fail.

Note: This method is invoked in the Dispatch-Thread. Process it quickly.

Parameters:
source - I/O error source
message - I/O error message

onSecurityError

void onSecurityError(INetConnection source,
                     java.lang.String message)
Notifies about the attempt to connect to a server outside the caller's security sandbox.

Note: This method is invoked in the Dispatch-Thread. Process it quickly.

Parameters:
source - security error source
message - security error message

onNetStatus

void onNetStatus(INetConnection source,
                 java.util.Map<java.lang.String,java.lang.Object> info)
Notifies about the status info change.

Note: This method is invoked in the Dispatch-Thread. Process it quickly.

Parameters:
source - net status source
info - status info