All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sdnwiselab.sdnwise.flowtable.FlowTableInterface Maven / Gradle / Ivy

Go to download

The stateful Software Defined Networking solution for WIreless SEnsor Networks.

There is a newer version: 3.0.10
Show newest version
/* 
 * 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 .
 */
package com.github.sdnwiselab.sdnwise.flowtable;

/**
 * Public Interface for the FlowTable structure.
 *
 * @author Sebastiano Milardo
 */
public interface FlowTableInterface {

    // location
    public final static byte SDN_WISE_CONST = 1;
    public final static byte SDN_WISE_PACKET = 2;
    public final static byte SDN_WISE_STATUS = 3;

    /**
     * Converts a FlowTable entry part in a byte array.
     *
     * @return byte array from an element.
     */
    public byte[] toByteArray();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy