public class KrakenIcmpv4Handler extends KrakenBaseProtocol
IcmpDecoder
which is provided by the
Kraken library and on KrakenIpv4Handler
in order to
receive the IPv4 payload used to transport the ICMP data.
No forward bindings are provided by this class.Modifier and Type | Field and Description |
---|---|
static ProtocolId |
krakenIcmpv4ProtocolId |
static String |
NEW_ICMPV_4_ACTIVITY_PROPERTY_NAME |
BINDING_METHOD_NAME, log, propertyChangeSupport, protocolSetting
Constructor and Description |
---|
KrakenIcmpv4Handler() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireNewIcmpActivity(org.krakenapps.pcap.decoder.icmp.IcmpPacket p) |
org.krakenapps.pcap.decoder.icmp.IcmpDecoder |
getKrakenIcmpv4Decoder() |
ProtocolId |
getProtocolId()
An arbitrary identifier for the protocol(s) this decoder should be able to parse and decode.
|
void |
initialize(KrakenProtocolConfiguration setting)
Initializes this protocol decoder with the information provided by the user.
|
addPropertyChangeListener, addPropertyChangeListener, bind, findProtocolBindingMethod, getCurrentPcapActivity, getPcapHandler, getProtocolConfiguration, removePropertyChangeListener, removePropertyChangeListener
public static final String NEW_ICMPV_4_ACTIVITY_PROPERTY_NAME
public static final ProtocolId krakenIcmpv4ProtocolId
public ProtocolId getProtocolId()
BaseProtocol
public void initialize(KrakenProtocolConfiguration setting)
KrakenBaseProtocol
KrakenProtocolConfigurationBuilderImpl
before the bindings are processed.
This method should be called exactly once, multiple calls will result in an exception being thrown.initialize
in class KrakenBaseProtocol
setting
- the protocol configuration provided by the userprotected void fireNewIcmpActivity(org.krakenapps.pcap.decoder.icmp.IcmpPacket p)
public org.krakenapps.pcap.decoder.icmp.IcmpDecoder getKrakenIcmpv4Decoder()
Copyright © 2013–2015 Institute of networks and security. All rights reserved.