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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
missions
protected final Map missions
- Stores the mapping between
SocketMissionControl.SimpleMissionHandle and Mission.
SocketMissionControl
public SocketMissionControl(int port)
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)
To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.