kaos.notification
Class TestMonitor

java.lang.Object
  extended by kaos.notification.KaosAgent
      extended by kaos.notification.TestMonitor

public class TestMonitor
extends KaosAgent


Field Summary
 
Fields inherited from class kaos.notification.KaosAgent
_ads, _agentDesc, _agentName, _agentNickname, _ans, _domainName, _guard, _kadsp, _kaosEnabled, _lctr, _logger, _msgTransport, _mts, _sr, COABSGRID_TRANSPORT, CORBA_TRANSPORT, TCP_TRANSPORT, TRANSPORT_PROPERTY_KEY
 
Constructor Summary
TestMonitor()
           
 
Method Summary
 java.lang.String getAgentNameFromNickname(java.lang.String nickname)
           
 void initialize(java.lang.String domainName, java.lang.String parentDomainName, java.lang.String agentNickname)
           
static void main(java.lang.String[] args)
          Start the TestMonitorAgent in a specified domain with the given agent nickname.
protected  void removeAgent()
           
protected  void runTests()
           
 
Methods inherited from class kaos.notification.KaosAgent
assertFalse, assertTrue, equals, getAgentDescription, getDirectoryService, getDomainName, hashCode, logMessage, logMessage, printTransportMessage, receiveMessage, registerWithKaos, sendMessageTo, start
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMonitor

public TestMonitor()
Method Detail

main

public static void main(java.lang.String[] args)
Start the TestMonitorAgent in a specified domain with the given agent nickname. args - domainName, agentNickname, [host, port, [parentDomain]]


initialize

public void initialize(java.lang.String domainName,
                       java.lang.String parentDomainName,
                       java.lang.String agentNickname)
                throws java.lang.Exception
Overrides:
initialize in class KaosAgent
Throws:
java.lang.Exception

runTests

protected void runTests()
                 throws java.io.IOException,
                        ClassNameNotSet,
                        RangeIsBasedOnAClass,
                        InstanceNotInThisRange,
                        ValueNotSet,
                        DirectoryFailure
Throws:
java.io.IOException
ClassNameNotSet
RangeIsBasedOnAClass
InstanceNotInThisRange
ValueNotSet
DirectoryFailure

getAgentNameFromNickname

public java.lang.String getAgentNameFromNickname(java.lang.String nickname)

removeAgent

protected void removeAgent()
Overrides:
removeAgent in class KaosAgent