Class SocketProxyAgent

  • All Implemented Interfaces:
    TimerListener, Serializable, Serializable, Runnable

    public class SocketProxyAgent
    extends Agent
    Agent to bridge ACL messages between JADE and the outside using a socket. The agent(s) to talk to and the port to be used may be specified:
    1. as the two String arguments to the agent, or
    2. if no agent argument, then in a configuration file agentname.inf, or if no configuration file, then
    3. default to DEFAULT_PORT and all agents
    The format for the arguments is:
    1. agent arguments: argument 0 is port number, argument 1 legal addressee agents
    2. configuration file: line 0 is port number, line 1 legal addressee agents
    Specifying an asterisk (*) for the agents will permit all agents to be legal addressees.
    Author:
    Fabio Bellifemine - CSELT S.p.A, (HP modifications) Dick Cowan, David Bell, Sebastien Siva, David Bernstein - Caboodle Networks, Inc.
    See Also:
    Serialized Form
    • Field Detail

      • DEFAULT_PORT

        public static final int DEFAULT_PORT
        the default port to listen on
        See Also:
        Constant Field Values
    • Constructor Detail

      • SocketProxyAgent

        public SocketProxyAgent()