public interface IRemoteServicesManager
Modifier and Type | Method and Description |
---|---|
void |
addRemoteConnectionChangeListener(IRemoteConnectionChangeListener listener)
Add a global connection change listener that receives events for all connections.
|
void |
fireRemoteConnectionChangeEvent(RemoteConnectionChangeEvent event)
Used by connections and other components to notify the global connection
change listeners of events.
|
java.util.List<IRemoteConnectionType> |
getAllConnectionTypes()
Returns the list of all connection types including the local services.
|
java.util.List<IRemoteConnection> |
getAllRemoteConnections()
Returns the list of all known remote connections.
|
IRemoteConnectionType |
getConnectionType(java.lang.String id)
Get the connection type identified by the id
|
IRemoteConnectionType |
getConnectionType(java.net.URI uri)
Get the connection type that provides connections to locations identified by
the URI.
|
java.util.List<IRemoteConnectionType> |
getConnectionTypesByService(java.lang.Class<? extends IRemoteConnectionType.Service>... services)
Returns the list of all connection types that provide specific services.
|
java.util.List<IRemoteConnectionType> |
getConnectionTypesSupporting(java.lang.Class<? extends IRemoteConnection.Service>... services)
Returns the list of all connection types that support connections that provide specific services.
|
IRemoteConnectionType |
getLocalConnectionType()
Return the connection type used to access local resources.
|
java.util.List<IRemoteConnectionType> |
getRemoteConnectionTypes()
Returns the list of connection types except for the local connection type.
|
void |
removeRemoteConnectionChangeListener(IRemoteConnectionChangeListener listener)
Remove the global connection change listener.
|
IRemoteConnectionType getConnectionType(java.lang.String id)
id
- id of the connection typeIRemoteConnectionType getConnectionType(java.net.URI uri)
uri
- uri of locations to be accessedIRemoteConnectionType getLocalConnectionType()
java.util.List<IRemoteConnectionType> getAllConnectionTypes()
java.util.List<IRemoteConnectionType> getConnectionTypesSupporting(java.lang.Class<? extends IRemoteConnection.Service>... services)
services
- services provided by connections supported by this connection typejava.util.List<IRemoteConnectionType> getConnectionTypesByService(java.lang.Class<? extends IRemoteConnectionType.Service>... services)
services
- services provided by this connection typejava.util.List<IRemoteConnectionType> getRemoteConnectionTypes()
java.util.List<IRemoteConnection> getAllRemoteConnections()
void addRemoteConnectionChangeListener(IRemoteConnectionChangeListener listener)
listener
- global connection change listener to be addedvoid removeRemoteConnectionChangeListener(IRemoteConnectionChangeListener listener)
listener
- global connection change listener to be removedvoid fireRemoteConnectionChangeEvent(RemoteConnectionChangeEvent event)
event
- connection change event