2 * Copyright (c) 2013 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.protocol.pcep.impl;
10 import org.opendaylight.protocol.framework.SessionPreferences;
11 import org.opendaylight.protocol.pcep.PCEPSessionPreferences;
12 import org.opendaylight.protocol.pcep.PCEPSessionProposalChecker;
13 import org.opendaylight.protocol.pcep.object.PCEPOpenObject;
18 public class SimpleSessionProposalChecker extends PCEPSessionProposalChecker {
21 public Boolean checkSessionCharacteristics(SessionPreferences openObj) {
26 public PCEPSessionPreferences getNewProposal(SessionPreferences open) {
27 return new PCEPSessionPreferences(new PCEPOpenObject(1, 1, 0, null));