public class Icmpv6Activity extends AbstractReplaceableActivity
Icmpv4Activity
,
but encapsulates an Icmpv6Packet
instead.PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANT
source
Constructor and Description |
---|
Icmpv6Activity(PcapActivity source,
org.krakenapps.pcap.decoder.icmpv6.Icmpv6Packet icmpPacket)
Constructs a new ICMPv6 activity, replacing the source Pcap activity and providing a JNetPcap representation of
the packet.
|
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() |
String |
getIcmpMessage() |
org.krakenapps.pcap.decoder.icmpv6.Icmpv6Packet |
getIcmpPacket() |
int |
getIcmpSubType() |
int |
getIcmpType() |
PcapActivity |
getPcapActivity() |
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 Icmpv6Activity(PcapActivity source, org.krakenapps.pcap.decoder.icmpv6.Icmpv6Packet icmpPacket)
source
- the event that led to the decoded icmpPacketicmpPacket
- the ICMP message decoded by Krakenpublic int getIcmpType()
public int getIcmpSubType()
public org.krakenapps.pcap.decoder.icmpv6.Icmpv6Packet getIcmpPacket()
public String getIcmpMessage()
Icmpv6Message
public PcapActivity getPcapActivity()
public org.jnetpcap.protocol.network.Icmp getIcmp()
public InetAddress getSourceAddress()
public InetAddress getDestinationAddress()
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.