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