public class Pop3Activity extends AbstractReplaceableActivity
Modifier and Type | Class and Description |
---|---|
static class |
Pop3Activity.Type
POP3 Activity type of the surrounding object
|
PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANT
source
Constructor and Description |
---|
Pop3Activity(PcapActivity source,
Pop3Activity.Type partialActivityType)
Constructs a prototypical Event.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommand() |
org.krakenapps.pcap.decoder.pop3.Pop3Data |
getData() |
org.krakenapps.mime.MimeHeader |
getHeader() |
PcapActivity |
getPcapActivity() |
String |
getResponse() |
Pop3Activity.Type |
getSubType() |
void |
setCommand(String command)
This method will be called by
KrakenPop3Handler in
order to build a partial session during the encoding process. |
void |
setData(org.krakenapps.pcap.decoder.pop3.Pop3Data data)
This method will be called by
KrakenPop3Handler
during the decoding process. |
void |
setHeader(org.krakenapps.mime.MimeHeader header)
This method will be called by
KrakenPop3Handler
in order to build a partial POP session. |
void |
setResponse(String response)
This method will be called by
KrakenPop3Handler in
order to build a partial session during the encoding process. |
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 Pop3Activity(PcapActivity source, Pop3Activity.Type partialActivityType)
source
- The object on which the Event initially occurred.IllegalArgumentException
- if source is null.public PcapActivity getPcapActivity()
public Pop3Activity.Type getSubType()
public org.krakenapps.mime.MimeHeader getHeader()
MimeHeader
if available, null otherwisepublic void setHeader(org.krakenapps.mime.MimeHeader header)
KrakenPop3Handler
in order to build a partial POP session.header
- the decoded MIME header.public org.krakenapps.pcap.decoder.pop3.Pop3Data getData()
Pop3Data
if available, null otherwisepublic void setData(org.krakenapps.pcap.decoder.pop3.Pop3Data data)
KrakenPop3Handler
during the decoding process.data
- the decoded POP datapublic String getCommand()
public void setCommand(String command)
KrakenPop3Handler
in
order to build a partial session during the encoding process.command
- the decoded command.public String getResponse()
public void setResponse(String response)
KrakenPop3Handler
in
order to build a partial session during the encoding process.response
- the decoded response stringpublic String toString()
toString
in class AbstractActivity
Copyright © 2013–2015 Institute of networks and security. All rights reserved.