public interface MACPacket extends Packet, Cloneable
| Modifier and Type | Method and Description |
|---|---|
MACPacket |
clone() |
String |
getDestinationMacAddress() |
String |
getSourceMacAddress() |
void |
setDestinationMacAddress(String macAddress) |
void |
setSourceMacAddress(String macAddress)
Set the MAC address of this
MACPacket. |
getArrivalTime, getName, getNextPacket, getPacket, getParentPacket, getPayload, getProtocol, hasProtocol, verify, write, writeString getSourceMacAddress()
void setSourceMacAddress(String macAddress) throws IllegalArgumentException
MACPacket.macAddress - IllegalArgumentException - in case the MAC address specified is null or the empty
string.String getDestinationMacAddress()
void setDestinationMacAddress(String macAddress) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2021. All Rights Reserved.