All Packages Class Hierarchy This Package Previous Next Index
Class jive.erlang.ERuntime
java.lang.Object
|
+----jive.erlang.ERuntime
- public class ERuntime
- extends Object
ERuntime prvovides the hooks into the runtime system of the client
Jive environment.
The class is instanciated only once for each Applet. To retreive the runtime
environment for an applet use: ERuntime.getRuntime();
The Runtime currently only stores the ESock class used for the socket
communication with the Jive server.
- Author:
- Kaj Nygren (kaj@medialab.ericsson.se), Joakim Grebenö (jocke@erix.ericsson.se)
-
getESock()
-
Returns the current ESock object used to communicate with the
Jive server.
-
getRuntime()
- Returns the runtime environment.
-
setESock(String, int)
-
Create a new ESock class that communicates with a given host and port.
getRuntime
public static ERuntime getRuntime()
- Returns the runtime environment.
setESock
protected void setESock(String host,
int port) throws JiveIOException
- Create a new ESock class that communicates with a given host and port.
This method is only called from EApplet when initiating an applet.
- Throws: JiveIOException
- If an Applet is trying to connect to a Jive
server on a port and another Applet in the same thread group is
connected to a Jive server on another port.
getESock
public ESock getESock()
- Returns the current ESock object used to communicate with the
Jive server.
All Packages Class Hierarchy This Package Previous Next Index