org.apache.s4.core
Interface Streamable<T extends Event>

Type Parameters:
T -
All Known Implementing Classes:
RemoteStream, Stream

public interface Streamable<T extends Event>

We use this interface to put events into objects.


Method Summary
 void close()
          Stop and close all the streams.
 java.lang.String getName()
           
 void put(Event event)
          Put an event into the streams.
 void start()
          Starting the stream starts the associated dequeuing thread.
 

Method Detail

start

void start()
Starting the stream starts the associated dequeuing thread.


put

void put(Event event)
Put an event into the streams.

Parameters:
event -

close

void close()
Stop and close all the streams.


getName

java.lang.String getName()
Returns:
the name of this streamable object.