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

io.pkts.frame.Layer2Frame Maven / Gradle / Ivy

There is a newer version: 3.0.10
Show newest version
/**
 * 
 */
package io.pkts.frame;

import io.pkts.packet.MACPacket;
import io.pkts.packet.PacketParseException;

/**
 * A frame representing the Data Link Layer in the OSI model
 * 
 * @author [email protected]
 */
public interface Layer2Frame extends Frame {

    /**
     * Layer 2 frames parse their content into {@link MACPacket}.
     * 
     * This is not 100% true since MAC is really a sub-layer of the Data Link
     * Layer (layer 2) and there is also another sub-layer (LLC - Logical Link
     * Control) but for now we will ignore this.
     * 
     * {@inheritDoc}
     */
    @Override
    MACPacket parse() throws PacketParseException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy