com.bea.wlrt.ede
Interface Stream


public interface Stream
extends Stage

Streams are virtual pipes that continously handle events.


Method Summary
 int getSize()
          Returns maximum size of stream
 void setSize(int size)
          Maximum number of events that a stream can hold at a time.
 
Methods inherited from interface com.bea.wlrt.ede.Stage
destroy, getId
 
Methods inherited from interface com.bea.wlrt.ede.EventSource
addEventSink, getEventSinks, removeEventSink
 
Methods inherited from interface com.bea.wlrt.ede.EventSink
onEvent
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

setSize

public void setSize(int size)
             throws PropertyVetoException
Maximum number of events that a stream can hold at a time.

Parameters:
maximum - size
Throws:
PropertyVetoException - if size is not valid

getSize

public int getSize()
Returns maximum size of stream

Returns:
maximum size