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.openflowplugin.openflow.md.core;
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.GetFeaturesOutput;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.HelloMessage;
17 public interface HandshakeManager {
20 * @return negotiated version
25 * @return obtained connection features
27 GetFeaturesOutput getFeatures();
30 * @param receivedHello from switch
32 void setReceivedHello(HelloMessage receivedHello);
35 * @param errorHandler the errorHandler to set
37 void setErrorHandler(ErrorHandler errorHandler);
40 * @param handshakeListener the handshakeListener to set
42 void setHandshakeListener(HandshakeListener handshakeListener);
45 * @param isBitmapNegotiationEnable
47 void setUseVersionBitmap(boolean isBitmapNegotiationEnable);
50 * process current handshake step