com.smaxe.me.uv.client
Class SharedObject.ListenerAdapter

java.lang.Object
  extended by com.smaxe.me.uv.client.SharedObject.ListenerAdapter
All Implemented Interfaces:
SharedObject.IListener
Enclosing class:
SharedObject

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

ListenerAdapter - SharedObject.IListener adapter.


Constructor Summary
SharedObject.ListenerAdapter()
          Constructor.
 
Method Summary
 void onAsyncError(SharedObject source, java.lang.String message, java.lang.Exception e)
          Notifies about an exception that is thrown asynchronously (from native asynchronous code).
 void onNetStatus(SharedObject source, java.util.Hashtable info)
          Notifies about the status info change.
 void onSync(SharedObject source, java.util.Vector 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

SharedObject.ListenerAdapter

public SharedObject.ListenerAdapter()
Constructor.

Method Detail

onAsyncError

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

onNetStatus

public void onNetStatus(SharedObject source,
                        java.util.Hashtable info)
Description copied from interface: SharedObject.IListener
Notifies about the status info change.

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

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

onSync

public void onSync(SharedObject source,
                   java.util.Vector changeList)
Description copied from interface: SharedObject.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 SharedObject.IListener
Parameters:
source - change source
changeList - change list