org.globus.cog.gridface.interfaces
Interface ConnectionObject

All Known Subinterfaces:
FileTransferObject
All Known Implementing Classes:
ConnectionObjectImpl, FileTransferObjectImpl

public interface ConnectionObject


Method Summary
 GridCommand close()
          Call when browser window is closed.
 GridCommand connect(String protocol, String host, String port)
          Make a new connection *
 GridCommand disConnect()
          Close the connection.
 String getHost()
          Get Hostname of the underlying client
 String getPort()
          Get Port of the underlying client
 String getProtocol()
          Set the protocol for the underlying connection
 void getProxy()
          Get Proxy for this connection
 String getSecurityContext()
          Get Port of the underlying client
 Identity getSessionId()
           
 GridCommand reConnect()
          reconnect the connection *
 void setHost(String host)
          Set the hostname for the underlying connection
 void setPassword(String password)
           
 void setPort(String port)
          Set port for the underlying connection
 void setProtocol(String protocol)
          Set the protocl for the underlyging connection
 void setProxy()
          Set proxy for this connection
 void setSecurityContext(String port)
          Set port for the underlying connection
 void setSessionId(Identity identity)
           
 void setUsername(String username)
           
 

Method Detail

setSessionId

public void setSessionId(Identity identity)

getSessionId

public Identity getSessionId()

setUsername

public void setUsername(String username)

setPassword

public void setPassword(String password)

getHost

public String getHost()
Get Hostname of the underlying client


setHost

public void setHost(String host)
Set the hostname for the underlying connection


getPort

public String getPort()
Get Port of the underlying client


setPort

public void setPort(String port)
Set port for the underlying connection


getProtocol

public String getProtocol()
Set the protocol for the underlying connection


setProtocol

public void setProtocol(String protocol)
Set the protocl for the underlyging connection


getSecurityContext

public String getSecurityContext()
Get Port of the underlying client


setSecurityContext

public void setSecurityContext(String port)
Set port for the underlying connection


connect

public GridCommand connect(String protocol,
                           String host,
                           String port)
                    throws Exception
Make a new connection *

Throws:
Exception

disConnect

public GridCommand disConnect()
Close the connection. Disconnect


reConnect

public GridCommand reConnect()
                      throws Exception
reconnect the connection *

Throws:
Exception

close

public GridCommand close()
Call when browser window is closed. Same as disconnect


getProxy

public void getProxy()
Get Proxy for this connection


setProxy

public void setProxy()
Set proxy for this connection