public interface PBMessageFactory<Bean extends PBMessage,Buffer extends MessageBuffer>
Modifier and Type | Method and Description |
---|---|
Bean |
create() |
Buffer |
parseFramed(Buffer data) |
Buffer |
parseFramed(byte[] data) |
Buffer |
parseFramed(CodedInputStream data) |
Buffer |
parseFramed(InputStream data) |
Buffer |
parseUnframed(Buffer data) |
Buffer |
parseUnframed(byte[] data) |
Bean |
parseUnframed(CodedInputStream data) |
Bean |
parseUnframed(InputStream data) |
Bean create()
Bean parseUnframed(CodedInputStream data) throws InvalidProtocolBufferException, IOException
Bean parseUnframed(InputStream data) throws InvalidProtocolBufferException, IOException
Buffer parseUnframed(Buffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
Buffer parseUnframed(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
Buffer parseFramed(CodedInputStream data) throws InvalidProtocolBufferException, IOException
Buffer parseFramed(Buffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
Buffer parseFramed(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
Buffer parseFramed(InputStream data) throws InvalidProtocolBufferException, IOException
Copyright © 2010–2021 FuseSource, Corp.. All rights reserved.