Boeing Simulation 3.1 API Specification

mission
Class SocketMissionControl

java.lang.Object
  |
  +--connect.socket.SocketComponentTemplate
        |
        +--mission.SocketMissionControlTemplate
              |
              +--mission.SocketMissionControl
All Implemented Interfaces:
Component, MissionControl

public class SocketMissionControl
extends SocketMissionControlTemplate

The behavior of this implementation is to allow any mission.

Version:
$Revision: 1.12 $
Author:
Dave Jurgens

Nested Class Summary
protected static class SocketMissionControl.SimpleMissionHandle
           
 
Field Summary
protected  Map missions
          Stores the mapping between SocketMissionControl.SimpleMissionHandle and Mission.
private static long serialVersionUID
           
 
Fields inherited from class mission.SocketMissionControlTemplate
serverQueue, toServer, toUAV, toUCAV, uavQueue, ucavQueue
 
Fields inherited from class connect.socket.SocketComponentTemplate
portNumber
 
Constructor Summary
SocketMissionControl(int port)
           
 
Method Summary
 boolean abortMission(mission.Mission request)
          Returns false because the current implementation does not support the stopping of a Mission.
 Set getCurrentMissions()
          Return a List of all SocketMissionControl.SimpleMissionHandle objects that can be used to access any Mission currently being executed.
 mission.MissionStatus getMissionStatus(mission.MissionHandle handle)
          Return the status of the mission associated with that handle.
static void main(String[] args)
           
 mission.MissionHandle processMission(mission.Mission request)
          Determine if this Mission is feasible, then coordinate resources until it is finished.
protected  void startMission(mission.Mission mission)
           
protected  void startMoveMission(mission.MoveMission mission)
           
 
Methods inherited from class mission.SocketMissionControlTemplate
accept, allowMethod, getMaxPoints, processAcceptedConnection, processRequestingConnection, processServer, processUAVManager, processUCAVManager, startListeningThread, writeOutComponentRequests
 
Methods inherited from class connect.socket.SocketComponentTemplate
connect, getComponentEmissary, getConnection, processRelayPoint, spawnRelayPoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

missions

protected final Map missions
Stores the mapping between SocketMissionControl.SimpleMissionHandle and Mission.

Constructor Detail

SocketMissionControl

public SocketMissionControl(int port)
Method Detail

abortMission

public boolean abortMission(mission.Mission request)
Returns false because the current implementation does not support the stopping of a Mission.

Specified by:
abortMission in interface MissionControl
Specified by:
abortMission in class SocketMissionControlTemplate

getCurrentMissions

public Set getCurrentMissions()
Description copied from interface: MissionControl
Return a List of all MissionHandle objects that can be used to access any Mission currently being executed.

Specified by:
getCurrentMissions in interface MissionControl
Specified by:
getCurrentMissions in class SocketMissionControlTemplate

processMission

public mission.MissionHandle processMission(mission.Mission request)
Description copied from interface: MissionControl
Determine if this Mission is feasible, then coordinate resources until it is finished. Return the MissionHandle that will be associate with it.

Specified by:
processMission in interface MissionControl
Specified by:
processMission in class SocketMissionControlTemplate

getMissionStatus

public mission.MissionStatus getMissionStatus(mission.MissionHandle handle)
Description copied from interface: MissionControl
Return the status of the mission associated with that handle.

Specified by:
getMissionStatus in interface MissionControl
Specified by:
getMissionStatus in class SocketMissionControlTemplate

startMission

protected void startMission(mission.Mission mission)

startMoveMission

protected void startMoveMission(mission.MoveMission mission)

main

public static void main(String[] args)

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.