Package org.sdnplatform.sync.thrift

Examples of org.sdnplatform.sync.thrift.GetRequestMessage$GetRequestMessageStandardSchemeFactory


    // *************************

    @Override
    public List<Versioned<byte[]>> get(ByteArray key) throws SyncException {
        StoreUtils.assertValidKey(key);
        GetRequestMessage grm = new GetRequestMessage();

        AsyncMessageHeader header = new AsyncMessageHeader();
        header.setTransactionId(syncManager.getTransactionId());
        grm.setHeader(header);

        grm.setKey(key.get());
        grm.setStoreName(storeName);
       
        SyncMessage bsm = new SyncMessage(MessageType.GET_REQUEST);
        bsm.setGetRequest(grm);

        SyncReply reply = getReply(header.getTransactionId(), bsm);
View Full Code Here

TOP

Related Classes of org.sdnplatform.sync.thrift.GetRequestMessage$GetRequestMessageStandardSchemeFactory

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.