public interface BackendConnectionManager extends ConnectionManager
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all connections and listening bindings of the connection manager.
|
P2PConnection |
getConnectionToHost(java.lang.String hostId)
Returns the point-to-point connection to a particular mPRM backend host.
|
P2PConnection |
getConnectionToHostRole(java.lang.String hostRole)
Returns a point-to-point connection to a mPRM backend host with specified mPRM Role - CC, RAS,
specific Management Server.
|
P2PConnection |
getConnectionToMS(java.lang.String managedContext)
Returns a point-to-point connection to a mPRM backend host which participates in a Management
Server responsible for managing the supplied context.
|
void |
listen(java.lang.String serverURL)
Bounds the the Connection Framework to the supplied local URL where it will
listen for incoming network requests.
|
void |
listen(java.lang.String[] serverURLs)
Similar to the
listen(String serverURL), but binds the the Connection Framework to
more than one local ports (tipically often different network protocols). |
addConnectionOpenListener, getConnections, openConnection, removeConnectionOpenListener, setNetServicevoid listen(java.lang.String serverURL)
throws java.io.IOException
serverURL - the server side url. For example socket://:11449.java.io.IOException - if the local port specified by the url could not be opened
or the network protocol transport specified in the scheme of the URL is
not available.void listen(java.lang.String[] serverURLs)
throws java.io.IOException
listen(String serverURL), but binds the the Connection Framework to
more than one local ports (tipically often different network protocols).serverURLs - an array of the server side urls.java.io.IOException - if the local port specified by the url could not be opened
or the network protocol transport specified in the scheme of the URL is
not available.void close()
P2PConnection getConnectionToHost(java.lang.String hostId) throws java.io.IOException
hostId - the mPRM Backend Host identifier.java.io.IOExceptionP2PConnection getConnectionToHostRole(java.lang.String hostRole) throws java.io.IOException
hostRole - the role identifier.java.io.IOExceptionP2PConnection getConnectionToMS(java.lang.String managedContext) throws java.io.IOException
managedContext - the path of the group from the gateways group hierarchy.java.io.IOExceptionCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.