org.bounce.message
Interface Publisher

All Known Implementing Classes:
DefaultPublisher

public interface Publisher

An interface that needs to be used by all class that want to act as publishers for messages.

Version:
$Revision: 1.4 $, $Date: 2008/01/28 21:28:37 $
Author:
Edwin Dankert

Method Summary
 void publish(Message message)
          Called when the message needs to be published.
 

Method Detail

publish

void publish(Message message)
Called when the message needs to be published. From here the message is distributed to all the subscribers.

Parameters:
message - the message to be published.


Copyright © 2002-2011 Edwin Dankert. All Rights Reserved.