JIVE Platform
Release 0.2.2

edu.bsu.cs.jive.util
Interface Publisher.Distributor<S>

Type Parameters:
S - subscriber type
Enclosing class:
Publisher<T>

public static interface Publisher.Distributor<S>

Specifies an object that delivers messages to subcribers.


Method Summary
 void deliverTo(S subscriber)
          Deliver a message to the given subscriber.
 

Method Detail

deliverTo

void deliverTo(S subscriber)
Deliver a message to the given subscriber. This is equivalent to the visit method in the Visitor pattern.

Parameters:
subscriber - the subscriber

JIVE Platform
Release 0.2.2