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
IOException
public void output(String areaId, CharSequence text, boolean err) throws IOException
output
in interface Source
IOException
public Sink getSink()
public void launch(Map<String,String> env, List<String> args, InputStream stdin, Appendable stdout, Appendable stderr) throws Exception
Exception
public void join() throws InterruptedException
InterruptedException
Copyright © 2021 aQute SARL. All rights reserved.