de.upb.swtpra05.group03.shuttle
Class ICabSShuttle

java.lang.Object
  extended byjava.lang.Thread
      extended byde.upb.swtpra.kernel.Agent
          extended byde.upb.swtpra.kernel.ShuttleAgentBase
              extended byde.upb.swtpra05.group03.shuttle.ShuttleControl
                  extended byde.upb.swtpra05.group03.shuttle.ICabSShuttle
All Implemented Interfaces:
Module, java.lang.Runnable, ShuttleControlInterface, ShuttleModule

public class ICabSShuttle
extends ShuttleControl

This is the shuttle class loaded by the kernel, it instanciates and initializes all Modules with the ModuleContainer.

Version:
$Revision: 1.3 $

Field Summary
private  ModuleContainer moduleContainer
          The module container to hold and init all modules
 
Fields inherited from class de.upb.swtpra05.group03.shuttle.ShuttleControl
log
 
Fields inherited from class de.upb.swtpra.kernel.ShuttleAgentBase
 
Fields inherited from class de.upb.swtpra.kernel.Agent
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ICabSShuttle(de.upb.swtpra.kernel.id.KernelID id)
          The main constructor, will forward its arguments to the ShuttleControl and instanciates and initializes all Modules.
 
Method Summary
 java.lang.String getCompanyLogin()
           
 java.lang.String getCompanyPassword()
           
 
Methods inherited from class de.upb.swtpra05.group03.shuttle.ShuttleControl
getMyAgentID, getMyBankingAgentID, getMyBrokerAgentID, getMyKernelID, init, newMessageReceived, run, sendMessage
 
Methods inherited from class de.upb.swtpra.kernel.ShuttleAgentBase
getBankingAgentID, getBrokerID, getTopologyID, receive, register, sendNextMessage
 
Methods inherited from class de.upb.swtpra.kernel.Agent
getAgentID, getNextMessage, isMessageAvailable, send, setAgentID
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

moduleContainer

private ModuleContainer moduleContainer
The module container to hold and init all modules

Constructor Detail

ICabSShuttle

public ICabSShuttle(de.upb.swtpra.kernel.id.KernelID id)
The main constructor, will forward its arguments to the ShuttleControl and instanciates and initializes all Modules.

Parameters:
id - The kernel id
Method Detail

getCompanyLogin

public java.lang.String getCompanyLogin()

getCompanyPassword

public java.lang.String getCompanyPassword()