|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A stream monitor manages the contents of the stream a process is writing to, and notifies registered listeners of changes in the stream.
Clients may implement this interface. Generally, a client that
provides an implementation of the IStreamsProxy
interface must also provide an implementation of this interface.
IStreamsProxy
Method Summary | |
void |
addListener(IStreamListener listener)
Adds the given listener to this stream monitor's registered listeners. |
String |
getContents()
Returns the entire current contents of the stream. |
void |
removeListener(IStreamListener listener)
Removes the given listener from this stream monitor's registered listeners. |
Method Detail |
public void addListener(IStreamListener listener)
listener
- the listener to addpublic String getContents()
String
public void removeListener(IStreamListener listener)
listener
- the listener to remove
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |