|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.renderer.common.input.dis.DISProtocolHandler
public class DISProtocolHandler
The handler for DIS protocol network traffic.
| Field Summary | |
|---|---|
protected static java.lang.String |
DEADRECKON_POSITION_PROP
Property describing the rescalling method to use |
protected static java.lang.String |
DEADRECKON_ROTATION_PROP
Property describing the dead reckon |
protected static boolean |
deadreckonPosition
The value read from the system property for MIPMAPS |
protected static boolean |
deadreckonRotation
The value read from the system property for deadReckonRotation |
protected static boolean |
DEFAULT_DEADRECKON_POSITION
The default dead reckon position value |
protected static boolean |
DEFAULT_DEADRECKON_ROTATION
The default dead reckon position value |
| Constructor Summary | |
|---|---|
DISProtocolHandler()
Create a new instance of the execution space manager to run all the routing. |
|
| Method Summary | |
|---|---|
void |
addNode(VRMLNetworkInterfaceNodeType node)
Add a network node to the management system. |
void |
clear()
Force clearing all currently managed nodes from this manager now. |
java.lang.String |
getProtocol()
Get the protocol this handler supports. |
void |
processNetworkTraffic()
Process network traffic now. |
void |
removeNode(VRMLNetworkInterfaceNodeType node)
Remove a network node from the management system. |
void |
roleChanged(int newRole,
java.lang.Object node)
The role of this node has changed. |
void |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the manager so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. |
void |
shutdown()
Shutdown the protocol handler now. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final boolean DEFAULT_DEADRECKON_POSITION
protected static final java.lang.String DEADRECKON_POSITION_PROP
protected static final boolean deadreckonPosition
protected static final boolean DEFAULT_DEADRECKON_ROTATION
protected static final java.lang.String DEADRECKON_ROTATION_PROP
protected static final boolean deadreckonRotation
| Constructor Detail |
|---|
public DISProtocolHandler()
| Method Detail |
|---|
public java.lang.String getProtocol()
getProtocol in interface NetworkProtocolHandlerpublic void setErrorReporter(ErrorReporter reporter)
setErrorReporter in interface NetworkProtocolHandlerreporter - The instance to use or nullpublic void processNetworkTraffic()
processNetworkTraffic in interface NetworkProtocolHandlerpublic void addNode(VRMLNetworkInterfaceNodeType node)
addNode in interface NetworkProtocolHandlernode - The instance to add to this managerpublic void removeNode(VRMLNetworkInterfaceNodeType node)
removeNode in interface NetworkProtocolHandlernode - The instance to add to this managerpublic void clear()
clear in interface NetworkProtocolHandlerpublic void shutdown()
shutdown in interface NetworkProtocolHandler
public void roleChanged(int newRole,
java.lang.Object node)
roleChanged in interface NetworkRoleListenernewRole - The new role, reader, writer, inactive.node - The node which changed roles.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||