com.smaxe.me.uv.client
Interface NetConnection.IListener

All Known Implementing Classes:
NetConnection.ListenerAdapter
Enclosing class:
NetConnection

public static interface NetConnection.IListener

IListener - NetConnection listener.


Method Summary
 void onAsyncError(NetConnection source, java.lang.String message, java.lang.Exception e)
          Notifies about an exception that is thrown asynchronously (from native asynchronous code).
 void onIOError(NetConnection source, java.lang.String message)
          Notifies about an input/output error occured that causes a network operation to fail.
 void onNetStatus(NetConnection source, java.util.Hashtable info)
          Notifies about the status info change.
 void onSecurityError(NetConnection 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(NetConnection 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(NetConnection 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(NetConnection 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(NetConnection source,
                 java.util.Hashtable 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