com.smaxe.uv.client
Class ISharedObject.ListenerAdapter

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

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

ListenerAdapter - ISharedObject.IListener adapter.


Constructor Summary
ISharedObject.ListenerAdapter()
          Constructor.
 
Method Summary
 void onAsyncError(ISharedObject source, java.lang.String message, java.lang.Exception e)
          Notifies about an exception that is thrown asynchronously (from native asynchronous code).
 void onNetStatus(ISharedObject source, java.util.Map<java.lang.String,java.lang.Object> info)
          Notifies about the status info change.
 void onSync(ISharedObject source, java.util.List<ISharedObject.Change> changeList)
          Notifies that remote shared object (SharedObject) has been updated by the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISharedObject.ListenerAdapter

public ISharedObject.ListenerAdapter()
Constructor.

Method Detail

onAsyncError

public void onAsyncError(ISharedObject source,
                         java.lang.String message,
                         java.lang.Exception e)
Description copied from interface: ISharedObject.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 ISharedObject.IListener
Parameters:
source - async message source
message - async message
e - thrown exception

onNetStatus

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

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

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

onSync

public void onSync(ISharedObject source,
                   java.util.List<ISharedObject.Change> changeList)
Description copied from interface: ISharedObject.IListener
Notifies that remote shared object (SharedObject) has been updated by the server.

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

Specified by:
onSync in interface ISharedObject.IListener
Parameters:
source - change source
changeList - change list