Package org.openflow.protocol

Examples of org.openflow.protocol.OFBarrierRequest


            .setLengthU(OFSwitchConfig.MINIMUM_LENGTH);
        configSet.setXid(handshakeTransactionIds--);
        msglist.add(configSet);

        // Barrier
        OFBarrierRequest barrier = (OFBarrierRequest) BasicFactory.getInstance()
                .getMessage(OFType.BARRIER_REQUEST);
        barrier.setXid(handshakeTransactionIds--);
        msglist.add(barrier);

        // Verify (need barrier?)
        OFGetConfigRequest configReq = (OFGetConfigRequest)
                BasicFactory.getInstance().getMessage(OFType.GET_CONFIG_REQUEST);
View Full Code Here


            mirrorFlowModValue.toString());
        sw.getOutputStream().write(mirrorFlowModValue);

      }

      OFBarrierRequest ofbr = new OFBarrierRequest();

      ofbr.setXid(2);

      sw.getOutputStream().write(ofbr);

      sw.getOutputStream().flush();
View Full Code Here

TOP

Related Classes of org.openflow.protocol.OFBarrierRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.