|
JDeveloper SCM API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to the monitor for a command process. Watches bytes as they are written to an output stream, and performs finalization when the end of the stream has been reached (EOF).
Method Summary | |
void |
streamBytes(byte[] bytes,
int length,
SCMProcess process)
Notifies the monitor that new bytes has been read from the stream. |
void |
streamFinished(SCMProcess process)
Notifies the monitor that the end of the stream has been reached. |
Method Detail |
public void streamBytes(byte[] bytes, int length, SCMProcess process) throws SCMStreamMonitorException
bytes
- the array containing recently read data, from index 0.length
- the length, in bytes, of the data that has been read.process
- the parent process for the stream.
SCMStreamMonitorException
- if the monitor raised an exception, and the stream should be closed.public void streamFinished(SCMProcess process)
process
- the parent process for the stream.
|
Copyright © 2002 Oracle Corporation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.