public class RemoteSource extends Object implements Source
| Constructor and Description |
|---|
RemoteSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(File file) |
void |
cancel() |
void |
close()
Close
|
void |
event(Event e,
Area area) |
byte[] |
getData(String sha)
Called from the remote sink to get the data when it lacks the given sha.
|
Sink |
getSink() |
void |
join() |
void |
launch(Map<String,String> env,
List<String> args,
InputStream stdin,
Appendable stdout,
Appendable stderr) |
void |
open(Sink sink,
File cwd,
String areaId) |
void |
output(String areaId,
CharSequence text,
boolean err) |
void |
sync() |
void |
update(File f) |
public byte[] getData(String sha) throws Exception
public void close()
throws IOException
IOExceptionpublic void output(String areaId, CharSequence text, boolean err) throws IOException
output in interface SourceIOExceptionpublic Sink getSink()
public void launch(Map<String,String> env, List<String> args, InputStream stdin, Appendable stdout, Appendable stderr) throws Exception
Exceptionpublic void join()
throws InterruptedException
InterruptedExceptionCopyright © 2019 aQute SARL. All rights reserved.