public static boolean logReceivedLine(boolean directionIN, long threadID, String agentRegistrationID, String sender, String recipient, String senderIP, String recipientIP, String line)
  {
    try
    {
      if (!isLoggingEnabled)
      {
        return false;
      }

      if (alLoggingAgents == null)
      {
        alLoggingAgents = new ArrayList();
        return false;
      }

      if (alLoggingAgents.size() < 1)
      {
        return false;
      }

      if ((line == null) || (line.trim().equals("")))
      {
        return false;
      }

      for (int i = 0; i < alLoggingAgents.size(); i++)
      {
        terminal_log = (Thread_Terminal)alLoggingAgents.get(i);
        try
        {
          terminal_log.pwOut.println(directionIN + "@@@@@" + threadID + "@@@@@" + agentRegistrationID + "@@@@@" + sender + "@@@@@" + recipient + "@@@@@" + senderIP + "@@@@@" + recipientIP + "@@@@@" + line);
          terminal_log.pwOut.flush();
        }
        catch (Exception localException1)
        {
        }

      }

      return true;
    }
    catch (Exception e)
    {
      eop("logReceivedLine", strMyClassName, e, "", false);
    }

    return false;
  }