Package com.almende.eve.agent

Examples of com.almende.eve.agent.AgentInterface


   */
  public List<String> get(@Name("id") final String id)
      throws ClassNotFoundException, InstantiationException,
      IllegalAccessException, InvocationTargetException,
      NoSuchMethodException, IOException {
    final AgentInterface agent = getAgentHost().getAgent(id);
    return (agent != null) ? agent.getUrls() : null;
  }
View Full Code Here


   */
  public boolean exists(@Name("id") final String id)
      throws ClassNotFoundException, InstantiationException,
      IllegalAccessException, InvocationTargetException,
      NoSuchMethodException, IOException {
    final AgentInterface agent = getAgentHost().getAgent(id);
    return (agent != null);
  }
View Full Code Here

            if (interval > 0 && !sequential) {
              start(interval);
            }
           
            final String receiverUrl = "local:" + agentId;
            final AgentInterface sender = host.getAgent(agentId);
            if (sender == null) {
              LOG.warning("Agent doesn't exist:" + agentId);
              destroyScheduler(agentId);
              return;
            }
            sender.send(request, URI.create(receiverUrl), null,
                null);
           
            if (interval > 0 && sequential && !cancelled()) {
              start(interval);
            }
View Full Code Here

TOP

Related Classes of com.almende.eve.agent.AgentInterface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.