org.apache.activemq.protobuf
Interface Message<T>
- All Known Implementing Classes:
- BaseMessage, DeferredDecodeMessage
public interface Message<T>
clone
T clone()
throws java.lang.CloneNotSupportedException
- Throws:
java.lang.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(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
mergeFramed
T mergeFramed(java.io.InputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
mergeUnframed
T mergeUnframed(CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
mergeFramed
T mergeFramed(CodedInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
toUnframedBuffer
Buffer toUnframedBuffer()
toFramedBuffer
Buffer toFramedBuffer()
toUnframedByteArray
byte[] toUnframedByteArray()
toFramedByteArray
byte[] toFramedByteArray()
writeUnframed
void writeUnframed(CodedOutputStream output)
throws java.io.IOException
- Throws:
java.io.IOException
writeFramed
void writeFramed(CodedOutputStream output)
throws java.io.IOException
- Throws:
java.io.IOException
writeUnframed
void writeUnframed(java.io.OutputStream output)
throws java.io.IOException
- Throws:
java.io.IOException
writeFramed
void writeFramed(java.io.OutputStream output)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012. All Rights Reserved.