EchoPoint
1.0

echopoint.asynch
Interface AsynchEventSource

All Superinterfaces:
java.io.Serializable

public interface AsynchEventSource
extends java.io.Serializable

AsynchEventSource is an interface where AsynchEvents can be generated from. They are expected to place them in the AsynchEventSink that can be connected via the setSink() method.


Method Summary
 AsynchEventSink getSink()
          Returns the AsynchEventSink that has previously been set by the setSink() method
 void setSink(AsynchEventSink sink)
          Sets the AsynchEventSink for this AsynchEventSource.
 

Method Detail

getSink

public AsynchEventSink getSink()
Returns the AsynchEventSink that has previously been set by the setSink() method

Returns:
the AsynchEventSink that has previously been set by the setSink() method

setSink

public void setSink(AsynchEventSink sink)
Sets the AsynchEventSink for this AsynchEventSource. This can be null.

Parameters:
sink - - the AsynchEventSink for this AsynchEventSource. This can be null.

EchoPoint
1.0