public static interface ISharedObject.IListener
IListener
- SharedObject listener.Modifier and Type | Method and Description |
---|---|
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.
|
void onAsyncError(ISharedObject source, java.lang.String message, java.lang.Exception e)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source
- async message sourcemessage
- async messagee
- thrown exceptionvoid onNetStatus(ISharedObject source, java.util.Map<java.lang.String,java.lang.Object> info)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source
- net status sourceinfo
- status infovoid onSync(ISharedObject source, java.util.List<ISharedObject.Change> changeList)
Note: This method is invoked in the Dispatch-Thread. Process it quickly.
source
- change sourcechangeList
- change list