public class Snmpv1Activity extends AbstractReplaceableActivity
Pdu object including source and destination
L3/L4 addresses.PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANTsource| Constructor and Description |
|---|
Snmpv1Activity(PcapActivity source,
org.krakenapps.pcap.decoder.snmp.v1.Pdu pdu,
InetSocketAddress sourceAddress,
InetSocketAddress destinationAddress)
Constructs a prototypical Event.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationAddressAsString()
An address that can be interpreted as the destination address for this activity.
|
InetSocketAddress |
getDestinationSocketAddress() |
PcapActivity |
getPcapActivity() |
org.krakenapps.pcap.decoder.snmp.v1.Pdu |
getPdu() |
String |
getSourceAddressAsString()
An address that can be interpreted as the source address for this activity.
|
InetSocketAddress |
getSourceSocketAddress() |
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 Snmpv1Activity(PcapActivity source, org.krakenapps.pcap.decoder.snmp.v1.Pdu pdu, InetSocketAddress sourceAddress, InetSocketAddress destinationAddress)
source - The object on which the Event initially occurred.pdu - the decoded PdusourceAddress - the L3/L4 source addressdestinationAddress - the L3/L4 destination addresspublic PcapActivity getPcapActivity()
public org.krakenapps.pcap.decoder.snmp.v1.Pdu getPdu()
public InetSocketAddress getSourceSocketAddress()
public InetSocketAddress getDestinationSocketAddress()
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.