moved BGP Table type from concepts to parser-api.
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / BGPUpdateSynchronizedImpl.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.bgp.rib.impl;
9
10 import org.opendaylight.protocol.bgp.parser.BGPTableType;
11 import org.opendaylight.protocol.bgp.parser.BGPUpdateSynchronized;
12
13
14 /**
15  *
16  */
17 public class BGPUpdateSynchronizedImpl implements BGPUpdateSynchronized {
18
19         private static final long serialVersionUID = -3574952849467738325L;
20
21         private final BGPTableType tt;
22
23         public BGPUpdateSynchronizedImpl(final BGPTableType tt) {
24                 this.tt = tt;
25         }
26
27         @Override
28         public BGPTableType getTableType() {
29                 return this.tt;
30         }
31 }