2021-02-28 18:48:39 +00:00
|
|
|
package net.shadowfacts.phycon.frame
|
2021-02-13 23:24:36 +00:00
|
|
|
|
|
|
|
import net.shadowfacts.phycon.api.frame.PacketFrame
|
|
|
|
import net.shadowfacts.phycon.api.packet.Packet
|
|
|
|
import net.shadowfacts.phycon.api.util.MACAddress
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author shadowfacts
|
|
|
|
*/
|
|
|
|
class BasePacketFrame(
|
2021-12-22 23:59:51 +00:00
|
|
|
private val packet: Packet,
|
2021-02-13 23:24:36 +00:00
|
|
|
source: MACAddress,
|
|
|
|
destination: MACAddress,
|
|
|
|
): BaseFrame(source, destination), PacketFrame {
|
|
|
|
override fun getPacket() = packet
|
2021-02-28 18:48:39 +00:00
|
|
|
}
|