org.eclipse.ptp.debug.core
Class ProcessInputStream
java.lang.Object
java.io.InputStream
org.eclipse.ptp.debug.core.ProcessInputStream
- All Implemented Interfaces:
- Closeable, org.eclipse.ptp.core.elements.listeners.IJobChildListener
public class ProcessInputStream
- extends InputStream
- implements org.eclipse.ptp.core.elements.listeners.IJobChildListener
|
Constructor Summary |
ProcessInputStream(org.eclipse.ptp.core.elements.IPJob job,
int processJobRank)
|
|
Method Summary |
void |
addInput(String buffer)
|
void |
close()
|
void |
handleEvent(org.eclipse.ptp.core.elements.events.IChangedProcessEvent e)
|
void |
handleEvent(org.eclipse.ptp.core.elements.events.INewProcessEvent e)
|
void |
handleEvent(org.eclipse.ptp.core.elements.events.IRemoveProcessEvent e)
|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
void |
reset(int len)
|
void |
restart()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffers
protected List<String> buffers
pos
protected int pos
count
protected int count
ProcessInputStream
public ProcessInputStream(org.eclipse.ptp.core.elements.IPJob job,
int processJobRank)
- Since:
- 4.0
addInput
public void addInput(String buffer)
close
public void close()
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
handleEvent
public void handleEvent(org.eclipse.ptp.core.elements.events.IChangedProcessEvent e)
- Specified by:
handleEvent in interface org.eclipse.ptp.core.elements.listeners.IJobChildListener
- Since:
- 4.0
handleEvent
public void handleEvent(org.eclipse.ptp.core.elements.events.INewProcessEvent e)
- Specified by:
handleEvent in interface org.eclipse.ptp.core.elements.listeners.IJobChildListener
- Since:
- 4.0
handleEvent
public void handleEvent(org.eclipse.ptp.core.elements.events.IRemoveProcessEvent e)
- Specified by:
handleEvent in interface org.eclipse.ptp.core.elements.listeners.IJobChildListener
- Since:
- 4.0
read
public int read()
- Specified by:
read in class InputStream
read
public int read(byte[] b,
int off,
int len)
- Overrides:
read in class InputStream
reset
public void reset(int len)
restart
public void restart()
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.