027c8e6ba625679023ed893b7e55438486d8b6e0
[bgpcep.git] / pcep / testtool / src / main / java / org / opendaylight / protocol / pcep / testtool / SessionListenerFactory.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 SessionListenerFactory extends PCEPSessionListenerFactory {
19
20         @Override
21         public PCEPSessionListener getSessionListener(InetAddress address) {
22                 return new SimpleSessionListener();
23         }
24 }