public class DhcpActivity extends AbstractReplaceableActivity
DhcpMessage.PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANTsource| Constructor and Description |
|---|
DhcpActivity(PcapActivity source,
org.krakenapps.pcap.decoder.dhcp.DhcpMessage dhcpMessage)
Constructs an activity containing the passed Dhcp message, the source pcap activity will be replaced.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationAddressAsString()
An address that can be interpreted as the destination address for this activity.
|
org.krakenapps.pcap.decoder.dhcp.DhcpMessage |
getDhcpMessage() |
PcapActivity |
getPcapActivity() |
String |
getSourceAddressAsString()
An address that can be interpreted as the source address for this activity.
|
String |
toString() |
isReplaced, replaceActivity, setReplacedaddOptionalField, addPropertyChangeListener, addPropertyChangeListener, extendActivity, getActivityType, getCompoundFrameNumbers, getDescription, getEndInstant, getEndTimestamp, getOptionalFields, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, removeReplacedActivity, setDescription, setDestinationAddress, setEndInstant, setExcludedFromOutput, setSourceAddress, setStartInstant, writeCsvRecordgetSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, getActivityType, getCompoundFrameNumbers, getDescription, getEndInstant, getEndTimestamp, getOptionalFields, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, setExcludedFromOutputpublic DhcpActivity(PcapActivity source, org.krakenapps.pcap.decoder.dhcp.DhcpMessage dhcpMessage)
source - The object on which the Activity occurred.dhcpMessage - the decoded Dhcp messageIllegalArgumentException - if source is null.public PcapActivity getPcapActivity()
public org.krakenapps.pcap.decoder.dhcp.DhcpMessage getDhcpMessage()
public String getSourceAddressAsString()
ActivitygetSourceAddressAsString in interface ActivitygetSourceAddressAsString in class AbstractActivitypublic String getDestinationAddressAsString()
ActivitygetDestinationAddressAsString in interface ActivitygetDestinationAddressAsString in class AbstractActivitypublic String toString()
toString in class AbstractActivityCopyright © 2013–2015 Institute of networks and security. All rights reserved.