Merge "Bug 509: Fixed incorrect merging of Data Store Writes / Events"
[controller.git] / opendaylight / netconf / netconf-api / src / main / java / org / opendaylight / controller / netconf / api / NetconfClientSessionPreferences.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 NetconfClientSessionPreferences extends NetconfSessionPreferences {
15
16     private final NetconfMessage startExiMessage;
17
18     public NetconfClientSessionPreferences(final NetconfMessage helloMessage,
19                                      final NetconfMessage startExiMessage) {
20         super(helloMessage);
21         this.startExiMessage = startExiMessage;
22     }
23
24     /**
25      * @return the startExiMessage
26      */
27     public NetconfMessage getStartExiMessage() {
28         return startExiMessage;
29     }
30 }