Long getRemoteConnectionId() { return hostInfo.getRemoteConnectionId(); }
Long getRemoteConnectionId() { return hostInfo.getRemoteConnectionId(); }
Long getRemoteConnectionId() { return hostInfo.getRemoteConnectionId(); }
/** * Once the "read-domain-mode" operation is in operationPrepared, send the model back to registering HC. * When the model was applied successfully on the client, we process registering the proxy in the domain, * otherwise we rollback. * * @param transaction the model controller tx * @param result the prepared result (domain model) * @throws SlaveRegistrationException */ void registerHost(final ModelController.OperationTransaction transaction, final ModelNode result) throws SlaveRegistrationException { // if (sendResultToHost(transaction, result)) return; synchronized (this) { Long pingPongId = hostInfo.getRemoteConnectionId(); // Register the slave domainController.registerRemoteHost(hostName, handler, transformers, pingPongId, registerProxyController); // Complete registration if(! failed) { transaction.commit(); } else { transaction.rollback(); return; } } if (registerProxyController) { DOMAIN_LOGGER.registeredRemoteSlaveHost(hostName, hostInfo.getPrettyProductName()); } }
/** * Once the "read-domain-mode" operation is in operationPrepared, send the model back to registering HC. * When the model was applied successfully on the client, we process registering the proxy in the domain, * otherwise we rollback. * * @param transaction the model controller tx * @param result the prepared result (domain model) * @throws SlaveRegistrationException */ void registerHost(final ModelController.OperationTransaction transaction, final ModelNode result) throws SlaveRegistrationException { // if (sendResultToHost(transaction, result)) return; synchronized (this) { Long pingPongId = hostInfo.getRemoteConnectionId(); // Register the slave domainController.registerRemoteHost(hostName, handler, transformers, pingPongId, registerProxyController); // Complete registration if(! failed) { transaction.commit(); } else { transaction.rollback(); return; } } if (registerProxyController) { DOMAIN_LOGGER.registeredRemoteSlaveHost(hostName, hostInfo.getPrettyProductName()); } }
Long pingPongId = hostInfo.getRemoteConnectionId();