You can now use SmRestartableDomainManager in place of SmRemoteDomainManager with minimal changes to accommodate it. The benefit of using the SmRestartableDomainManager is that your application does not need to write code to check the status of the remote server and to try to reconnect if the server shuts down and is restarted.
The SmRestartableDomainManager has the ability to reconnect with the remote domain manager when the remote server comes back up.