ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class Thunderbird.Thunderbird(system, config)

This is the abstract class which serves as the parent for each class which controls Thunderbird. Each subclass should also be sure to inherit from an appropriate <no title> class so inherited calls from here and above will work correctly.

Parameters:

  • system: a <no title> object to interact with the target

  • config: a <no title> object defining this user

get_message_count()
Preconditions:
  • the Email Client is “on top”

  • the folder of interest is currently selected

  • the message list is visisble

Postconditions:
  • possibly the mouse moved on the remote system

  • otherwise no changes on the remote system

  • no changes to internal state

Return: the number of currently visisble messages in the

message list, not the total number in the folder

has_attachments()

Return: whether or not there are attachments on the currently selected message

save_attachments(directory)

Save the attachments on the current message to the given directory.

Parameters:

  • directory: the directory in which the attachments should be saved