net.sf.asyncobjects.util.callbacks
Interface AListener<Event>

Type Parameters:
Event - an event type
All Superinterfaces:
AsyncObject
All Known Implementing Classes:
ListenerAdapter.InternalListenerAdapter

public interface AListener<Event>
extends AsyncObject

A generic oneway listener interface.

Author:
const

Method Summary
 void onEvent(Event event)
          This callback is invoked when specifie event happens.
 
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate
 

Method Detail

onEvent

void onEvent(Event event)
This callback is invoked when specifie event happens.

Parameters:
event - an event


Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.