net.hivecell.hive.agent.thing
Class CricketShadowAgentImpl

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--net.hivecell.hive.agent.AgentImpl
                          |
                          +--net.hivecell.hive.agent.EventSendingAgentImpl
                                |
                                +--net.hivecell.hive.agent.SignalPassthrough
                                      |
                                      +--net.hivecell.hive.agent.GenericSignalPassthroughAgentImpl
                                            |
                                            +--net.hivecell.hive.agent.thing.CricketShadowAgentImpl

public class CricketShadowAgentImpl
extends GenericSignalPassthroughAgentImpl

See Also:
Serialized Form

Fields inherited from class net.hivecell.hive.agent.GenericSignalPassthroughAgentImpl
myShadow, shadowType
 
Fields inherited from class net.hivecell.hive.agent.EventSendingAgentImpl
eventSendingHelper
 
Fields inherited from class net.hivecell.hive.agent.AgentImpl
AGENTKILLED, AGENTMOVED, agentThreadGroup, commandList, commands, description, icon, iconName, myAddress, myCell, readyFlag, stopCode, timeToStop
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
CricketShadowAgentImpl()
           
 
Method Summary
 void doLocalSetup()
          Do the local setup.
 
Methods inherited from class net.hivecell.hive.agent.GenericSignalPassthroughAgentImpl
doBehavior, doLocalCleanup, getShadowType, setShadowType
 
Methods inherited from class net.hivecell.hive.agent.SignalPassthrough
signal, signal
 
Methods inherited from class net.hivecell.hive.agent.EventSendingAgentImpl
addListener, addListener, addListener, addListener, eventSendingError, getEventCount, listAllOutgoingConnections, removeListener
 
Methods inherited from class net.hivecell.hive.agent.AgentImpl
addActionCommand, blockUntilReady, configure, connectTo, diePlease, disconnectFrom, disconnectFromAll, getActionCommands, getAddress, getCell, getComponentManagerShadow, getDescription, getIcon, getIconName, getName, getThreadGroup, invokeActionCommand, isReady, isTimeToStop, listAllIncomingConnections, loadIcon, moveTo, onDying, onMoving, setCell, setDescription, setIconName, setIsReady, setThreadGroup, setTimeToStop, waitUntilDeath
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CricketShadowAgentImpl

public CricketShadowAgentImpl()
                       throws java.rmi.RemoteException
Method Detail

doLocalSetup

public void doLocalSetup()
                  throws AgentInitializationException
Description copied from class: GenericSignalPassthroughAgentImpl
Do the local setup. Grab the requested shadow as an event publisher and subscribe to it.
Overrides:
doLocalSetup in class GenericSignalPassthroughAgentImpl
Tags copied from class: AgentImpl
Throws:
AgentInitializationException - can be thrown by the agent if for some reason it cannot fufil its setup stuff