// Path: core/src/main/java/com/github/sdnwiselab/sdnwise/util/NodeAddress.java
// public static final NodeAddress BROADCAST_ADDR = new NodeAddress("255.255");


import static com.github.sdnwiselab.sdnwise.flowtable.AbstractAction.Action.FORWARD_B;
import static com.github.sdnwiselab.sdnwise.util.NodeAddress.BROADCAST_ADDR;
/*
 * Copyright (C) 2015 SDN-WISE
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.github.sdnwiselab.sdnwise.flowtable;


/**
 * Representation of the ForwardBroadcast action. A packet which is forwarded in
 * broadcast is received by all the nodes at one hop distance.
 *
 * @author Sebastiano Milardo
 */
public final class ForwardBroadcastAction extends AbstractForwardAction {

    /**
     * Creates a ForwardBroadcast action. The next hop is set to the Broadcast
     * action.
     */
    public ForwardBroadcastAction() {
        super(FORWARD_B);
// Path: core/src/main/java/com/github/sdnwiselab/sdnwise/util/NodeAddress.java
// public static final NodeAddress BROADCAST_ADDR = new NodeAddress("255.255");


// Path: core/src/main/java/com/github/sdnwiselab/sdnwise/flowtable/ForwardBroadcastAction.java
import static com.github.sdnwiselab.sdnwise.flowtable.AbstractAction.Action.FORWARD_B;
import static com.github.sdnwiselab.sdnwise.util.NodeAddress.BROADCAST_ADDR;

/*
 * Copyright (C) 2015 SDN-WISE
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.github.sdnwiselab.sdnwise.flowtable;


/**
 * Representation of the ForwardBroadcast action. A packet which is forwarded in
 * broadcast is received by all the nodes at one hop distance.
 *
 * @author Sebastiano Milardo
 */
public final class ForwardBroadcastAction extends AbstractForwardAction {

    /**
     * Creates a ForwardBroadcast action. The next hop is set to the Broadcast
     * action.
     */
    public ForwardBroadcastAction() {
        super(FORWARD_B);
        setNextHop(BROADCAST_ADDR);