Search in sources :

Example 1 with InputDispatchCommand

use of org.openkilda.floodlight.command.InputDispatchCommand in project open-kilda by telstra.

the class InputService method handle.

private void handle(OfInput input) {
    final CommandContext commandContext = commandContextFactory.produce();
    List<IInputTranslator> queue = translators.get(input.getType());
    commandProcessor.processLazy(new InputDispatchCommand(commandContext, commandProcessor, queue, input));
}
Also used : CommandContext(org.openkilda.floodlight.command.CommandContext) InputDispatchCommand(org.openkilda.floodlight.command.InputDispatchCommand)

Aggregations

CommandContext (org.openkilda.floodlight.command.CommandContext)1 InputDispatchCommand (org.openkilda.floodlight.command.InputDispatchCommand)1