ee3672ae27db68183b608beaa27ce9b4ccf942cf
[bgpcep.git] / pcep / testtool / src / main / java / org / opendaylight / protocol / pcep / testtool / TestingSessionListenerFactory.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 package org.opendaylight.protocol.pcep.testtool;
9
10 import java.net.InetAddress;
11
12 import org.opendaylight.protocol.pcep.PCEPSessionListener;
13 import org.opendaylight.protocol.pcep.PCEPSessionListenerFactory;
14
15 /**
16  *
17  */
18 public class TestingSessionListenerFactory extends PCEPSessionListenerFactory {
19
20         public TestingSessionListenerFactory() {
21
22         }
23
24         @Override
25         public PCEPSessionListener getSessionListener(final InetAddress address) {
26                 return new TestingSessionListener();
27         }
28
29 }