public abstract class DeferredDecodeMessage<T> extends BaseMessage<T>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
decoded |
protected Buffer |
encodedForm |
memoizedSerializedSize| Constructor and Description |
|---|
DeferredDecodeMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
isDecoded() |
boolean |
isEncoded() |
protected void |
load() |
protected void |
loadAndClear() |
T |
mergeFramed(CodedInputStream input) |
T |
mergeUnframed(Buffer data) |
Buffer |
toUnframedBuffer() |
addAll, assertInitialized, checktInitialized, clone, computeGroupSize, computeMessageSize, isInitialized, mergeFramed, mergeFramed, mergeFramed, mergeFrom, mergeUnframed, mergeUnframed, missingFields, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframed, writeUnframedequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmergeUnframed, serializedSizeUnframedprotected Buffer encodedForm
protected boolean decoded
public T mergeFramed(CodedInputStream input) throws java.io.IOException
mergeFramed in interface Message<T>mergeFramed in class BaseMessage<T>java.io.IOExceptionpublic T mergeUnframed(Buffer data) throws InvalidProtocolBufferException
mergeUnframed in interface Message<T>mergeUnframed in class BaseMessage<T>InvalidProtocolBufferExceptionpublic Buffer toUnframedBuffer()
toUnframedBuffer in interface Message<T>toUnframedBuffer in class BaseMessage<T>protected void load()
load in class BaseMessage<T>protected void loadAndClear()
loadAndClear in class BaseMessage<T>public void clear()
public boolean isDecoded()
public boolean isEncoded()
Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.