demo.rraBattleScene
Class BridgeServer

java.lang.Object
  |
  +--demo.rraBattleScene.BridgeServer

public class BridgeServer
extends java.lang.Object

Takes requests for sonar pings from BattleScene and passes them to PingServer, then receives VRML from the PingServer and returns it to BattleScene.

Since calculation of numerous ray trajectories is extremely time intensive, rendering and ray tracing need to be on separate computers. This provides an interface from the rendering methods to the ray tracing methods. The use of this intermediate bridge avoids the security issues that are present in most browsers.

Version:
1.0

Author:
LT Timothy M. Holliday (www.stl.nps.navy.mil/~auv/holliday)

Contact: Don Brutzman (www.stl.nps.navy.mil/~auv/brutzman) brutzman@nps.navy.mil

Source Code:
~/mil/navy/nps/rra/BridgeServer.java
http://www.stl.nps.navy.mil/dis-java-vrml/mil/navy/nps/rra/BridgeServer.java

Hierarchy Diagram     Coordinate Systems

History:
15 Nov 97 Timothy M. Holliday New
17 Mar 98 Timothy M. Holliday Added HTML comment convention
9 Oct 98 Don Brutzman Javadoc updates for jdk1.2b4

Reference:
Holliday, Timothy, Real-Time 3D Sonar Modeling and Visualization, Master's Thesis, Naval Postgraduate School, Monterey California, June 1998.

See Also:
PingServer, BattleScene

Field Summary
static float DETECT_BEAM
           
static float DETECT_BOTH
           
static float DETECT_TARGETS
           
static java.lang.String HOST
           
static java.io.DataInputStream in
           
static java.io.PrintStream out
           
static int PORT
           
static int REMOTE_PORT
           
static java.io.DataInputStream remoteIn
           
static java.io.DataOutputStream remoteOut
           
static float SET_SONAR_PARAMETERS
           
 
Constructor Summary
BridgeServer()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT

public static final int PORT

REMOTE_PORT

public static final int REMOTE_PORT

SET_SONAR_PARAMETERS

public static final float SET_SONAR_PARAMETERS

DETECT_TARGETS

public static final float DETECT_TARGETS

DETECT_BEAM

public static final float DETECT_BEAM

DETECT_BOTH

public static final float DETECT_BOTH

remoteIn

public static java.io.DataInputStream remoteIn

remoteOut

public static java.io.DataOutputStream remoteOut

in

public static java.io.DataInputStream in

out

public static java.io.PrintStream out

HOST

public static final java.lang.String HOST
Constructor Detail

BridgeServer

public BridgeServer()