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