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.streams;
11 * Interface for session handler that is responsible for sending of data over established session.
13 public interface StreamSessionHandler {
15 * Identification of created session.
17 boolean isConnected();
20 * Interface for sending String message through one of implementation.
22 * @param data Message data to be send.
24 void sendDataMessage(String data);