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

16 lines
367 B
Kotlin
Raw Normal View History

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(
2021-12-22 23:59:51 +00:00
private val source: MACAddress,
private val destination: MACAddress
2021-02-13 23:24:36 +00:00
): EthernetFrame {
override fun getSource() = source
override fun getDestination() = destination
2021-02-28 18:48:39 +00:00
}