All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class calypso.clients.inet.InetConnection

java.lang.Object
   |
   +----calypso.clients.inet.InetConnection

public class InetConnection
extends Object
Maintains the state of a connection to the Internet. This object communicates with the Internet Service Agent in the Calypso node and can request for opening or closing the internet connection.

Version:
$Revision: 1.4 $
Author:
Juhana Räsänen
See Also:
Agent

Constructor Index

 o InetConnection(String, int)
Creates a new instance of the internet connection class.

Method Index

 o closeInternet()
Closes the connection to the Internet
 o isActive()
Access method for the connection state.
 o openInternet()
Opens the connection to the Internet

Constructors

 o InetConnection
 InetConnection(String serverHost_,
                int rmiPort_)
Creates a new instance of the internet connection class.

Parameters:
serverHost_ - FQDN of the local Calypso node
rmiPort_ - RMI port number of the local Calypso node

Methods

 o isActive
 public boolean isActive()
Access method for the connection state.

Returns:
Whether the conenction to the Internet is open or not.
 o openInternet
 void openInternet()
Opens the connection to the Internet

 o closeInternet
 void closeInternet()
Closes the connection to the Internet


All Packages  Class Hierarchy  This Package  Previous  Next  Index