2 * Copyright (c) 2020 Lumina Networks, Inc. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.restconf.nb.rfc8040;
10 import java.util.List;
11 import javax.inject.Inject;
12 import javax.inject.Singleton;
13 import org.opendaylight.mdsal.dom.api.DOMMountPointService;
14 import org.opendaylight.restconf.nb.rfc8040.handlers.SchemaContextHandler;
15 import org.opendaylight.restconf.nb.rfc8040.rests.services.api.RestconfDataStreamService;
18 * Restconf Application extends {@link AbstractRestconfApplication}. Is used for sending SSE.
21 public class DataStreamApplication extends AbstractRestconfApplication {
23 public DataStreamApplication(final SchemaContextHandler schemaContextHandler,
24 final DOMMountPointService mountPointService, final RestconfDataStreamService dataStreamService) {
25 super(schemaContextHandler, mountPointService, List.of(dataStreamService));