kaos.robots.csi.testing
Class MinimalStubBot

java.lang.Object
  extended by kaos.robots.core.KAoSRobot
      extended by kaos.robots.csi.testing.MinimalStubBot
All Implemented Interfaces:
Command, FeedbackReceiver, KAoSObservable, ObserverManager
Direct Known Subclasses:
StubBot

public class MinimalStubBot
extends KAoSRobot

A smallest robot implementation I can think of.


Nested Class Summary
 
Nested classes/interfaces inherited from class kaos.robots.core.KAoSRobot
KAoSRobot.RequestHandlerThread
 
Field Summary
 
Fields inherited from class kaos.robots.core.KAoSRobot
_actorID, _address, _agentDescription, _classificationListeners, _connectBtn, _connected, _connectToCmb, _currentActions, _enablingClasses, _enforcer, _gpsIsAvailable, _gpsOrigin, _listeners, _locator, _logger, _messageReceiver, _msgTransportService, _myLocator, _nickName, _port, _registeredWithKAoS, _reniaCallback, _sender
 
Constructor Summary
MinimalStubBot(java.lang.String name)
           
 
Method Summary
 boolean connect()
          This function is used to connect to robot
 void disconnect()
          This function is used to disconnect from robot
static void main(java.lang.String[] args)
           
 
Methods inherited from class kaos.robots.core.KAoSRobot
assertNotLocatable, buildAID, buildConnectPanel, buildKAoSPanel, checkObligations, deregisterObserver, deregisterObserver, deregisterObserver, equals, ExtendTimeout, getActions, getActorID, getAgentDescription, getAgentDescriptionFromName, getAllAgents, getCurrentActions, getDetectedObjectObservable, getGPSCommPort, getLocator, getMTS, getPropertiesFromAID, getTimeoutPeriod, gpsIsAvailable, hashCode, init, initialize, isRegisteredWithKAoS, makeActionAllowable, notify, onAborted, onAccepted, onCompleted, onRefused, onStarted, printDebugString, receiveKAoSStatus, receiveMessage, registerObserver, registerObserver, registerObserver, registerObserver, registerWithKAoS, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, requestAction, sendMessage, sendRequestToKaa, setRegisteredWithKAoS, updateTimeout
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinimalStubBot

public MinimalStubBot(java.lang.String name)
Method Detail

connect

public boolean connect()
Description copied from class: KAoSRobot
This function is used to connect to robot

Specified by:
connect in class KAoSRobot
Returns:
boolean indicating true if successful and false if failed

disconnect

public void disconnect()
Description copied from class: KAoSRobot
This function is used to disconnect from robot

Specified by:
disconnect in class KAoSRobot

main

public static void main(java.lang.String[] args)