}
@Override
public void start(final StartContext context) throws StartException {
try {
NetworkServerProvider networkServerProvider = endpointValue.getValue().getConnectionProviderInterface("remote", NetworkServerProvider.class);
RemotingSecurityProvider rsp = securityProviderValue.getValue();
ServerAuthenticationProvider sap = rsp.getServerAuthenticationProvider();
OptionMap.Builder builder = OptionMap.builder();
if (connectorPropertiesOptionMap != null) {
builder.addAll(connectorPropertiesOptionMap);
}
builder.addAll(rsp.getOptionMap());
streamServer = networkServerProvider.createServer(getSocketAddress(), builder.getMap(), sap, rsp.getXnioSsl());
SocketBindingManager sbm = socketBindingManagerValue.getOptionalValue();
if (sbm != null) {
managedBinding = registerSocketBinding(sbm);
}
log.infof("Listening on %s", getSocketAddress());