app.spa
Interface SPAEventTarget

All Known Implementing Classes:
SimplerSPAEventStreamChannel, SPAEventStreamChannel

public interface SPAEventTarget

Interface defining a target to which an SPAEvent can be posted and which returns an SPAEventAck in response.


Method Summary
 SPAEventAck postEvent(EventId eid)
          Posts a new event with the given id and default values for it other parameters to this event target, waiting until the target provides an acknowledgement, which this method returns.
 SPAEventAck postEvent(SPAEvent evt)
          Posts the given event to this event target, waiting until the target provides an acknowledgement, which this method returns.
 

Method Detail

postEvent

SPAEventAck postEvent(SPAEvent evt)
Posts the given event to this event target, waiting until the target provides an acknowledgement, which this method returns.


postEvent

SPAEventAck postEvent(EventId eid)
Posts a new event with the given id and default values for it other parameters to this event target, waiting until the target provides an acknowledgement, which this method returns.