net.sf.doolin.bus
Interface SubscriberExecution<M>

Type Parameters:
M - Type of message the subscriber is handling.
All Known Subinterfaces:
Subscriber<M>
All Known Implementing Classes:
AbstractSubscriber, BothWayPropertyChangeSubscriber, PropertyChangeSubscriber, SubscriberAdapter

public interface SubscriberExecution<M>

Execution definition for a subscriber.

Author:
Damien Coraboeuf

Method Summary
 String getExecutionDescription()
          Describes the execution.
 void receive(M message)
          This method called whenever a message is received.
 

Method Detail

getExecutionDescription

String getExecutionDescription()
Describes the execution. This information is used for debugging purpose only.

Returns:
A description of the execution.

receive

void receive(M message)
This method called whenever a message is received.

Parameters:
message - Message to handle


Copyright © 2011. All Rights Reserved.