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
-
InetConnection(String, int)
- Creates a new instance of the internet connection class.
-
closeInternet()
- Closes the connection to the Internet
-
isActive()
- Access method for the connection state.
-
openInternet()
- Opens the connection to the Internet
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
isActive
public boolean isActive()
- Access method for the connection state.
- Returns:
- Whether the conenction to the Internet is open or not.
openInternet
void openInternet()
- Opens the connection to the Internet
closeInternet
void closeInternet()
- Closes the connection to the Internet
All Packages Class Hierarchy This Package Previous Next Index