Object to store details about captured network traffic files to be stored in the File Archive Attributes: file_path: the path of the PCAP file date: generation date and time of the file split_timeout: timeout value to be used to split PCAP files
| 236 | |
| 237 | |
| 238 | class FileArchive: |
| 239 | """ |
| 240 | Object to store details about captured network traffic files |
| 241 | to be stored in the File Archive |
| 242 | |
| 243 | Attributes: |
| 244 | file_path: the path of the PCAP file |
| 245 | date: generation date and time of the file |
| 246 | split_timeout: timeout value to be used to split PCAP files |
| 247 | """ |
| 248 | |
| 249 | def __init__(self, file_path, date, split_timeout): |
| 250 | self.file_path = file_path |
| 251 | self.date = date |
| 252 | self.split_timeout = split_timeout |
| 253 | self.md5 = None |
| 254 | self.file_content = None |
no outgoing calls
no test coverage detected