2 * Copyright (c) 2015 Cisco Systems, Inc. and others. 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.netconf.test.tool.rpchandler;
10 import java.util.Optional;
11 import org.opendaylight.controller.config.util.xml.XmlElement;
12 import org.slf4j.Logger;
13 import org.slf4j.LoggerFactory;
14 import org.w3c.dom.Document;
16 public class RpcHandlerDefault implements RpcHandler {
18 private static final Logger LOG = LoggerFactory.getLogger(RpcHandlerDefault.class);
21 public Optional<Document> getResponse(XmlElement rpcElement) {
22 LOG.info("getResponse: {}", rpcElement.toString());
23 return Optional.empty();