activemq/amazon/command/WireFormatInfo.cpp

84 lines
1.9 KiB
C++

/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
#include "command/WireFormatInfo.h"
using namespace ActiveMQ::Command;
/*
*
* Marshalling code for Open Wire Format for WireFormatInfo
*
*
* NOTE!: This file is autogenerated - do not modify!
* if you need to make a change, please see the Groovy scripts in the
* activemq-core module
*
*/
bool
WireFormatInfo::isMarshalAware() const
{
return true;
}
WireFormatInfo::WireFormatInfo()
{
version_ = 0;
}
int
WireFormatInfo::getCommandType() const
{
return TYPE;
}
WireFormatInfo::~WireFormatInfo()
{
}
const std::vector<uint8_t >& WireFormatInfo::getMagic() const
{
return magic_;
}
void WireFormatInfo::setMagic(const std::vector<uint8_t >& magic)
{
magic_ = magic;
}
int WireFormatInfo::getVersion() const
{
return version_;
}
void WireFormatInfo::setVersion(int version)
{
version_ = version;
}
const std::vector<unsigned char>& WireFormatInfo::getMarshalledProperties() const
{
return marshalledProperties_;
}
void WireFormatInfo::setMarshalledProperties(const std::vector<uint8_t>& marshalledProperties)
{
marshalledProperties_ = marshalledProperties;
}