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.EthernetFrame
|
|
|
|
import net.shadowfacts.phycon.api.util.MACAddress
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author shadowfacts
|
|
|
|
*/
|
|
|
|
open class BaseFrame(
|
|
|
|
@JvmField private val source: MACAddress,
|
|
|
|
@JvmField private val destination: MACAddress
|
|
|
|
): EthernetFrame {
|
|
|
|
override fun getSource() = source
|
|
|
|
override fun getDestination() = destination
|
2021-02-28 18:48:39 +00:00
|
|
|
}
|