tweed.system.bus
Interface BusMember

All Known Implementing Classes:
ClassFilterMember, EventNipple

public interface BusMember

Interface for classes that want to be a member of the EventBus.

Version:
$Revision: 1.1 $ $Date: 2002/03/12 19:07:03 $
Author:
Simeon Fitch (source taken out from Ant Antidote)

Method Summary
 boolean eventPosted(java.util.EventObject event)
          Called when an event is to be posted to the member.
 BusFilter getBusFilter()
          Get the filter to that is used to determine if an event should to to the member.
 

Method Detail

getBusFilter

public BusFilter getBusFilter()
Get the filter to that is used to determine if an event should to to the member.

Returns:
Filter to use.

eventPosted

public boolean eventPosted(java.util.EventObject event)
Called when an event is to be posted to the member.

Parameters:
event - Event to post.
Returns:
true if event should be propogated, false if it should be cancelled.


Copyright © 2003 Laurent Caillette. All Rights Reserved.