public class FtpActivity extends AbstractReplaceableActivity
Modifier and Type | Class and Description |
---|---|
static class |
FtpActivity.Type |
PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANT
source
Constructor and Description |
---|
FtpActivity(PcapActivity source,
FtpActivity.Type type,
byte[] decodedMessage)
Constructs a prototypical activity, replaces the source Pcap activity and stores the type of the FTP message..
|
FtpActivity(PcapActivity source,
FtpActivity.Type type,
String decodedMessage)
Constructs a prototypical activity, replaces the source Pcap activity and stores the type of the FTP message..
|
Modifier and Type | Method and Description |
---|---|
String |
getCommand() |
FtpActivity.Type |
getFtpActivityTypeEnum() |
byte[] |
getList() |
PcapActivity |
getPcapActivity() |
String |
getReply() |
String |
toString() |
isReplaced, replaceActivity, setReplaced
addOptionalField, addPropertyChangeListener, addPropertyChangeListener, extendActivity, getActivityType, getCompoundFrameNumbers, getDescription, getDestinationAddressAsString, getEndInstant, getEndTimestamp, getOptionalFields, getSourceAddressAsString, 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, getDestinationAddressAsString, getEndInstant, getEndTimestamp, getOptionalFields, getSourceAddressAsString, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, setExcludedFromOutput
public FtpActivity(PcapActivity source, FtpActivity.Type type, String decodedMessage)
source
- The object on which the activity initially occurred.type
- the FTP message type leading to a decoded String, i.e. either COMMAND or REPLYIllegalArgumentException
- if source is null or an unsupported type was encountered.public FtpActivity(PcapActivity source, FtpActivity.Type type, byte[] decodedMessage)
source
- The object on which the activity initially occurred.type
- the FTP message type leading to a decoded byte [], i.e. VIEW_LIST.IllegalArgumentException
- if source is null or an unsupported type was encountered.public PcapActivity getPcapActivity()
public FtpActivity.Type getFtpActivityTypeEnum()
public String getCommand()
public String getReply()
public byte[] getList()
public String toString()
toString
in class AbstractActivity
Copyright © 2013–2015 Institute of networks and security. All rights reserved.