Boeing Simulation 3.1 API Specification

Serialized Form

Class idl._TypeGenStub implements Serializable

Serialized Fields

ids

String[] ids


Class mission.BasicMission implements Serializable

Serialized Fields

targets

List targets
The list of objects.


units

List units
The list of objects.


Class objects.Bus implements Serializable

Serialized Fields

destroyed

boolean destroyed

targeted

boolean targeted


Class connect.ComponentEmissary implements Serializable

Serialized Fields

componentType

Class componentType

connection

connect.CreatesConnection connection


Class connect.ConnectionRejectedException implements Serializable


Class objects.Dimension implements Serializable

Serialized Fields

width

double width

height

double height


Class connect.FacetChannelAdmin implements Serializable

Serialized Fields

eventChannel

edu.wustl.doc.facet.EventChannelImpl eventChannel
The EventChannelImpl for this JVM.


sourceType

int sourceType
This variable + 1 represents the next available source type that a facet based component may use to filter. This source type is not used by any other facet components.


Class connect.facet.FacetConnection implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

lsource

int lsource

ltype

int ltype

rsource

int rsource

ctype

Class ctype


Class connect.facet.FacetConnectionInfo implements Serializable

Serialized Fields

source

int source

type

int type


Class connect.facet.FacetException implements Serializable


Class objects.Location implements Serializable


Class util.MethodRequest implements Serializable

Serialized Fields

arguments

List arguments
The List containing in order the arguments to be passed in.


methodName

String methodName
The name of the method that is to be remotely invoked.


requestID

int requestID
This value is passed along to the Return value as a way of signifying which method it came from.


requesting

Class requesting
The type of class requesting this method.


Class util.MethodRequest.UninvokableMethodException implements Serializable


Class objects.MovableWhatWhere implements Serializable


Class mission.MoveMission implements Serializable

Serialized Fields

units

List units
The list of objects to be moved in the same way.


destination

objects.Location destination
The Location to move the units to.


direction

String direction
If equal to "right", "left", "up" or "down", the direction to move the units in; "loc" indicates a move to the destination Location; "stop" halts random movement; "go" restarts random movement.


Class objects.MovingObject implements Serializable

Serialized Fields

mover

objects.Mover mover


Class objects.Point implements Serializable

Serialized Fields

x

double x

y

double y


Class util.RegularTimeStamp implements Serializable

Serialized Fields

millis

long millis

nanos

int nanos


Class util.ReturnValue implements Serializable

Serialized Fields

methodName

String methodName
The name of the method that generated this return value


returnVal

Object returnVal

requestID

int requestID
the associated ID from MethodRequest.


Class util.ReturnValue.NULL implements Serializable


Class objects.School implements Serializable

Serialized Fields

destroyed

boolean destroyed

targeted

boolean targeted


Class worldsimulator.SimulatorBus implements Serializable

Serialized Fields

destroyed

boolean destroyed
Flag indicating whether this bus is destroyed.


goal

objects.Location goal
The location that this bus will move towards.


id

Long id
The unique ID used to distinguish this bus from another bus.


targeted

boolean targeted
Flag indicating whether this bus is targeted.


Class worldsimulator.SimulatorImage implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serialized Fields

loc

objects.Location loc
The location at which this image was taken.


radius

double radius
The radius after which the image is not significant.


ID

Long ID
The ID of the UAV that took this image.


sourceLoc

objects.Location sourceLoc
The Location of the object in the image that took this image.


Class worldsimulator.SimulatorSchool implements Serializable

Serialized Fields

destroyed

boolean destroyed
Flag indicating whether this school is destroyed.


goal

objects.Location goal
The location that this school will move towards.


id

Long id
The unique ID used to distinguish this school from another school.


targeted

boolean targeted
Flag indicatiing whether this school is targeted.


initialUpdate

boolean initialUpdate


Class worldsimulator.SimulatorTank implements Serializable

Serialized Fields

destroyed

boolean destroyed
Flag indicating whether this tank is destroyed.


goal

objects.Location goal
The location that this tank will move towards.


id

Long id
The unique ID used to distinguish this tank from another tank.


targeted

boolean targeted
Flag indicatiing whether this tank is targeted.


Class worldsimulator.SimulatorUAV implements Serializable

Serialized Fields

goal

objects.Locatable goal
The location where this UAV will attept to go towards.


id

Long id
The unique ID used to distinguish this UAV from another UAV.


started

boolean started
Internal flag to make sure that a UAV is not started twice.


num

int num


Class worldsimulator.SimulatorUCAV implements Serializable

Serialized Fields

goal

objects.Locatable goal
The location where this UCAV will attept to go towards.


id

Long id
The unique ID used to distinguish this UAV from another UAV.


started

boolean started
Flag for whether the ucav has begun executing periodic movements.


debug

boolean debug
Flag for enabling debug message output.


num

int num


Class ucavmanager.SimulatorUCAVManager.BasicUCAVInfo implements Serializable

Serialized Fields

id

int id

time

util.TimeStamp time

loc

objects.Location loc


Class connect.socket.SocketConnection implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Serialized Fields

type

Class type

host

String host

port

int port


Class mission.SocketMissionControl.SimpleMissionHandle implements Serializable

Serialized Fields

mission

mission.Mission mission


Class worldsimulator.SocketSimulatorComponentTemplate implements Serializable

Serialization Methods

readObject

private final void readObject(ObjectInputStream in)
                       throws IOException,
                              ClassNotFoundException
Reads in the object using the default serailization methods and then sets the started flag to false. This method ensures that upon deserialization, any component will by default have started set to be false.

IOException
ClassNotFoundException
See Also:
SocketSimulatorComponentTemplate.started, SocketSimulatorComponentTemplate.isStarted()
Serialized Fields

started

boolean started
Flag for testing whether this object has started its periodic run calls.


connection

connect.CreatesConnection connection
The object that allows other components to connect to it in an opaque manner.


representative

connect.ComponentEmissary representative
The emissary used to represent this component when forming remote connections


Class world.StandardDeltaState implements Serializable

Serialized Fields

newObjects

List newObjects

objectUpdates

Map objectUpdates


Class world.StandardWorldImage implements Serializable

Serialized Fields

allObjects

List allObjects

whenCreated

util.TimeStamp whenCreated

radius

double radius

location

objects.Location location


Class world.StandardWorldState implements Serializable

Serialized Fields

objects

List objects
The list of all the objects in the world.


lastUpdated

util.TimeStamp lastUpdated
The time stamp for when the world state was last updated.


lastDelta

world.DeltaState lastDelta
The last delta state that updated this world state.


Class objects.Tank implements Serializable

Serialized Fields

destroyed

boolean destroyed

targeted

boolean targeted


Class util.ThreadFactory.InvalidConstructorArgumentsException implements Serializable


Class uav.UAVObject implements Serializable

Serialized Fields

ID

long ID
The unique ID of this UAV.


Class ucav.UCAVObject implements Serializable

Serialized Fields

ID

long ID
The unique ID of this UAV.


Class objects.WhatWhere implements Serializable

Serialized Fields

loc

objects.Location loc

dim

objects.Dimension dim


Class visualizer.WorldStateViz implements Serializable

Serialized Fields

frame

JFrame frame
The frame that the objects will be drawn on.


currentState

world.WorldState currentState
The visualization currently represtented world state. This visualizer maintains its own state and updates it based on WorldState objects passed in.


drawables

List drawables
A list of all the Drawable objects that represent objects in the world.


colors

Map colors
This contains the color for each of the objects in the world.


Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.