* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.netconf.impl.mapping.operations;
+package org.opendaylight.netconf.server.mapping.operations;
import org.opendaylight.netconf.api.xml.XmlElement;
import org.opendaylight.netconf.api.xml.XmlNetconfConstants;
import org.opendaylight.netconf.api.xml.XmlUtil;
-import org.opendaylight.netconf.impl.NetconfServerSession;
+import org.opendaylight.netconf.server.NetconfServerSession;
import org.opendaylight.netconf.util.mapping.AbstractSingletonNetconfOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private static final Logger LOG = LoggerFactory
.getLogger(DefaultStopExi.class);
- public DefaultStopExi(String netconfSessionIdForReporting) {
+ public DefaultStopExi(final String netconfSessionIdForReporting) {
super(netconfSessionIdForReporting);
}
@Override
- protected Element handleWithNoSubsequentOperations(Document document,
- XmlElement operationElement) {
+ protected Element handleWithNoSubsequentOperations(final Document document, final XmlElement operationElement) {
LOG.debug("Received stop-exi message {} ", XmlUtil.toString(operationElement));
netconfSession.stopExiCommunication();
}
@Override
- public void setNetconfSession(NetconfServerSession netconfServerSession) {
- this.netconfSession = netconfServerSession;
+ public void setNetconfSession(final NetconfServerSession netconfServerSession) {
+ netconfSession = netconfServerSession;
}
}