de.jreality.util
Class BSHServer
java.lang.Object
de.jreality.util.BSHServer
public class BSHServer
- extends Object
This class opens a ServerSocket and accepts connections.
The received input is passed to a ReaderBSH instance.
This class implements LoadableScene, so it can be plugged into a viewer.
TODO: stop doesn't work yet.
- Author:
- weissman
Constructor Summary |
BSHServer(int port)
create a bsh server listening to the given port |
BSHServer
public BSHServer(int port)
throws Exception
- create a bsh server listening to the given port
- Parameters:
port
- the port to listen
- Throws:
Exception
- if IO failes or bsh failes
finish
public void finish()
setConfiguration
public void setConfiguration(ConfigurationAttributes config)
makeWorld
public SceneGraphComponent makeWorld()
getSignature
public int getSignature()
customize
public void customize(JMenuBar menuBar,
Viewer viewer)