|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.cog.gridface.impl.directorybrowser.ConnectionObjectImpl
| Constructor Summary | |
ConnectionObjectImpl(StatusListener statusListener,
GridCommandManager gcm)
|
|
| Method Summary | |
GridCommand |
close()
Call when browser window is closed. |
GridCommand |
connect(String protocol,
String host,
String port)
Connect to the specified server and port. |
GridCommand |
disConnect()
Close the connection. |
GridCommandManager |
getGcm()
|
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 sessionId)
|
void |
setUsername(String username)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConnectionObjectImpl(StatusListener statusListener,
GridCommandManager gcm)
| Method Detail |
public GridCommandManager getGcm()
public void setSessionId(Identity sessionId)
setSessionId in interface ConnectionObjectpublic Identity getSessionId()
getSessionId in interface ConnectionObjectpublic String getHost()
ConnectionObject
getHost in interface ConnectionObjectpublic void setHost(String host)
ConnectionObject
setHost in interface ConnectionObjectpublic String getPort()
ConnectionObject
getPort in interface ConnectionObjectpublic void setPort(String port)
ConnectionObject
setPort in interface ConnectionObjectpublic String getProtocol()
ConnectionObject
getProtocol in interface ConnectionObjectpublic void setProtocol(String protocol)
ConnectionObject
setProtocol in interface ConnectionObjectpublic String getSecurityContext()
ConnectionObject
getSecurityContext in interface ConnectionObjectpublic void setSecurityContext(String port)
ConnectionObject
setSecurityContext in interface ConnectionObject
public GridCommand connect(String protocol,
String host,
String port)
throws Exception
connect in interface ConnectionObjecthost - The server to connect to.port - The port to connect to.
Exceptionpublic GridCommand disConnect()
ConnectionObject
disConnect in interface ConnectionObject
public GridCommand reConnect()
throws Exception
ConnectionObject
reConnect in interface ConnectionObjectExceptionpublic GridCommand close()
ConnectionObject
close in interface ConnectionObjectpublic void getProxy()
ConnectionObject
getProxy in interface ConnectionObjectpublic void setProxy()
ConnectionObject
setProxy in interface ConnectionObjectpublic void setUsername(String username)
setUsername in interface ConnectionObjectpublic void setPassword(String password)
setPassword in interface ConnectionObject
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||