public class Icmpv6Activity extends AbstractReplaceableActivity
Icmpv4Activity,
but encapsulates an Icmpv6Packet instead.PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANTsource| 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, 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 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()
Icmpv6Messagepublic PcapActivity getPcapActivity()
public org.jnetpcap.protocol.network.Icmp getIcmp()
public InetAddress getSourceAddress()
public InetAddress getDestinationAddress()
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.