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)

Method Index

 o getESock()
Returns the current ESock object used to communicate with the Jive server.
 o getRuntime()
Returns the runtime environment.
 o setESock(String, int)
Create a new ESock class that communicates with a given host and port.

Methods

 o getRuntime
 public static ERuntime getRuntime()
Returns the runtime environment.

 o 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.
 o 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