public class Icmpv4Activity extends AbstractReplaceableActivity
IcmpPacket
.PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANT
source
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, setReplaced
addOptionalField, addPropertyChangeListener, addPropertyChangeListener, extendActivity, getActivityType, getCompoundFrameNumbers, getDescription, getEndInstant, getEndTimestamp, getOptionalFields, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, removeReplacedActivity, setDescription, setDestinationAddress, setEndInstant, setExcludedFromOutput, setSourceAddress, setStartInstant, writeCsvRecord
getSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, getActivityType, getCompoundFrameNumbers, getDescription, getEndInstant, getEndTimestamp, getOptionalFields, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, setExcludedFromOutput
public 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()
Activity
getSourceAddressAsString
in interface Activity
getSourceAddressAsString
in class AbstractActivity
public String getDestinationAddressAsString()
Activity
getDestinationAddressAsString
in interface Activity
getDestinationAddressAsString
in class AbstractActivity
public String toString()
toString
in class AbstractActivity
Copyright © 2013–2015 Institute of networks and security. All rights reserved.