public class Icmpv4Activity extends AbstractReplaceableActivity
IcmpPacket.PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANTsource| Constructor and Description |
|---|
Icmpv4Activity(PcapActivity source,
org.krakenapps.pcap.decoder.icmp.IcmpPacket icmpPacket)
Constructs a new ICMP activity (IPv4 specific) and replaces the source Pcap activity on which this activity occurred
|
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getDestinationAddress() |
String |
getDestinationAddressAsString()
An address that can be interpreted as the destination address for this activity.
|
org.jnetpcap.protocol.network.Icmp |
getIcmp() |
org.jnetpcap.protocol.network.Icmp.IcmpCode |
getIcmpCode() |
String |
getIcmpMessage() |
org.krakenapps.pcap.decoder.icmp.IcmpPacket |
getIcmpPacket() |
int |
getIcmpSubType() |
org.jnetpcap.protocol.network.Icmp.IcmpType |
getIcmpType() |
int |
getIdentifier() |
PcapActivity |
getPcapActivity() |
int |
getSequence() |
InetAddress |
getSourceAddress() |
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 Icmpv4Activity(PcapActivity source, org.krakenapps.pcap.decoder.icmp.IcmpPacket icmpPacket)
source - the Pcap activity on which this event occurredicmpPacket - the Kraken specific representation of an ICMP packetpublic org.krakenapps.pcap.decoder.icmp.IcmpPacket getIcmpPacket()
public String getIcmpMessage()
public PcapActivity getPcapActivity()
public org.jnetpcap.protocol.network.Icmp.IcmpCode getIcmpCode()
public org.jnetpcap.protocol.network.Icmp.IcmpType getIcmpType()
public int getIcmpSubType()
public InetAddress getSourceAddress()
public InetAddress getDestinationAddress()
public int getIdentifier()
public int getSequence()
public org.jnetpcap.protocol.network.Icmp getIcmp()
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.