org.fusesource.hawtbuf.proto
Interface PBMessageFactory<Bean extends PBMessage,Buffer extends MessageBuffer>
public interface PBMessageFactory<Bean extends PBMessage,Buffer extends MessageBuffer>
- Author:
- Hiram Chirino
create
Bean create()
parseUnframed
Bean parseUnframed(CodedInputStream data)
throws InvalidProtocolBufferException,
IOException
- Throws:
InvalidProtocolBufferException
IOException
parseUnframed
Bean parseUnframed(InputStream data)
throws InvalidProtocolBufferException,
IOException
- Throws:
InvalidProtocolBufferException
IOException
parseUnframed
Buffer parseUnframed(Buffer data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
parseUnframed
Buffer parseUnframed(byte[] data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
parseFramed
Buffer parseFramed(CodedInputStream data)
throws InvalidProtocolBufferException,
IOException
- Throws:
InvalidProtocolBufferException
IOException
parseFramed
Buffer parseFramed(Buffer data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
parseFramed
Buffer parseFramed(byte[] data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
parseFramed
Buffer parseFramed(InputStream data)
throws InvalidProtocolBufferException,
IOException
- Throws:
InvalidProtocolBufferException
IOException
Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.