18 #ifndef _CMS_STREAMMESSAGE_H_ 19 #define _CMS_STREAMMESSAGE_H_ 80 virtual ValueType getNextValueType()
const = 0;
92 virtual bool readBoolean()
const = 0;
105 virtual void writeBoolean(
bool value) = 0;
117 virtual unsigned char readByte()
const = 0;
128 virtual void writeByte(
unsigned char value) = 0;
154 virtual int readBytes(std::vector<unsigned char>& value)
const = 0;
166 virtual void writeBytes(
const std::vector<unsigned char>& value) = 0;
199 virtual int readBytes(
unsigned char* buffer,
int length)
const = 0;
215 virtual void writeBytes(
const unsigned char* value,
int offset,
int length) = 0;
227 virtual char readChar()
const = 0;
238 virtual void writeChar(
char value) = 0;
250 virtual float readFloat()
const = 0;
260 virtual void writeFloat(
float value) = 0;
272 virtual double readDouble()
const = 0;
282 virtual void writeDouble(
double value) = 0;
294 virtual short readShort()
const = 0;
305 virtual void writeShort(
short value) = 0;
317 virtual unsigned short readUnsignedShort()
const = 0;
328 virtual void writeUnsignedShort(
unsigned short value) = 0;
340 virtual int readInt()
const = 0;
351 virtual void writeInt(
int value) = 0;
363 virtual long long readLong()
const = 0;
374 virtual void writeLong(
long long value) = 0;
386 virtual std::string readString()
const = 0;
397 virtual void writeString(
const std::string& value) = 0;
406 virtual void reset() = 0;
ValueType
Defines the Type Identifiers used to identify the type contained within a specific Message property o...
Definition: Message.h:112
Root of all messages.
Definition: Message.h:88
#define CMS_API
Definition: Config.h:31
Interface for a StreamMessage.
Definition: StreamMessage.h:61
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: DestinationResolver.h:23