Class PollingRemoteAgentConnection

  • All Implemented Interfaces:
    RemoteAgentConnection

    @ThreadSafe
    public class PollingRemoteAgentConnection
    extends Object
    implements RemoteAgentConnection
    Implementation of RemoteAgentConnection that can send commands to the agents who don't have web server. Such agents periodically come to the server and ask whether there is a new command for them. Current limitations: - all methods can block for a long time (up to timeout of 30 sec) - only one commands can be queued at the given moment, all other commands wait.