Remove netconf from commons/opendaylight pom
[controller.git] / opendaylight / netconf / netconf-api / src / main / java / org / opendaylight / controller / netconf / api / NetconfServerSessionPreferences.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.controller.netconf.api;
10
11 /**
12  * The only input for the start of a NETCONF session is hello-message.
13  */
14 public final class NetconfServerSessionPreferences extends NetconfSessionPreferences {
15
16     private final long sessionId;
17
18     public NetconfServerSessionPreferences(final NetconfMessage helloMessage,
19                                            long sessionId) {
20         super(helloMessage);
21         this.sessionId = sessionId;
22     }
23
24     public long getSessionId() {
25         return sessionId;
26     }
27 }