use of com.canoo.dp.impl.remoting.legacy.commands.StartLongPollCommand in project dolphin-platform by canoo.
the class TestDolphinContext method handle.
@Override
public List<Command> handle(final List<Command> commands) {
final List<Command> commandsWithFackedLongPool = new ArrayList<>(commands);
commandsWithFackedLongPool.add(new StartLongPollCommand());
return super.handle(commandsWithFackedLongPool);
}
use of com.canoo.dp.impl.remoting.legacy.commands.StartLongPollCommand in project dolphin-platform by canoo.
the class DolphinTestClientConnector method transmit.
@Override
protected List<Command> transmit(List<Command> commands) {
ArrayList<Command> realCommands = new ArrayList<>(commands);
realCommands.add(new StartLongPollCommand());
return communicationFunction.apply(commands);
}
Aggregations