Package org.sdnplatform.sync.thrift

Examples of org.sdnplatform.sync.thrift.RegisterRequestMessage$RegisterRequestMessageTupleScheme


    private void doRegisterStore(String storeName, Scope scope, boolean b)
            throws SyncException{

        ensureConnected();
        RegisterRequestMessage rrm = new RegisterRequestMessage();
        AsyncMessageHeader header = new AsyncMessageHeader();
        header.setTransactionId(getTransactionId());
        rrm.setHeader(header);
       
        Store store = new Store(storeName);
        store.setScope(TProtocolUtil.getTScope(scope));
        store.setPersist(false);
        rrm.setStore(store);
       
        SyncMessage bsm = new SyncMessage(MessageType.REGISTER_REQUEST);
        bsm.setRegisterRequest(rrm);
        Future<SyncReply> future =
                sendRequest(header.getTransactionId(), bsm);
View Full Code Here

TOP

Related Classes of org.sdnplatform.sync.thrift.RegisterRequestMessage$RegisterRequestMessageTupleScheme

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.