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