|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRemoteConnectionManager
Interface for managing connections to remote systems.
| Field Summary | |
|---|---|
static java.lang.String |
LOCAL_CONNECTION_NAME
The name of the connection for local services. |
| Method Summary | |
|---|---|
IRemoteConnection |
getConnection(java.lang.String name)
Gets the remote connection corresponding to the supplied name. |
IRemoteConnection |
getConnection(java.net.URI uri)
Gets the remote connection corresponding to the supplied URI. |
IRemoteConnection[] |
getConnections()
Get all the connections for this service provider. |
IRemoteConnection |
newConnection(java.lang.String name)
Creates a new remote connection named with supplied name. |
void |
removeConnection(IRemoteConnection connection)
Remove a connection and all resources associated with it. |
| Field Detail |
|---|
static final java.lang.String LOCAL_CONNECTION_NAME
| Method Detail |
|---|
IRemoteConnection getConnection(java.lang.String name)
name - name of the connection (as returned by IRemoteConnection.getName())
IRemoteConnection getConnection(java.net.URI uri)
uri - URI containing a schema for this remote connection
IRemoteConnection[] getConnections()
IRemoteConnection newConnection(java.lang.String name)
throws RemoteConnectionException
name - name of the connection
RemoteConnectionException - if connection creation failed
void removeConnection(IRemoteConnection connection)
throws RemoteConnectionException
connection - connection to remove
RemoteConnectionException - if the connection could not be removed
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||