twcore.core
Class Session

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--twcore.core.Session
All Implemented Interfaces:
java.lang.Runnable

public class Session
extends java.lang.Thread


Field Summary
static int INVALID_CLASS
           
static int NOT_RUNNING
           
static int RUNNING
           
static int STARTING
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Session(twcore.core.CoreData cdata, java.lang.Class roboClass, java.lang.String name, java.lang.String password, java.lang.ThreadGroup parentGroup)
           
 
Method Summary
 void disconnect()
           
 void finalize()
           
 twcore.core.BotAction getBotAction()
           
 java.lang.Class getBotClass()
           
 java.lang.String getBotName()
           
 int getBotState()
           
 twcore.core.CoreData getCoreData()
           
 twcore.core.EventRequester getEventRequester()
           
 twcore.core.GamePacketGenerator getGamePacketGenerator()
           
 twcore.core.GamePacketInterpreter getGamePacketInterpreter()
           
 twcore.core.Ship getShip()
           
 twcore.core.SubspaceBot getSubspaceBot()
           
 void loggedOn()
           
 void prepare()
           
 void run()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RUNNING

public static int RUNNING

STARTING

public static int STARTING

NOT_RUNNING

public static int NOT_RUNNING

INVALID_CLASS

public static int INVALID_CLASS
Constructor Detail

Session

public Session(twcore.core.CoreData cdata,
               java.lang.Class roboClass,
               java.lang.String name,
               java.lang.String password,
               java.lang.ThreadGroup parentGroup)
Method Detail

prepare

public void prepare()

getBotAction

public twcore.core.BotAction getBotAction()

getGamePacketInterpreter

public twcore.core.GamePacketInterpreter getGamePacketInterpreter()

getGamePacketGenerator

public twcore.core.GamePacketGenerator getGamePacketGenerator()

getEventRequester

public twcore.core.EventRequester getEventRequester()

getCoreData

public twcore.core.CoreData getCoreData()

getBotState

public int getBotState()

getBotName

public java.lang.String getBotName()

getBotClass

public java.lang.Class getBotClass()

getShip

public twcore.core.Ship getShip()

getSubspaceBot

public twcore.core.SubspaceBot getSubspaceBot()

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

disconnect

public void disconnect()

loggedOn

public void loggedOn()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread