public final class CoreStreamMessageWrapper extends CoreMessageWrapper
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
message| Constructor and Description |
|---|
CoreStreamMessageWrapper(ICoreMessage message) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
org.apache.qpid.proton.amqp.messaging.Section |
createAMQPSection(Map<org.apache.qpid.proton.amqp.Symbol,Object> maMap,
org.apache.qpid.proton.amqp.messaging.Properties properties) |
void |
decode() |
void |
encode()
Encode the body into the internal message
|
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] value) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
Object |
readObject() |
short |
readShort() |
String |
readString() |
void |
reset() |
void |
writeBoolean(boolean value) |
void |
writeByte(byte value) |
void |
writeBytes(byte[] value) |
void |
writeBytes(byte[] value,
int offset,
int length) |
void |
writeChar(char value) |
void |
writeDouble(double value) |
void |
writeFloat(float value) |
void |
writeInt(int value) |
void |
writeLong(long value) |
void |
writeObject(Object value) |
void |
writeShort(short value) |
void |
writeString(String value) |
clearProperties, getBooleanProperty, getByteProperty, getDestination, getDoubleProperty, getExpiration, getFloatProperty, getInnerMessage, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSMessageID, getJMSPriority, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getOrignalEncoding, getPropertyNames, getReadBodyBuffer, getShortProperty, getStringProperty, getWriteBodyBuffer, propertyExists, setBooleanProperty, setByteProperty, setDeliveryMode, setDestination, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, wrappublic static final byte TYPE
public CoreStreamMessageWrapper(ICoreMessage message)
public org.apache.qpid.proton.amqp.messaging.Section createAMQPSection(Map<org.apache.qpid.proton.amqp.Symbol,Object> maMap, org.apache.qpid.proton.amqp.messaging.Properties properties) throws ConversionException
createAMQPSection in class CoreMessageWrapperConversionExceptionpublic boolean readBoolean()
throws MessageEOFException,
ConversionException
public byte readByte()
throws MessageEOFException,
ConversionException
public short readShort()
throws MessageEOFException,
ConversionException
public char readChar()
throws MessageEOFException,
ConversionException
public int readInt()
throws MessageEOFException,
ConversionException
public long readLong()
throws ConversionException,
MessageEOFException
public float readFloat()
throws ConversionException,
MessageEOFException
public double readDouble()
throws ConversionException,
MessageEOFException
public String readString() throws ConversionException, MessageEOFException
public int readBytes(byte[] value)
throws ConversionException,
MessageEOFException
public Object readObject() throws ConversionException, MessageEOFException
public void writeBoolean(boolean value)
public void writeByte(byte value)
public void writeShort(short value)
public void writeChar(char value)
public void writeInt(int value)
public void writeLong(long value)
public void writeFloat(float value)
public void writeDouble(double value)
public void writeString(String value)
public void writeBytes(byte[] value)
public void writeBytes(byte[] value,
int offset,
int length)
public void writeObject(Object value) throws ConversionException
ConversionExceptionpublic void reset()
public void clearBody()
clearBody in class CoreMessageWrapperpublic void decode()
decode in class CoreMessageWrapperpublic void encode()
CoreMessageWrapperencode in class CoreMessageWrapperCopyright © 2021 The Apache Software Foundation. All rights reserved.