metaglue
Class AgentSupport
java.lang.Object
|
+--metaglue.AgentSupport
- public class AgentSupport
- extends Object
Collection of static methods for helping Agents and such do their job.
Created: Tue Aug 14 14:06:12 2001
Method Summary |
static Metaglue |
obtainMetaglueAgent(MetaglueAgent meta,
AgentID mid)
|
static Metaglue |
obtainMetaglueAgent(String soc,
MetaglueAgent meta,
InetAddress host)
|
static Metaglue |
obtainMetaglueAgent(String soc,
MetaglueAgent meta,
InetAddress host,
boolean retry_if_failed)
|
static Metaglue |
obtainMetaglueAgentByName(MetaglueAgent meta,
String ma,
boolean retry_if_fail)
Get a metaglue agent with given christian name. |
static Metaglue |
obtainMetaglueAgentByString(MetaglueAgent meta,
String name,
boolean retry_if_failed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentSupport
public AgentSupport()
obtainMetaglueAgentByName
public static Metaglue obtainMetaglueAgentByName(MetaglueAgent meta,
String ma,
boolean retry_if_fail)
throws MetaglueSystemError
- Get a metaglue agent with given christian name.
- Returns:
- metaglue agent with given ID.
obtainMetaglueAgent
public static Metaglue obtainMetaglueAgent(MetaglueAgent meta,
AgentID mid)
throws MetaglueSystemError
- Returns:
- metaglue agent with given ID.
obtainMetaglueAgent
public static Metaglue obtainMetaglueAgent(String soc,
MetaglueAgent meta,
InetAddress host)
throws MetaglueSystemError
obtainMetaglueAgent
public static Metaglue obtainMetaglueAgent(String soc,
MetaglueAgent meta,
InetAddress host,
boolean retry_if_failed)
throws MetaglueSystemError
- Returns:
- metaglue agent on given host. Will start one if necessary.
obtainMetaglueAgentByString
public static Metaglue obtainMetaglueAgentByString(MetaglueAgent meta,
String name,
boolean retry_if_failed)
throws MetaglueSystemError