use of org.openkilda.messaging.command.flow.PeriodicPingCommand in project open-kilda by telstra.
the class FlowPathSwapHubBolt method sendPeriodicPingNotification.
@Override
public void sendPeriodicPingNotification(String flowId, boolean enabled) {
PeriodicPingCommand payload = new PeriodicPingCommand(flowId, enabled);
Message message = new CommandMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(Stream.HUB_TO_PING_SENDER.name(), getCurrentTuple(), new Values(currentKey, message));
}
use of org.openkilda.messaging.command.flow.PeriodicPingCommand in project open-kilda by telstra.
the class YFlowCreateHubBolt method sendPeriodicPingNotification.
@Override
public void sendPeriodicPingNotification(String flowId, boolean enabled) {
PeriodicPingCommand payload = new PeriodicPingCommand(flowId, enabled);
Message message = new CommandMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(Stream.HUB_TO_PING_SENDER.name(), getCurrentTuple(), new Values(currentKey, message));
}
use of org.openkilda.messaging.command.flow.PeriodicPingCommand in project open-kilda by telstra.
the class YFlowUpdateHubBolt method sendPeriodicPingNotification.
@Override
public void sendPeriodicPingNotification(String flowId, boolean enabled) {
PeriodicPingCommand payload = new PeriodicPingCommand(flowId, enabled);
Message message = new CommandMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(Stream.HUB_TO_PING_SENDER.name(), getCurrentTuple(), new Values(currentKey, message));
}
use of org.openkilda.messaging.command.flow.PeriodicPingCommand in project open-kilda by telstra.
the class FlowUpdateHubBolt method sendPeriodicPingNotification.
@Override
public void sendPeriodicPingNotification(String flowId, boolean enabled) {
PeriodicPingCommand payload = new PeriodicPingCommand(flowId, enabled);
Message message = new CommandMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(Stream.HUB_TO_PING_SENDER.name(), getCurrentTuple(), new Values(currentKey, message));
}
use of org.openkilda.messaging.command.flow.PeriodicPingCommand in project open-kilda by telstra.
the class YFlowDeleteHubBolt method sendPeriodicPingNotification.
@Override
public void sendPeriodicPingNotification(String flowId, boolean enabled) {
PeriodicPingCommand payload = new PeriodicPingCommand(flowId, enabled);
Message message = new CommandMessage(payload, getCommandContext().getCreateTime(), getCommandContext().getCorrelationId());
emitWithContext(Stream.HUB_TO_PING_SENDER.name(), getCurrentTuple(), new Values(currentKey, message));
}
Aggregations