public class ServerController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ObjectInputStream |
in |
protected ObjectOutputStream |
out |
| Constructor and Description |
|---|
ServerController() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeServer() |
boolean |
extractSpecifiedDto(List<String> dtoNames) |
List<AdditionalInfo> |
getAdditionalInfoList() |
List<TargetInfo> |
getAllCoveredTargetsInfo() |
List<TargetInfo> |
getTargetsInfo(Collection<Integer> ids) |
UnitsInfoRecorder |
getUnitsInfoRecorder() |
BootTimeObjectiveInfo |
handleBootTimeObjectiveInfo() |
boolean |
isConnectionOn() |
boolean |
resetForNewSearch() |
boolean |
resetForNewTest() |
boolean |
sendAndExpectACK(Command command) |
boolean |
sendCommand(Command command) |
boolean |
sendObject(Object obj) |
boolean |
sendWithDataAndExpectACK(Command command,
Object data) |
boolean |
setAction(Action action) |
boolean |
setExecutingAction(boolean executingAction) |
boolean |
setExecutingInitMongo(boolean executingInitMongo) |
boolean |
setExecutingInitSql(boolean executingInitSql) |
boolean |
setKillSwitch(boolean b) |
int |
startServer() |
Object |
waitAndGetResponse() |
boolean |
waitForIncomingConnection(int seconds) |
protected ObjectOutputStream out
protected ObjectInputStream in
public int startServer()
public void closeServer()
public boolean waitForIncomingConnection(int seconds)
public boolean isConnectionOn()
public boolean sendCommand(Command command)
public boolean sendObject(Object obj)
public Object waitAndGetResponse()
public boolean sendAndExpectACK(Command command)
public boolean resetForNewSearch()
public boolean resetForNewTest()
public boolean setAction(Action action)
public boolean setKillSwitch(boolean b)
public boolean setExecutingInitSql(boolean executingInitSql)
public boolean setExecutingInitMongo(boolean executingInitMongo)
public boolean setExecutingAction(boolean executingAction)
public List<TargetInfo> getAllCoveredTargetsInfo()
public List<TargetInfo> getTargetsInfo(Collection<Integer> ids)
public List<AdditionalInfo> getAdditionalInfoList()
public BootTimeObjectiveInfo handleBootTimeObjectiveInfo()
public UnitsInfoRecorder getUnitsInfoRecorder()
Copyright © 2016–2024. All rights reserved.