net.sf.asyncobjects.util.callbacks
Class ListenerAdapter.InternalListenerAdapter

java.lang.Object
  extended by net.sf.asyncobjects.AsyncUnicastServer<AListener<Event>>
      extended by net.sf.asyncobjects.util.callbacks.ListenerAdapter.InternalListenerAdapter
All Implemented Interfaces:
AsyncObject, ExplicitSharing, AListener<Event>
Enclosing class:
ListenerAdapter<Event>

@Internal
public final class ListenerAdapter.InternalListenerAdapter
extends AsyncUnicastServer<AListener<Event>>
implements AListener<Event>

An internal class that addapt Adapter calss to asynchronous interface.


Method Summary
 void onEvent(Event event)
          This callback is invoked when specifie event happens.
 
Methods inherited from class net.sf.asyncobjects.AsyncUnicastServer
dereference, export, isImmediate, myVat, promise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate
 

Method Detail

onEvent

public void onEvent(Event event)
Description copied from interface: AListener
This callback is invoked when specifie event happens.

Specified by:
onEvent in interface AListener<Event>
Parameters:
event - an event
See Also:
AListener.onEvent(java.lang.Object)


Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.