com.smaxe.uv.client
Class INetConnection.ListenerAdapter

java.lang.Object
  extended by com.smaxe.uv.client.INetConnection.ListenerAdapter
All Implemented Interfaces:
INetConnection.IListener
Enclosing interface:
INetConnection

public static class INetConnection.ListenerAdapter
extends java.lang.Object
implements INetConnection.IListener

ListenerAdapter - INetConnection.IListener adapter.


Constructor Summary
INetConnection.ListenerAdapter()
          Constructor.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

INetConnection.ListenerAdapter

public INetConnection.ListenerAdapter()
Constructor.

Method Detail

onAsyncError

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

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

Specified by:
onAsyncError in interface INetConnection.IListener
Parameters:
source - async message source
message - async message
e - thrown exception

onIOError

public void onIOError(INetConnection source,
                      java.lang.String message)
Description copied from interface: INetConnection.IListener
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.

Specified by:
onIOError in interface INetConnection.IListener
Parameters:
source - I/O error source
message - I/O error message

onNetStatus

public void onNetStatus(INetConnection source,
                        java.util.Map<java.lang.String,java.lang.Object> info)
Description copied from interface: INetConnection.IListener
Notifies about the status info change.

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

Specified by:
onNetStatus in interface INetConnection.IListener
Parameters:
source - net status source
info - status info

onSecurityError

public void onSecurityError(INetConnection source,
                            java.lang.String message)
Description copied from interface: INetConnection.IListener
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.

Specified by:
onSecurityError in interface INetConnection.IListener
Parameters:
source - security error source
message - security error message