Package org.xtreemfs.foundation.pbrpc.utils

Examples of org.xtreemfs.foundation.pbrpc.utils.ReusableBufferInputStream


   
    public void deserializeMessage(Message message) throws IOException {
        final ReusableBuffer payload = rpcRequest.getMessage();
        if (message != null) {
            if (payload != null) {
                ReusableBufferInputStream istream = new ReusableBufferInputStream(payload);
                requestMessage = message.newBuilderForType().mergeFrom(istream).build();
                if (Logging.isDebug()) {
                    Logging.logMessage(Logging.LEVEL_DEBUG, this, "parsed request: %s",requestMessage.toString());
                }
            } else {
View Full Code Here

TOP

Related Classes of org.xtreemfs.foundation.pbrpc.utils.ReusableBufferInputStream

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.