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 ATAK.ATAK(system, config, b_type=None)¶
- open()¶
ATAK is always open by default, so let’s just assume it is
- send_data_package(recips)¶
Send a data package constructed from the current state.
- send_message(msg, recips)¶
Send the given message to one or more recipients.
Parameters:
msg: the string message to send
recips: either a string recipient name, or an iterable of string names to send the message to
- send_package_to_random_server()¶
As send_data_package creates and sends a data package to some recipient users, this will send the data package to a TAK server that is currently showing as available.
- send_to_all(msg)¶
Send the given message to “all” recipients
- send_to_random_user(msg)¶
Send a message to a randomly selected user from the list
- set_pin(pin_type)¶
Select a pin of the given type and place it at a random location