In the Ironstream agent, the main task activates several subtasks that interact with the various mainframe message sources. Collected messages are transferred to the TCP subtask, which is responsible for forwarding the information to the Ironstream Proxy Server.