org.fusesource.hawtbuf.proto
Interface Message<T>
- All Known Implementing Classes:
- BaseMessage, DeferredDecodeMessage
public interface Message<T>
clone
T clone()
throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
serializedSizeUnframed
int serializedSizeUnframed()
serializedSizeFramed
int serializedSizeFramed()
clear
void clear()
assertInitialized
T assertInitialized()
throws UninitializedMessageException
- Throws:
UninitializedMessageException
mergeFrom
T mergeFrom(T other)
mergeUnframed
T mergeUnframed(byte[] data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
mergeFramed
T mergeFramed(byte[] data)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
mergeUnframed
T mergeUnframed(Buffer buffer)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
mergeFramed
T mergeFramed(Buffer buffer)
throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
mergeUnframed
T mergeUnframed(InputStream input)
throws IOException
- Throws:
IOException
mergeFramed
T mergeFramed(InputStream input)
throws IOException
- Throws:
IOException
mergeUnframed
T mergeUnframed(CodedInputStream input)
throws IOException
- Throws:
IOException
mergeFramed
T mergeFramed(CodedInputStream input)
throws IOException
- Throws:
IOException
toUnframedBuffer
Buffer toUnframedBuffer()
toFramedBuffer
Buffer toFramedBuffer()
toUnframedByteArray
byte[] toUnframedByteArray()
toFramedByteArray
byte[] toFramedByteArray()
writeUnframed
void writeUnframed(CodedOutputStream output)
throws IOException
- Throws:
IOException
writeFramed
void writeFramed(CodedOutputStream output)
throws IOException
- Throws:
IOException
writeUnframed
void writeUnframed(OutputStream output)
throws IOException
- Throws:
IOException
writeFramed
void writeFramed(OutputStream output)
throws IOException
- Throws:
IOException
Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.