public interface Sink
Modifier and Type | Field and Description |
---|---|
static int |
version |
Modifier and Type | Method and Description |
---|---|
void |
cancel(String areaId) |
boolean |
clearCache() |
Area |
createArea(String areaId)
Create a new area
|
void |
exit() |
int |
exit(String area) |
Area |
getArea(String areaId)
Get a specific area
|
Collection<? extends Area> |
getAreas()
Return a list of areas
|
Welcome |
getWelcome(int highestAccepted)
Return the protocol version that must be used.
|
void |
input(String area,
String text) |
boolean |
launch(String areaId,
Map<String,String> env,
List<String> args)
Launch
|
boolean |
removeArea(String areaId)
Remove an area
|
boolean |
sync(String areaId,
Collection<Delta> deltas) |
byte[] |
view(String areaId,
String path)
View a file or dir
|
static final int version
boolean sync(String areaId, Collection<Delta> deltas) throws Exception
Exception
Welcome getWelcome(int highestAccepted)
Collection<? extends Area> getAreas() throws Exception
Exception
Area createArea(String areaId) throws Exception
areaId
- area id, or null for a new areaException
boolean launch(String areaId, Map<String,String> env, List<String> args) throws Exception
Exception
boolean clearCache()
Copyright © 2021 aQute SARL. All rights reserved.