All Packages Class Hierarchy This Package Previous Next Index
Class Jaja.NetWorld
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteObject
|
+----Jaja.NetWorld
- public class NetWorld
- extends UnicastRemoteObject
- implements WorldAble
-
worldsURLname
- A published world has an URL that looks like:
rmi://localhost:1099/Jaja/
-
worldURL
-
-
NetWorld(String)
- Create a NetWorld and publish it in the registry.
-
NetWorld(World)
- Encapsulate an existing world into a remote world.
-
createEvaluation(String, DynamicEnvironment)
-
-
createEvaluation(Value, DynamicEnvironment)
-
-
findPublishedWorld(String)
-
-
getEnvironment()
-
-
getMacroWorld()
-
-
getName()
-
-
getURL()
- Return the URL where the world may be remotely accessed.
-
main(String[])
- Start a NetWorld ready to be bound to some Listener.
-
publish()
- Publish a World on the net in the registry.
-
setEnvironment(Environment)
-
-
setMacroWorld(WorldAble)
-
-
toString()
-
worldURL
protected URL worldURL
worldsURLname
public static final String worldsURLname
- A published world has an URL that looks like:
rmi://localhost:1099/Jaja/
NetWorld
public NetWorld(String name) throws RemoteException
- Create a NetWorld and publish it in the registry.
NetWorld
public NetWorld(World world) throws RemoteException
- Encapsulate an existing world into a remote world. Do not publish it.
publish
public URL publish()
- Publish a World on the net in the registry. Return the complete
URL towards the published world.
findPublishedWorld
public static WorldAble findPublishedWorld(String us)
getURL
public URL getURL()
- Return the URL where the world may be remotely accessed. This
forces the world to be published. b
main
public static void main(String argv[])
- Start a NetWorld ready to be bound to some Listener.
toString
public String toString()
- Overrides:
- toString in class RemoteObject
getName
public String getName() throws RemoteException
getEnvironment
public Environment getEnvironment() throws RemoteException
setEnvironment
public void setEnvironment(Environment env) throws RemoteException
getMacroWorld
public WorldAble getMacroWorld() throws RemoteException
setMacroWorld
public void setMacroWorld(WorldAble w) throws RemoteException
createEvaluation
public EvaluationAble createEvaluation(Value program,
DynamicEnvironment denv) throws RemoteException
createEvaluation
public EvaluationAble createEvaluation(String program,
DynamicEnvironment denv) throws RemoteException
All Packages Class Hierarchy This Package Previous Next Index