com.smaxe.uv.client
Interface ISharedObject.IListener

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

public static interface ISharedObject.IListener

IListener - SharedObject listener.


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.
 

Method Detail

onAsyncError

void onAsyncError(ISharedObject 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

onNetStatus

void onNetStatus(ISharedObject 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

onSync

void onSync(ISharedObject source,
            java.util.List<ISharedObject.Change> changeList)
Notifies that remote shared object (SharedObject) has been updated by the server.

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

Parameters:
source - change source
changeList - change list