/* * Copyright © 2017 AT&T and others. All rights reserved. * * This program and the accompanying materials are made available under the * 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.transportpce.renderer.listeners; import org.opendaylight.yang.gen.v1.http.org.openroadm.tca.rev161014.OrgOpenroadmTcaListener; import org.opendaylight.yang.gen.v1.http.org.openroadm.tca.rev161014.TcaNotification; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class TcaListener implements OrgOpenroadmTcaListener { private static final Logger LOG = LoggerFactory.getLogger(OrgOpenroadmTcaListener.class); /** * Callback for tca-notification. * * @param notification TcaNotification object */ @Override public void onTcaNotification(TcaNotification notification) { LOG.info("Notification {} received {}", TcaNotification.QNAME, notification); } }