PhysicalConnectivity/src/main/kotlin/net/shadowfacts/phycon/frame/BaseFrame.kt

16 lines
367 B
Kotlin

package net.shadowfacts.phycon.frame
import net.shadowfacts.phycon.api.frame.EthernetFrame
import net.shadowfacts.phycon.api.util.MACAddress
/**
* @author shadowfacts
*/
open class BaseFrame(
private val source: MACAddress,
private val destination: MACAddress
): EthernetFrame {
override fun getSource() = source
override fun getDestination() = destination
}