public class SRBConnection extends Connection
Constructor and Description |
---|
SRBConnection(Connector connector,
Map keys,
edu.sdsc.grid.io.srb.SRBFile rootFile) |
Modifier and Type | Method and Description |
---|---|
Branch |
getRoot()
Returns the root of the remote filesystem provided by this connection.
|
boolean |
isConnected()
Indicates whether this connection is currently up and running.
|
void |
logOut()
Closes this connection.
|
getAuthValue, getConnector, setLogoutOnExit, toString
public SRBConnection(Connector connector, Map keys, edu.sdsc.grid.io.srb.SRBFile rootFile) throws IOException
IOException
public Branch getRoot()
Connection
getRoot
in class Connection
public boolean isConnected()
Connection
Connection.logOut()
has been called,
but it's possible that the connection may expire for some reason
before that.isConnected
in class Connection
public void logOut() throws IOException
Connection
logOut
in class Connection
IOException
- if something went wrongCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.