mirror of https://github.com/apache/activemq.git
Updated openwire generation scripts so that they produce file with consistent newlines even on windows.
Updated dotnet generator due to refactor git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383296 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
47a327ab83
commit
e0a2b8eab7
|
@ -261,6 +261,11 @@
|
|||
<artifactId>annogen</artifactId>
|
||||
<version>0.1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ant</groupId>
|
||||
<artifactId>ant</artifactId>
|
||||
<version>${ant_version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Axion SQL DB used for testing JDBC message store -->
|
||||
<dependency>
|
||||
|
|
|
@ -31,7 +31,7 @@ public abstract class OpenWireCSharpClassesScript extends OpenWireClassesScript
|
|||
public Object run() {
|
||||
filePostFix = ".cs";
|
||||
if (destDir == null) {
|
||||
destDir = new File("../openwire-dotnet/src/OpenWire.Client/Commands");
|
||||
destDir = new File("../openwire-dotnet/src/ActiveMQ/Commands");
|
||||
}
|
||||
|
||||
return super.run();
|
||||
|
|
|
@ -33,7 +33,7 @@ public abstract class OpenWireCSharpMarshallingScript extends OpenWireJavaMarsha
|
|||
public Object run() {
|
||||
filePostFix = ".cs";
|
||||
if (destDir == null) {
|
||||
destDir = new File("../openwire-dotnet/src/OpenWire.Client/IO");
|
||||
destDir = new File("../openwire-dotnet/src/ActiveMQ/OpenWire/V"+getOpenwireVersion());
|
||||
}
|
||||
|
||||
return super.run();
|
||||
|
|
|
@ -16,14 +16,19 @@
|
|||
*/
|
||||
package org.apache.activemq.openwire.tool;
|
||||
|
||||
import org.codehaus.jam.JClass;
|
||||
import org.codehaus.jam.JProperty;
|
||||
import org.codehaus.jam.JamClassIterator;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileWriter;
|
||||
import java.io.PrintWriter;
|
||||
import java.util.*;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.tools.ant.Project;
|
||||
import org.apache.tools.ant.taskdefs.FixCRLF;
|
||||
import org.codehaus.jam.JClass;
|
||||
import org.codehaus.jam.JProperty;
|
||||
import org.codehaus.jam.JamClassIterator;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -110,6 +115,16 @@ public abstract class OpenWireClassesScript extends OpenWireScript {
|
|||
out.close();
|
||||
}
|
||||
}
|
||||
|
||||
// Use the FixCRLF Ant Task to make sure the file has consistent newlines
|
||||
// so that SVN does not complain on checkin.
|
||||
Project project = new Project();
|
||||
project.init();
|
||||
FixCRLF fixCRLF = new FixCRLF();
|
||||
fixCRLF.setProject(project);
|
||||
fixCRLF.setSrcdir(destFile.getParentFile());
|
||||
fixCRLF.setIncludes(destFile.getName());
|
||||
fixCRLF.execute();
|
||||
}
|
||||
|
||||
protected abstract void generateFile(PrintWriter out);
|
||||
|
|
|
@ -44,10 +44,10 @@ class GenerateCSharpClasses extends OpenWireCSharpClassesScript {
|
|||
using System;
|
||||
using System.Collections;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Core;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace OpenWire.Client.Commands
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ${jclass.simpleName}
|
||||
|
|
|
@ -45,12 +45,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.Commands;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.V${openwireVersion};
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V${openwireVersion}
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ${jclass.simpleName}
|
||||
|
@ -182,12 +181,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.Commands;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.V${openwireVersion};
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V${openwireVersion}
|
||||
{
|
||||
public class MarshallerFactory
|
||||
{
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
*/
|
||||
import org.apache.activemq.openwire.tool.OpenWireScript
|
||||
import org.apache.activemq.openwire.tool.TestDataGenerator
|
||||
import org.apache.tools.ant.Project;
|
||||
import org.apache.tools.ant.taskdefs.FixCRLF;
|
||||
|
||||
/**
|
||||
* Generates the Java test code for the Open Wire Format
|
||||
|
@ -205,6 +207,16 @@ for (property in properties) {
|
|||
}
|
||||
"""
|
||||
}
|
||||
// Use the FixCRLF Ant Task to make sure the file has consistent newlines
|
||||
// so that SVN does not complain on checkin.
|
||||
Project project = new Project();
|
||||
project.init();
|
||||
FixCRLF fixCRLF = new FixCRLF();
|
||||
fixCRLF.setProject(project);
|
||||
fixCRLF.setSrcdir(file.getParentFile());
|
||||
fixCRLF.setIncludes(file.getName());
|
||||
fixCRLF.execute();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -68,6 +68,7 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
info.setBrowser(bs.readBoolean());
|
||||
info.setDestination((ActiveMQDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
|
||||
info.setPrefetchSize(dataIn.readInt());
|
||||
info.setMaximumPendingMessageLimit(dataIn.readInt());
|
||||
info.setDispatchAsync(bs.readBoolean());
|
||||
info.setSelector(tightUnmarshalString(dataIn, bs));
|
||||
info.setSubcriptionName(tightUnmarshalString(dataIn, bs));
|
||||
|
@ -103,7 +104,7 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
rc += tightMarshalCachedObject1(wireFormat, info.getConsumerId(), bs);
|
||||
bs.writeBoolean(info.isBrowser());
|
||||
rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
|
||||
bs.writeBoolean(info.isDispatchAsync());
|
||||
bs.writeBoolean(info.isDispatchAsync());
|
||||
rc += tightMarshalString1(info.getSelector(), bs);
|
||||
rc += tightMarshalString1(info.getSubcriptionName(), bs);
|
||||
bs.writeBoolean(info.isNoLocal());
|
||||
|
@ -112,7 +113,7 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
bs.writeBoolean(info.isNetworkSubscription());
|
||||
|
||||
return rc + 5;
|
||||
return rc + 9;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -130,6 +131,7 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
bs.readBoolean();
|
||||
tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
|
||||
dataOut.writeInt(info.getPrefetchSize());
|
||||
dataOut.writeInt(info.getMaximumPendingMessageLimit());
|
||||
bs.readBoolean();
|
||||
tightMarshalString2(info.getSelector(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
|
||||
|
@ -157,6 +159,7 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
info.setBrowser(dataIn.readBoolean());
|
||||
info.setDestination((ActiveMQDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
|
||||
info.setPrefetchSize(dataIn.readInt());
|
||||
info.setMaximumPendingMessageLimit(dataIn.readInt());
|
||||
info.setDispatchAsync(dataIn.readBoolean());
|
||||
info.setSelector(looseUnmarshalString(dataIn));
|
||||
info.setSubcriptionName(looseUnmarshalString(dataIn));
|
||||
|
@ -193,6 +196,7 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
dataOut.writeBoolean(info.isBrowser());
|
||||
looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
|
||||
dataOut.writeInt(info.getPrefetchSize());
|
||||
dataOut.writeInt(info.getMaximumPendingMessageLimit());
|
||||
dataOut.writeBoolean(info.isDispatchAsync());
|
||||
looseMarshalString(info.getSelector(), dataOut);
|
||||
looseMarshalString(info.getSubcriptionName(), dataOut);
|
||||
|
|
|
@ -54,6 +54,7 @@ public class ConsumerInfoTest extends BaseCommandTestSupport {
|
|||
info.setBrowser(true);
|
||||
info.setDestination(createActiveMQDestination("Destination:2"));
|
||||
info.setPrefetchSize(1);
|
||||
info.setMaximumPendingMessageLimit(2);
|
||||
info.setDispatchAsync(false);
|
||||
info.setSelector("Selector:3");
|
||||
info.setSubcriptionName("SubcriptionName:4");
|
||||
|
|
|
@ -66,6 +66,7 @@ maven.repo.apache.scp.executable=scp
|
|||
#maven.jar.override=on
|
||||
|
||||
<!-- used by all modules -->
|
||||
ant_version=1.6
|
||||
geronimo_spec_j2ee_version=1.4-rc4
|
||||
concurrent_version=1.3.4
|
||||
commons_logging_version=1.0.3
|
||||
|
|
|
@ -957,6 +957,7 @@ apr_status_t ow_marshal1_ConsumerInfo(ow_bit_buffer *buffer, ow_ConsumerInfo *ob
|
|||
ow_bit_buffer_append(buffer, object->browser);
|
||||
SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->destination));
|
||||
|
||||
|
||||
ow_bit_buffer_append(buffer, object->dispatchAsync);
|
||||
ow_marshal1_string(buffer, object->selector);
|
||||
ow_marshal1_string(buffer, object->subcriptionName);
|
||||
|
@ -976,6 +977,7 @@ apr_status_t ow_marshal2_ConsumerInfo(ow_byte_buffer *buffer, ow_bit_buffer *bit
|
|||
ow_bit_buffer_read(bitbuffer);
|
||||
SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
|
||||
SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->prefetchSize));
|
||||
SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->maximumPendingMessageLimit));
|
||||
ow_bit_buffer_read(bitbuffer);
|
||||
SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->selector));
|
||||
SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->subcriptionName));
|
||||
|
@ -996,6 +998,7 @@ apr_status_t ow_unmarshal_ConsumerInfo(ow_byte_array *buffer, ow_bit_buffer *bit
|
|||
object->browser = ow_bit_buffer_read(bitbuffer);
|
||||
SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
|
||||
SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->prefetchSize));
|
||||
SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->maximumPendingMessageLimit));
|
||||
object->dispatchAsync = ow_bit_buffer_read(bitbuffer);
|
||||
SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->selector, pool));
|
||||
SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->subcriptionName, pool));
|
||||
|
|
|
@ -312,6 +312,7 @@ typedef struct ow_ConsumerInfo {
|
|||
ow_boolean browser;
|
||||
struct ow_ActiveMQDestination *destination;
|
||||
ow_int prefetchSize;
|
||||
ow_int maximumPendingMessageLimit;
|
||||
ow_boolean dispatchAsync;
|
||||
ow_string *selector;
|
||||
ow_string *subcriptionName;
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQObjectMessage_hpp_
|
||||
#define ActiveMQObjectMessage_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/ActiveMQMessage.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for ActiveMQObjectMessage
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class ActiveMQObjectMessage : public ActiveMQMessage
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 26;
|
||||
|
||||
public:
|
||||
ActiveMQObjectMessage() ;
|
||||
virtual ~ActiveMQObjectMessage() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*ActiveMQObjectMessage_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQObjectMessage_hpp_
|
||||
#define ActiveMQObjectMessage_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/ActiveMQMessage.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for ActiveMQObjectMessage
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class ActiveMQObjectMessage : public ActiveMQMessage
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 26;
|
||||
|
||||
public:
|
||||
ActiveMQObjectMessage() ;
|
||||
virtual ~ActiveMQObjectMessage() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*ActiveMQObjectMessage_hpp_*/
|
||||
|
|
|
@ -1,81 +1,81 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConnectionError_hpp_
|
||||
#define ConnectionError_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "BrokerError.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for ConnectionError
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class ConnectionError : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<BrokerError> exception ;
|
||||
p<ConnectionId> connectionId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 16;
|
||||
|
||||
public:
|
||||
ConnectionError() ;
|
||||
virtual ~ConnectionError() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<BrokerError> getException() ;
|
||||
virtual void setException(p<BrokerError> exception) ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*ConnectionError_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConnectionError_hpp_
|
||||
#define ConnectionError_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "BrokerError.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for ConnectionError
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class ConnectionError : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<BrokerError> exception ;
|
||||
p<ConnectionId> connectionId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 16;
|
||||
|
||||
public:
|
||||
ConnectionError() ;
|
||||
virtual ~ConnectionError() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<BrokerError> getException() ;
|
||||
virtual void setException(p<BrokerError> exception) ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*ConnectionError_hpp_*/
|
||||
|
|
|
@ -34,6 +34,7 @@ ConsumerInfo::ConsumerInfo()
|
|||
this->browser = 0 ;
|
||||
this->destination = 0 ;
|
||||
this->prefetchSize = 0 ;
|
||||
this->maximumPendingMessageLimit = 0 ;
|
||||
this->dispatchAsync = 0 ;
|
||||
this->selector = 0 ;
|
||||
this->subcriptionName = 0 ;
|
||||
|
@ -94,6 +95,17 @@ void ConsumerInfo::setPrefetchSize(int prefetchSize)
|
|||
}
|
||||
|
||||
|
||||
int ConsumerInfo::getMaximumPendingMessageLimit()
|
||||
{
|
||||
return maximumPendingMessageLimit ;
|
||||
}
|
||||
|
||||
void ConsumerInfo::setMaximumPendingMessageLimit(int maximumPendingMessageLimit)
|
||||
{
|
||||
this->maximumPendingMessageLimit = maximumPendingMessageLimit ;
|
||||
}
|
||||
|
||||
|
||||
bool ConsumerInfo::getDispatchAsync()
|
||||
{
|
||||
return dispatchAsync ;
|
||||
|
|
|
@ -56,6 +56,7 @@ private:
|
|||
bool browser ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
int prefetchSize ;
|
||||
int maximumPendingMessageLimit ;
|
||||
bool dispatchAsync ;
|
||||
p<string> selector ;
|
||||
p<string> subcriptionName ;
|
||||
|
@ -87,6 +88,9 @@ public:
|
|||
virtual int getPrefetchSize() ;
|
||||
virtual void setPrefetchSize(int prefetchSize) ;
|
||||
|
||||
virtual int getMaximumPendingMessageLimit() ;
|
||||
virtual void setMaximumPendingMessageLimit(int maximumPendingMessageLimit) ;
|
||||
|
||||
virtual bool getDispatchAsync() ;
|
||||
virtual void setDispatchAsync(bool dispatchAsync) ;
|
||||
|
||||
|
|
|
@ -1,75 +1,75 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ControlCommand_hpp_
|
||||
#define ControlCommand_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for ControlCommand
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class ControlCommand : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<string> command ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 14;
|
||||
|
||||
public:
|
||||
ControlCommand() ;
|
||||
virtual ~ControlCommand() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<string> getCommand() ;
|
||||
virtual void setCommand(p<string> command) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*ControlCommand_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ControlCommand_hpp_
|
||||
#define ControlCommand_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for ControlCommand
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class ControlCommand : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<string> command ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 14;
|
||||
|
||||
public:
|
||||
ControlCommand() ;
|
||||
virtual ~ControlCommand() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<string> getCommand() ;
|
||||
virtual void setCommand(p<string> command) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*ControlCommand_hpp_*/
|
||||
|
|
|
@ -1,76 +1,76 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DataArrayResponse_hpp_
|
||||
#define DataArrayResponse_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/Response.hpp"
|
||||
|
||||
#include "command/IDataStructure.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for DataArrayResponse
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class DataArrayResponse : public Response
|
||||
{
|
||||
private:
|
||||
ap<IDataStructure> data ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 33;
|
||||
|
||||
public:
|
||||
DataArrayResponse() ;
|
||||
virtual ~DataArrayResponse() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual ap<IDataStructure> getData() ;
|
||||
virtual void setData(ap<IDataStructure> data) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*DataArrayResponse_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DataArrayResponse_hpp_
|
||||
#define DataArrayResponse_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/Response.hpp"
|
||||
|
||||
#include "command/IDataStructure.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for DataArrayResponse
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class DataArrayResponse : public Response
|
||||
{
|
||||
private:
|
||||
ap<IDataStructure> data ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 33;
|
||||
|
||||
public:
|
||||
DataArrayResponse() ;
|
||||
virtual ~DataArrayResponse() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual ap<IDataStructure> getData() ;
|
||||
virtual void setData(ap<IDataStructure> data) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*DataArrayResponse_hpp_*/
|
||||
|
|
|
@ -1,76 +1,76 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DataResponse_hpp_
|
||||
#define DataResponse_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/Response.hpp"
|
||||
|
||||
#include "command/IDataStructure.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for DataResponse
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class DataResponse : public Response
|
||||
{
|
||||
private:
|
||||
p<IDataStructure> data ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 32;
|
||||
|
||||
public:
|
||||
DataResponse() ;
|
||||
virtual ~DataResponse() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<IDataStructure> getData() ;
|
||||
virtual void setData(p<IDataStructure> data) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*DataResponse_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DataResponse_hpp_
|
||||
#define DataResponse_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/Response.hpp"
|
||||
|
||||
#include "command/IDataStructure.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for DataResponse
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class DataResponse : public Response
|
||||
{
|
||||
private:
|
||||
p<IDataStructure> data ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 32;
|
||||
|
||||
public:
|
||||
DataResponse() ;
|
||||
virtual ~DataResponse() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<IDataStructure> getData() ;
|
||||
virtual void setData(p<IDataStructure> data) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*DataResponse_hpp_*/
|
||||
|
|
|
@ -1,94 +1,94 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DestinationInfo_hpp_
|
||||
#define DestinationInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/BrokerId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for DestinationInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class DestinationInfo : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConnectionId> connectionId ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
char operationType ;
|
||||
long long timeout ;
|
||||
ap<BrokerId> brokerPath ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 8;
|
||||
|
||||
public:
|
||||
DestinationInfo() ;
|
||||
virtual ~DestinationInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual char getOperationType() ;
|
||||
virtual void setOperationType(char operationType) ;
|
||||
|
||||
virtual long long getTimeout() ;
|
||||
virtual void setTimeout(long long timeout) ;
|
||||
|
||||
virtual ap<BrokerId> getBrokerPath() ;
|
||||
virtual void setBrokerPath(ap<BrokerId> brokerPath) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*DestinationInfo_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DestinationInfo_hpp_
|
||||
#define DestinationInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/BrokerId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for DestinationInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class DestinationInfo : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConnectionId> connectionId ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
char operationType ;
|
||||
long long timeout ;
|
||||
ap<BrokerId> brokerPath ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 8;
|
||||
|
||||
public:
|
||||
DestinationInfo() ;
|
||||
virtual ~DestinationInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual char getOperationType() ;
|
||||
virtual void setOperationType(char operationType) ;
|
||||
|
||||
virtual long long getTimeout() ;
|
||||
virtual void setTimeout(long long timeout) ;
|
||||
|
||||
virtual ap<BrokerId> getBrokerPath() ;
|
||||
virtual void setBrokerPath(ap<BrokerId> brokerPath) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*DestinationInfo_hpp_*/
|
||||
|
|
|
@ -1,79 +1,79 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DiscoveryEvent_hpp_
|
||||
#define DiscoveryEvent_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for DiscoveryEvent
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class DiscoveryEvent : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<string> serviceName ;
|
||||
p<string> brokerName ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 40;
|
||||
|
||||
public:
|
||||
DiscoveryEvent() ;
|
||||
virtual ~DiscoveryEvent() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<string> getServiceName() ;
|
||||
virtual void setServiceName(p<string> serviceName) ;
|
||||
|
||||
virtual p<string> getBrokerName() ;
|
||||
virtual void setBrokerName(p<string> brokerName) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*DiscoveryEvent_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DiscoveryEvent_hpp_
|
||||
#define DiscoveryEvent_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for DiscoveryEvent
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class DiscoveryEvent : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<string> serviceName ;
|
||||
p<string> brokerName ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 40;
|
||||
|
||||
public:
|
||||
DiscoveryEvent() ;
|
||||
virtual ~DiscoveryEvent() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<string> getServiceName() ;
|
||||
virtual void setServiceName(p<string> serviceName) ;
|
||||
|
||||
virtual p<string> getBrokerName() ;
|
||||
virtual void setBrokerName(p<string> brokerName) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*DiscoveryEvent_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef FlushCommand_hpp_
|
||||
#define FlushCommand_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for FlushCommand
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class FlushCommand : public BaseCommand
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 15;
|
||||
|
||||
public:
|
||||
FlushCommand() ;
|
||||
virtual ~FlushCommand() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*FlushCommand_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef FlushCommand_hpp_
|
||||
#define FlushCommand_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for FlushCommand
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class FlushCommand : public BaseCommand
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 15;
|
||||
|
||||
public:
|
||||
FlushCommand() ;
|
||||
virtual ~FlushCommand() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*FlushCommand_hpp_*/
|
||||
|
|
|
@ -1,75 +1,75 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef IntegerResponse_hpp_
|
||||
#define IntegerResponse_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/Response.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for IntegerResponse
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class IntegerResponse : public Response
|
||||
{
|
||||
private:
|
||||
int result ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 34;
|
||||
|
||||
public:
|
||||
IntegerResponse() ;
|
||||
virtual ~IntegerResponse() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual int getResult() ;
|
||||
virtual void setResult(int result) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*IntegerResponse_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef IntegerResponse_hpp_
|
||||
#define IntegerResponse_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/Response.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for IntegerResponse
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class IntegerResponse : public Response
|
||||
{
|
||||
private:
|
||||
int result ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 34;
|
||||
|
||||
public:
|
||||
IntegerResponse() ;
|
||||
virtual ~IntegerResponse() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual int getResult() ;
|
||||
virtual void setResult(int result) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*IntegerResponse_hpp_*/
|
||||
|
|
|
@ -1,81 +1,81 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalQueueAck_hpp_
|
||||
#define JournalQueueAck_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/MessageAck.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for JournalQueueAck
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class JournalQueueAck : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<ActiveMQDestination> destination ;
|
||||
p<MessageAck> messageAck ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 52;
|
||||
|
||||
public:
|
||||
JournalQueueAck() ;
|
||||
virtual ~JournalQueueAck() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual p<MessageAck> getMessageAck() ;
|
||||
virtual void setMessageAck(p<MessageAck> messageAck) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*JournalQueueAck_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalQueueAck_hpp_
|
||||
#define JournalQueueAck_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/MessageAck.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for JournalQueueAck
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class JournalQueueAck : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<ActiveMQDestination> destination ;
|
||||
p<MessageAck> messageAck ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 52;
|
||||
|
||||
public:
|
||||
JournalQueueAck() ;
|
||||
virtual ~JournalQueueAck() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual p<MessageAck> getMessageAck() ;
|
||||
virtual void setMessageAck(p<MessageAck> messageAck) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*JournalQueueAck_hpp_*/
|
||||
|
|
|
@ -1,98 +1,98 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTopicAck_hpp_
|
||||
#define JournalTopicAck_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/MessageId.hpp"
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for JournalTopicAck
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class JournalTopicAck : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<ActiveMQDestination> destination ;
|
||||
p<MessageId> messageId ;
|
||||
long long messageSequenceId ;
|
||||
p<string> subscritionName ;
|
||||
p<string> clientId ;
|
||||
p<TransactionId> transactionId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 50;
|
||||
|
||||
public:
|
||||
JournalTopicAck() ;
|
||||
virtual ~JournalTopicAck() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual p<MessageId> getMessageId() ;
|
||||
virtual void setMessageId(p<MessageId> messageId) ;
|
||||
|
||||
virtual long long getMessageSequenceId() ;
|
||||
virtual void setMessageSequenceId(long long messageSequenceId) ;
|
||||
|
||||
virtual p<string> getSubscritionName() ;
|
||||
virtual void setSubscritionName(p<string> subscritionName) ;
|
||||
|
||||
virtual p<string> getClientId() ;
|
||||
virtual void setClientId(p<string> clientId) ;
|
||||
|
||||
virtual p<TransactionId> getTransactionId() ;
|
||||
virtual void setTransactionId(p<TransactionId> transactionId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*JournalTopicAck_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTopicAck_hpp_
|
||||
#define JournalTopicAck_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/MessageId.hpp"
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for JournalTopicAck
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class JournalTopicAck : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<ActiveMQDestination> destination ;
|
||||
p<MessageId> messageId ;
|
||||
long long messageSequenceId ;
|
||||
p<string> subscritionName ;
|
||||
p<string> clientId ;
|
||||
p<TransactionId> transactionId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 50;
|
||||
|
||||
public:
|
||||
JournalTopicAck() ;
|
||||
virtual ~JournalTopicAck() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual p<MessageId> getMessageId() ;
|
||||
virtual void setMessageId(p<MessageId> messageId) ;
|
||||
|
||||
virtual long long getMessageSequenceId() ;
|
||||
virtual void setMessageSequenceId(long long messageSequenceId) ;
|
||||
|
||||
virtual p<string> getSubscritionName() ;
|
||||
virtual void setSubscritionName(p<string> subscritionName) ;
|
||||
|
||||
virtual p<string> getClientId() ;
|
||||
virtual void setClientId(p<string> clientId) ;
|
||||
|
||||
virtual p<TransactionId> getTransactionId() ;
|
||||
virtual void setTransactionId(p<TransactionId> transactionId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*JournalTopicAck_hpp_*/
|
||||
|
|
|
@ -1,75 +1,75 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTrace_hpp_
|
||||
#define JournalTrace_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for JournalTrace
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class JournalTrace : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<string> message ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 53;
|
||||
|
||||
public:
|
||||
JournalTrace() ;
|
||||
virtual ~JournalTrace() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<string> getMessage() ;
|
||||
virtual void setMessage(p<string> message) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*JournalTrace_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTrace_hpp_
|
||||
#define JournalTrace_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for JournalTrace
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class JournalTrace : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<string> message ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 53;
|
||||
|
||||
public:
|
||||
JournalTrace() ;
|
||||
virtual ~JournalTrace() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<string> getMessage() ;
|
||||
virtual void setMessage(p<string> message) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*JournalTrace_hpp_*/
|
||||
|
|
|
@ -1,84 +1,84 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTransaction_hpp_
|
||||
#define JournalTransaction_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for JournalTransaction
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class JournalTransaction : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<TransactionId> transactionId ;
|
||||
char type ;
|
||||
bool wasPrepared ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 54;
|
||||
|
||||
public:
|
||||
JournalTransaction() ;
|
||||
virtual ~JournalTransaction() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<TransactionId> getTransactionId() ;
|
||||
virtual void setTransactionId(p<TransactionId> transactionId) ;
|
||||
|
||||
virtual char getType() ;
|
||||
virtual void setType(char type) ;
|
||||
|
||||
virtual bool getWasPrepared() ;
|
||||
virtual void setWasPrepared(bool wasPrepared) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*JournalTransaction_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTransaction_hpp_
|
||||
#define JournalTransaction_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for JournalTransaction
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class JournalTransaction : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<TransactionId> transactionId ;
|
||||
char type ;
|
||||
bool wasPrepared ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 54;
|
||||
|
||||
public:
|
||||
JournalTransaction() ;
|
||||
virtual ~JournalTransaction() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<TransactionId> getTransactionId() ;
|
||||
virtual void setTransactionId(p<TransactionId> transactionId) ;
|
||||
|
||||
virtual char getType() ;
|
||||
virtual void setType(char type) ;
|
||||
|
||||
virtual bool getWasPrepared() ;
|
||||
virtual void setWasPrepared(bool wasPrepared) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*JournalTransaction_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef KeepAliveInfo_hpp_
|
||||
#define KeepAliveInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for KeepAliveInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class KeepAliveInfo : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 10;
|
||||
|
||||
public:
|
||||
KeepAliveInfo() ;
|
||||
virtual ~KeepAliveInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*KeepAliveInfo_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef KeepAliveInfo_hpp_
|
||||
#define KeepAliveInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for KeepAliveInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class KeepAliveInfo : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 10;
|
||||
|
||||
public:
|
||||
KeepAliveInfo() ;
|
||||
virtual ~KeepAliveInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*KeepAliveInfo_hpp_*/
|
||||
|
|
|
@ -1,80 +1,80 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef LocalTransactionId_hpp_
|
||||
#define LocalTransactionId_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
#include "command/ConnectionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for LocalTransactionId
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class LocalTransactionId : public TransactionId
|
||||
{
|
||||
private:
|
||||
long long value ;
|
||||
p<ConnectionId> connectionId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 111;
|
||||
|
||||
public:
|
||||
LocalTransactionId() ;
|
||||
virtual ~LocalTransactionId() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual long long getValue() ;
|
||||
virtual void setValue(long long value) ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*LocalTransactionId_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef LocalTransactionId_hpp_
|
||||
#define LocalTransactionId_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
#include "command/ConnectionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for LocalTransactionId
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class LocalTransactionId : public TransactionId
|
||||
{
|
||||
private:
|
||||
long long value ;
|
||||
p<ConnectionId> connectionId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 111;
|
||||
|
||||
public:
|
||||
LocalTransactionId() ;
|
||||
virtual ~LocalTransactionId() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual long long getValue() ;
|
||||
virtual void setValue(long long value) ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*LocalTransactionId_hpp_*/
|
||||
|
|
|
@ -1,90 +1,90 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageDispatch_hpp_
|
||||
#define MessageDispatch_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/Message.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for MessageDispatch
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class MessageDispatch : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConsumerId> consumerId ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
p<Message> message ;
|
||||
int redeliveryCounter ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 21;
|
||||
|
||||
public:
|
||||
MessageDispatch() ;
|
||||
virtual ~MessageDispatch() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConsumerId> getConsumerId() ;
|
||||
virtual void setConsumerId(p<ConsumerId> consumerId) ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual p<Message> getMessage() ;
|
||||
virtual void setMessage(p<Message> message) ;
|
||||
|
||||
virtual int getRedeliveryCounter() ;
|
||||
virtual void setRedeliveryCounter(int redeliveryCounter) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*MessageDispatch_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageDispatch_hpp_
|
||||
#define MessageDispatch_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/Message.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for MessageDispatch
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class MessageDispatch : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConsumerId> consumerId ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
p<Message> message ;
|
||||
int redeliveryCounter ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 21;
|
||||
|
||||
public:
|
||||
MessageDispatch() ;
|
||||
virtual ~MessageDispatch() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConsumerId> getConsumerId() ;
|
||||
virtual void setConsumerId(p<ConsumerId> consumerId) ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual p<Message> getMessage() ;
|
||||
virtual void setMessage(p<Message> message) ;
|
||||
|
||||
virtual int getRedeliveryCounter() ;
|
||||
virtual void setRedeliveryCounter(int redeliveryCounter) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*MessageDispatch_hpp_*/
|
||||
|
|
|
@ -1,90 +1,90 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageDispatchNotification_hpp_
|
||||
#define MessageDispatchNotification_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/MessageId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for MessageDispatchNotification
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class MessageDispatchNotification : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConsumerId> consumerId ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
long long deliverySequenceId ;
|
||||
p<MessageId> messageId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 90;
|
||||
|
||||
public:
|
||||
MessageDispatchNotification() ;
|
||||
virtual ~MessageDispatchNotification() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConsumerId> getConsumerId() ;
|
||||
virtual void setConsumerId(p<ConsumerId> consumerId) ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual long long getDeliverySequenceId() ;
|
||||
virtual void setDeliverySequenceId(long long deliverySequenceId) ;
|
||||
|
||||
virtual p<MessageId> getMessageId() ;
|
||||
virtual void setMessageId(p<MessageId> messageId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*MessageDispatchNotification_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageDispatchNotification_hpp_
|
||||
#define MessageDispatchNotification_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
#include "command/MessageId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for MessageDispatchNotification
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class MessageDispatchNotification : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConsumerId> consumerId ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
long long deliverySequenceId ;
|
||||
p<MessageId> messageId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 90;
|
||||
|
||||
public:
|
||||
MessageDispatchNotification() ;
|
||||
virtual ~MessageDispatchNotification() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConsumerId> getConsumerId() ;
|
||||
virtual void setConsumerId(p<ConsumerId> consumerId) ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual long long getDeliverySequenceId() ;
|
||||
virtual void setDeliverySequenceId(long long deliverySequenceId) ;
|
||||
|
||||
virtual p<MessageId> getMessageId() ;
|
||||
virtual void setMessageId(p<MessageId> messageId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*MessageDispatchNotification_hpp_*/
|
||||
|
|
|
@ -1,84 +1,84 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageId_hpp_
|
||||
#define MessageId_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/ProducerId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for MessageId
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class MessageId : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<ProducerId> producerId ;
|
||||
long long producerSequenceId ;
|
||||
long long brokerSequenceId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 110;
|
||||
|
||||
public:
|
||||
MessageId() ;
|
||||
virtual ~MessageId() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ProducerId> getProducerId() ;
|
||||
virtual void setProducerId(p<ProducerId> producerId) ;
|
||||
|
||||
virtual long long getProducerSequenceId() ;
|
||||
virtual void setProducerSequenceId(long long producerSequenceId) ;
|
||||
|
||||
virtual long long getBrokerSequenceId() ;
|
||||
virtual void setBrokerSequenceId(long long brokerSequenceId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*MessageId_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageId_hpp_
|
||||
#define MessageId_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/ProducerId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for MessageId
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class MessageId : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<ProducerId> producerId ;
|
||||
long long producerSequenceId ;
|
||||
long long brokerSequenceId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 110;
|
||||
|
||||
public:
|
||||
MessageId() ;
|
||||
virtual ~MessageId() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ProducerId> getProducerId() ;
|
||||
virtual void setProducerId(p<ProducerId> producerId) ;
|
||||
|
||||
virtual long long getProducerSequenceId() ;
|
||||
virtual void setProducerSequenceId(long long producerSequenceId) ;
|
||||
|
||||
virtual long long getBrokerSequenceId() ;
|
||||
virtual void setBrokerSequenceId(long long brokerSequenceId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*MessageId_hpp_*/
|
||||
|
|
|
@ -1,84 +1,84 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef RemoveSubscriptionInfo_hpp_
|
||||
#define RemoveSubscriptionInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConnectionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for RemoveSubscriptionInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class RemoveSubscriptionInfo : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConnectionId> connectionId ;
|
||||
p<string> subcriptionName ;
|
||||
p<string> clientId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 0;
|
||||
|
||||
public:
|
||||
RemoveSubscriptionInfo() ;
|
||||
virtual ~RemoveSubscriptionInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
virtual p<string> getSubcriptionName() ;
|
||||
virtual void setSubcriptionName(p<string> subcriptionName) ;
|
||||
|
||||
virtual p<string> getClientId() ;
|
||||
virtual void setClientId(p<string> clientId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*RemoveSubscriptionInfo_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef RemoveSubscriptionInfo_hpp_
|
||||
#define RemoveSubscriptionInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConnectionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for RemoveSubscriptionInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class RemoveSubscriptionInfo : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConnectionId> connectionId ;
|
||||
p<string> subcriptionName ;
|
||||
p<string> clientId ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 0;
|
||||
|
||||
public:
|
||||
RemoveSubscriptionInfo() ;
|
||||
virtual ~RemoveSubscriptionInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
virtual p<string> getSubcriptionName() ;
|
||||
virtual void setSubcriptionName(p<string> subcriptionName) ;
|
||||
|
||||
virtual p<string> getClientId() ;
|
||||
virtual void setClientId(p<string> clientId) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*RemoveSubscriptionInfo_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ShutdownInfo_hpp_
|
||||
#define ShutdownInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for ShutdownInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class ShutdownInfo : public BaseCommand
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 11;
|
||||
|
||||
public:
|
||||
ShutdownInfo() ;
|
||||
virtual ~ShutdownInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*ShutdownInfo_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ShutdownInfo_hpp_
|
||||
#define ShutdownInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for ShutdownInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class ShutdownInfo : public BaseCommand
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 11;
|
||||
|
||||
public:
|
||||
ShutdownInfo() ;
|
||||
virtual ~ShutdownInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*ShutdownInfo_hpp_*/
|
||||
|
|
|
@ -1,88 +1,88 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef SubscriptionInfo_hpp_
|
||||
#define SubscriptionInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for SubscriptionInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class SubscriptionInfo : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<string> clientId ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
p<string> selector ;
|
||||
p<string> subcriptionName ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 55;
|
||||
|
||||
public:
|
||||
SubscriptionInfo() ;
|
||||
virtual ~SubscriptionInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<string> getClientId() ;
|
||||
virtual void setClientId(p<string> clientId) ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual p<string> getSelector() ;
|
||||
virtual void setSelector(p<string> selector) ;
|
||||
|
||||
virtual p<string> getSubcriptionName() ;
|
||||
virtual void setSubcriptionName(p<string> subcriptionName) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*SubscriptionInfo_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef SubscriptionInfo_hpp_
|
||||
#define SubscriptionInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
#include "command/ActiveMQDestination.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for SubscriptionInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class SubscriptionInfo : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
p<string> clientId ;
|
||||
p<ActiveMQDestination> destination ;
|
||||
p<string> selector ;
|
||||
p<string> subcriptionName ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 55;
|
||||
|
||||
public:
|
||||
SubscriptionInfo() ;
|
||||
virtual ~SubscriptionInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<string> getClientId() ;
|
||||
virtual void setClientId(p<string> clientId) ;
|
||||
|
||||
virtual p<ActiveMQDestination> getDestination() ;
|
||||
virtual void setDestination(p<ActiveMQDestination> destination) ;
|
||||
|
||||
virtual p<string> getSelector() ;
|
||||
virtual void setSelector(p<string> selector) ;
|
||||
|
||||
virtual p<string> getSubcriptionName() ;
|
||||
virtual void setSubcriptionName(p<string> subcriptionName) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*SubscriptionInfo_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef TransactionId_hpp_
|
||||
#define TransactionId_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for TransactionId
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class TransactionId : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 0;
|
||||
|
||||
public:
|
||||
TransactionId() ;
|
||||
virtual ~TransactionId() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*TransactionId_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef TransactionId_hpp_
|
||||
#define TransactionId_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for TransactionId
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class TransactionId : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
|
||||
public:
|
||||
const static int TYPE = 0;
|
||||
|
||||
public:
|
||||
TransactionId() ;
|
||||
virtual ~TransactionId() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*TransactionId_hpp_*/
|
||||
|
|
|
@ -1,85 +1,85 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef TransactionInfo_hpp_
|
||||
#define TransactionInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for TransactionInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class TransactionInfo : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConnectionId> connectionId ;
|
||||
p<TransactionId> transactionId ;
|
||||
char type ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 7;
|
||||
|
||||
public:
|
||||
TransactionInfo() ;
|
||||
virtual ~TransactionInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
virtual p<TransactionId> getTransactionId() ;
|
||||
virtual void setTransactionId(p<TransactionId> transactionId) ;
|
||||
|
||||
virtual char getType() ;
|
||||
virtual void setType(char type) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*TransactionInfo_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef TransactionInfo_hpp_
|
||||
#define TransactionInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/BaseCommand.hpp"
|
||||
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for TransactionInfo
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class TransactionInfo : public BaseCommand
|
||||
{
|
||||
private:
|
||||
p<ConnectionId> connectionId ;
|
||||
p<TransactionId> transactionId ;
|
||||
char type ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 7;
|
||||
|
||||
public:
|
||||
TransactionInfo() ;
|
||||
virtual ~TransactionInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual p<ConnectionId> getConnectionId() ;
|
||||
virtual void setConnectionId(p<ConnectionId> connectionId) ;
|
||||
|
||||
virtual p<TransactionId> getTransactionId() ;
|
||||
virtual void setTransactionId(p<TransactionId> transactionId) ;
|
||||
|
||||
virtual char getType() ;
|
||||
virtual void setType(char type) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*TransactionInfo_hpp_*/
|
||||
|
|
|
@ -1,99 +1,99 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef WireFormatInfo_hpp_
|
||||
#define WireFormatInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class WireFormatInfo : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
ap<char> magic ;
|
||||
int version ;
|
||||
bool cacheEnabled ;
|
||||
bool stackTraceEnabled ;
|
||||
bool tcpNoDelayEnabled ;
|
||||
bool prefixPacketSize ;
|
||||
bool tightEncodingEnabled ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 1;
|
||||
|
||||
public:
|
||||
WireFormatInfo() ;
|
||||
virtual ~WireFormatInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual ap<char> getMagic() ;
|
||||
virtual void setMagic(ap<char> magic) ;
|
||||
|
||||
virtual int getVersion() ;
|
||||
virtual void setVersion(int version) ;
|
||||
|
||||
virtual bool getCacheEnabled() ;
|
||||
virtual void setCacheEnabled(bool cacheEnabled) ;
|
||||
|
||||
virtual bool getStackTraceEnabled() ;
|
||||
virtual void setStackTraceEnabled(bool stackTraceEnabled) ;
|
||||
|
||||
virtual bool getTcpNoDelayEnabled() ;
|
||||
virtual void setTcpNoDelayEnabled(bool tcpNoDelayEnabled) ;
|
||||
|
||||
virtual bool getPrefixPacketSize() ;
|
||||
virtual void setPrefixPacketSize(bool prefixPacketSize) ;
|
||||
|
||||
virtual bool getTightEncodingEnabled() ;
|
||||
virtual void setTightEncodingEnabled(bool tightEncodingEnabled) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*WireFormatInfo_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef WireFormatInfo_hpp_
|
||||
#define WireFormatInfo_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/AbstractCommand.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class WireFormatInfo : public AbstractCommand
|
||||
{
|
||||
private:
|
||||
ap<char> magic ;
|
||||
int version ;
|
||||
bool cacheEnabled ;
|
||||
bool stackTraceEnabled ;
|
||||
bool tcpNoDelayEnabled ;
|
||||
bool prefixPacketSize ;
|
||||
bool tightEncodingEnabled ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 1;
|
||||
|
||||
public:
|
||||
WireFormatInfo() ;
|
||||
virtual ~WireFormatInfo() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual ap<char> getMagic() ;
|
||||
virtual void setMagic(ap<char> magic) ;
|
||||
|
||||
virtual int getVersion() ;
|
||||
virtual void setVersion(int version) ;
|
||||
|
||||
virtual bool getCacheEnabled() ;
|
||||
virtual void setCacheEnabled(bool cacheEnabled) ;
|
||||
|
||||
virtual bool getStackTraceEnabled() ;
|
||||
virtual void setStackTraceEnabled(bool stackTraceEnabled) ;
|
||||
|
||||
virtual bool getTcpNoDelayEnabled() ;
|
||||
virtual void setTcpNoDelayEnabled(bool tcpNoDelayEnabled) ;
|
||||
|
||||
virtual bool getPrefixPacketSize() ;
|
||||
virtual void setPrefixPacketSize(bool prefixPacketSize) ;
|
||||
|
||||
virtual bool getTightEncodingEnabled() ;
|
||||
virtual void setTightEncodingEnabled(bool tightEncodingEnabled) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*WireFormatInfo_hpp_*/
|
||||
|
|
|
@ -1,83 +1,83 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef XATransactionId_hpp_
|
||||
#define XATransactionId_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for XATransactionId
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class XATransactionId : public TransactionId
|
||||
{
|
||||
private:
|
||||
int formatId ;
|
||||
ap<char> globalTransactionId ;
|
||||
ap<char> branchQualifier ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 112;
|
||||
|
||||
public:
|
||||
XATransactionId() ;
|
||||
virtual ~XATransactionId() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual int getFormatId() ;
|
||||
virtual void setFormatId(int formatId) ;
|
||||
|
||||
virtual ap<char> getGlobalTransactionId() ;
|
||||
virtual void setGlobalTransactionId(ap<char> globalTransactionId) ;
|
||||
|
||||
virtual ap<char> getBranchQualifier() ;
|
||||
virtual void setBranchQualifier(ap<char> branchQualifier) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*XATransactionId_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef XATransactionId_hpp_
|
||||
#define XATransactionId_hpp_
|
||||
|
||||
#include <string>
|
||||
#include "command/TransactionId.hpp"
|
||||
|
||||
|
||||
#include "util/ifr/ap.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace command
|
||||
{
|
||||
using namespace ifr;
|
||||
using namespace std;
|
||||
using namespace apache::activemq::client;
|
||||
|
||||
/*
|
||||
*
|
||||
* Marshalling code for Open Wire Format for XATransactionId
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
class XATransactionId : public TransactionId
|
||||
{
|
||||
private:
|
||||
int formatId ;
|
||||
ap<char> globalTransactionId ;
|
||||
ap<char> branchQualifier ;
|
||||
|
||||
public:
|
||||
const static int TYPE = 112;
|
||||
|
||||
public:
|
||||
XATransactionId() ;
|
||||
virtual ~XATransactionId() ;
|
||||
|
||||
virtual int getCommandType() ;
|
||||
|
||||
virtual int getFormatId() ;
|
||||
virtual void setFormatId(int formatId) ;
|
||||
|
||||
virtual ap<char> getGlobalTransactionId() ;
|
||||
virtual void setGlobalTransactionId(ap<char> globalTransactionId) ;
|
||||
|
||||
virtual ap<char> getBranchQualifier() ;
|
||||
virtual void setBranchQualifier(ap<char> branchQualifier) ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*XATransactionId_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQBytesMessageMarshaller_hpp_
|
||||
#define ActiveMQBytesMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQBytesMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQBytesMessageMarshaller() ;
|
||||
virtual ~ActiveMQBytesMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQBytesMessageMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQBytesMessageMarshaller_hpp_
|
||||
#define ActiveMQBytesMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQBytesMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQBytesMessageMarshaller() ;
|
||||
virtual ~ActiveMQBytesMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQBytesMessageMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQDestinationMarshaller_hpp_
|
||||
#define ActiveMQDestinationMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQDestinationMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQDestinationMarshaller() ;
|
||||
virtual ~ActiveMQDestinationMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQDestinationMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQDestinationMarshaller_hpp_
|
||||
#define ActiveMQDestinationMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQDestinationMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQDestinationMarshaller() ;
|
||||
virtual ~ActiveMQDestinationMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQDestinationMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQMapMessageMarshaller_hpp_
|
||||
#define ActiveMQMapMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQMapMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQMapMessageMarshaller() ;
|
||||
virtual ~ActiveMQMapMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQMapMessageMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQMapMessageMarshaller_hpp_
|
||||
#define ActiveMQMapMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQMapMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQMapMessageMarshaller() ;
|
||||
virtual ~ActiveMQMapMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQMapMessageMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQMessageMarshaller_hpp_
|
||||
#define ActiveMQMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/MessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQMessageMarshaller : public MessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQMessageMarshaller() ;
|
||||
virtual ~ActiveMQMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQMessageMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQMessageMarshaller_hpp_
|
||||
#define ActiveMQMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/MessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQMessageMarshaller : public MessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQMessageMarshaller() ;
|
||||
virtual ~ActiveMQMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQMessageMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQObjectMessageMarshaller_hpp_
|
||||
#define ActiveMQObjectMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQObjectMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQObjectMessageMarshaller() ;
|
||||
virtual ~ActiveMQObjectMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQObjectMessageMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQObjectMessageMarshaller_hpp_
|
||||
#define ActiveMQObjectMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQObjectMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQObjectMessageMarshaller() ;
|
||||
virtual ~ActiveMQObjectMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQObjectMessageMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQQueueMarshaller_hpp_
|
||||
#define ActiveMQQueueMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQQueueMarshaller : public ActiveMQDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQQueueMarshaller() ;
|
||||
virtual ~ActiveMQQueueMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQQueueMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQQueueMarshaller_hpp_
|
||||
#define ActiveMQQueueMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQQueueMarshaller : public ActiveMQDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQQueueMarshaller() ;
|
||||
virtual ~ActiveMQQueueMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQQueueMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQStreamMessageMarshaller_hpp_
|
||||
#define ActiveMQStreamMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQStreamMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQStreamMessageMarshaller() ;
|
||||
virtual ~ActiveMQStreamMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQStreamMessageMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQStreamMessageMarshaller_hpp_
|
||||
#define ActiveMQStreamMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQStreamMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQStreamMessageMarshaller() ;
|
||||
virtual ~ActiveMQStreamMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQStreamMessageMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTempDestinationMarshaller_hpp_
|
||||
#define ActiveMQTempDestinationMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTempDestinationMarshaller : public ActiveMQDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTempDestinationMarshaller() ;
|
||||
virtual ~ActiveMQTempDestinationMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTempDestinationMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTempDestinationMarshaller_hpp_
|
||||
#define ActiveMQTempDestinationMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTempDestinationMarshaller : public ActiveMQDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTempDestinationMarshaller() ;
|
||||
virtual ~ActiveMQTempDestinationMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTempDestinationMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTempQueueMarshaller_hpp_
|
||||
#define ActiveMQTempQueueMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQTempDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTempQueueMarshaller : public ActiveMQTempDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTempQueueMarshaller() ;
|
||||
virtual ~ActiveMQTempQueueMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTempQueueMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTempQueueMarshaller_hpp_
|
||||
#define ActiveMQTempQueueMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQTempDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTempQueueMarshaller : public ActiveMQTempDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTempQueueMarshaller() ;
|
||||
virtual ~ActiveMQTempQueueMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTempQueueMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTempTopicMarshaller_hpp_
|
||||
#define ActiveMQTempTopicMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQTempDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTempTopicMarshaller : public ActiveMQTempDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTempTopicMarshaller() ;
|
||||
virtual ~ActiveMQTempTopicMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTempTopicMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTempTopicMarshaller_hpp_
|
||||
#define ActiveMQTempTopicMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQTempDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTempTopicMarshaller : public ActiveMQTempDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTempTopicMarshaller() ;
|
||||
virtual ~ActiveMQTempTopicMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTempTopicMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTextMessageMarshaller_hpp_
|
||||
#define ActiveMQTextMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTextMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTextMessageMarshaller() ;
|
||||
virtual ~ActiveMQTextMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTextMessageMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTextMessageMarshaller_hpp_
|
||||
#define ActiveMQTextMessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQMessageMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTextMessageMarshaller : public ActiveMQMessageMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTextMessageMarshaller() ;
|
||||
virtual ~ActiveMQTextMessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTextMessageMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTopicMarshaller_hpp_
|
||||
#define ActiveMQTopicMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTopicMarshaller : public ActiveMQDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTopicMarshaller() ;
|
||||
virtual ~ActiveMQTopicMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTopicMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ActiveMQTopicMarshaller_hpp_
|
||||
#define ActiveMQTopicMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ActiveMQDestinationMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ActiveMQTopicMarshaller : public ActiveMQDestinationMarshaller
|
||||
{
|
||||
public:
|
||||
ActiveMQTopicMarshaller() ;
|
||||
virtual ~ActiveMQTopicMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ActiveMQTopicMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef BaseCommandMarshaller_hpp_
|
||||
#define BaseCommandMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class BaseCommandMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
BaseCommandMarshaller() ;
|
||||
virtual ~BaseCommandMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*BaseCommandMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef BaseCommandMarshaller_hpp_
|
||||
#define BaseCommandMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class BaseCommandMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
BaseCommandMarshaller() ;
|
||||
virtual ~BaseCommandMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*BaseCommandMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConnectionErrorMarshaller_hpp_
|
||||
#define ConnectionErrorMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConnectionErrorMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ConnectionErrorMarshaller() ;
|
||||
virtual ~ConnectionErrorMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConnectionErrorMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConnectionErrorMarshaller_hpp_
|
||||
#define ConnectionErrorMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConnectionErrorMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ConnectionErrorMarshaller() ;
|
||||
virtual ~ConnectionErrorMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConnectionErrorMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConnectionIdMarshaller_hpp_
|
||||
#define ConnectionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConnectionIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
ConnectionIdMarshaller() ;
|
||||
virtual ~ConnectionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConnectionIdMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConnectionIdMarshaller_hpp_
|
||||
#define ConnectionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConnectionIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
ConnectionIdMarshaller() ;
|
||||
virtual ~ConnectionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConnectionIdMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConnectionInfoMarshaller_hpp_
|
||||
#define ConnectionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConnectionInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ConnectionInfoMarshaller() ;
|
||||
virtual ~ConnectionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConnectionInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConnectionInfoMarshaller_hpp_
|
||||
#define ConnectionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConnectionInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ConnectionInfoMarshaller() ;
|
||||
virtual ~ConnectionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConnectionInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConsumerIdMarshaller_hpp_
|
||||
#define ConsumerIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConsumerIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
ConsumerIdMarshaller() ;
|
||||
virtual ~ConsumerIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConsumerIdMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConsumerIdMarshaller_hpp_
|
||||
#define ConsumerIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConsumerIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
ConsumerIdMarshaller() ;
|
||||
virtual ~ConsumerIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConsumerIdMarshaller_hpp_*/
|
||||
|
|
|
@ -60,6 +60,7 @@ void ConsumerInfoMarshaller::unmarshal(OpenWireFormat& wireFormat, Object o, Bin
|
|||
info.setBrowser(bs.readBoolean());
|
||||
info.setDestination((ActiveMQDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
|
||||
info.setPrefetchSize(dataIn.readInt());
|
||||
info.setMaximumPendingMessageLimit(dataIn.readInt());
|
||||
info.setDispatchAsync(bs.readBoolean());
|
||||
info.setSelector(tightUnmarshalString(dataIn, bs));
|
||||
info.setSubcriptionName(tightUnmarshalString(dataIn, bs));
|
||||
|
@ -94,7 +95,7 @@ int ConsumerInfoMarshaller::marshal1(OpenWireFormat& wireFormat, Object& o, Bool
|
|||
rc += marshal1CachedObject(wireFormat, info.getConsumerId(), bs);
|
||||
bs.writeBoolean(info.isBrowser());
|
||||
rc += marshal1CachedObject(wireFormat, info.getDestination(), bs);
|
||||
bs.writeBoolean(info.isDispatchAsync());
|
||||
bs.writeBoolean(info.isDispatchAsync());
|
||||
rc += writeString(info.getSelector(), bs);
|
||||
rc += writeString(info.getSubcriptionName(), bs);
|
||||
bs.writeBoolean(info.isNoLocal());
|
||||
|
@ -103,7 +104,7 @@ int ConsumerInfoMarshaller::marshal1(OpenWireFormat& wireFormat, Object& o, Bool
|
|||
rc += marshalObjectArray(wireFormat, info.getBrokerPath(), bs);
|
||||
bs.writeBoolean(info.isNetworkSubscription());
|
||||
|
||||
return rc + 2;
|
||||
return rc + 3;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -117,6 +118,7 @@ void ConsumerInfoMarshaller::marshal2(OpenWireFormat& wireFormat, Object& o, Bin
|
|||
bs.readBoolean();
|
||||
marshal2CachedObject(wireFormat, info.getDestination(), dataOut, bs);
|
||||
DataStreamMarshaller.writeInt(info.getPrefetchSize(), dataOut);
|
||||
DataStreamMarshaller.writeInt(info.getMaximumPendingMessageLimit(), dataOut);
|
||||
bs.readBoolean();
|
||||
writeString(info.getSelector(), dataOut, bs);
|
||||
writeString(info.getSubcriptionName(), dataOut, bs);
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConsumerInfoMarshaller_hpp_
|
||||
#define ConsumerInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConsumerInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ConsumerInfoMarshaller() ;
|
||||
virtual ~ConsumerInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConsumerInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ConsumerInfoMarshaller_hpp_
|
||||
#define ConsumerInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ConsumerInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ConsumerInfoMarshaller() ;
|
||||
virtual ~ConsumerInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ConsumerInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ControlCommandMarshaller_hpp_
|
||||
#define ControlCommandMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ControlCommandMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ControlCommandMarshaller() ;
|
||||
virtual ~ControlCommandMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ControlCommandMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ControlCommandMarshaller_hpp_
|
||||
#define ControlCommandMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ControlCommandMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ControlCommandMarshaller() ;
|
||||
virtual ~ControlCommandMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ControlCommandMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DataArrayResponseMarshaller_hpp_
|
||||
#define DataArrayResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ResponseMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class DataArrayResponseMarshaller : public ResponseMarshaller
|
||||
{
|
||||
public:
|
||||
DataArrayResponseMarshaller() ;
|
||||
virtual ~DataArrayResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*DataArrayResponseMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DataArrayResponseMarshaller_hpp_
|
||||
#define DataArrayResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ResponseMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class DataArrayResponseMarshaller : public ResponseMarshaller
|
||||
{
|
||||
public:
|
||||
DataArrayResponseMarshaller() ;
|
||||
virtual ~DataArrayResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*DataArrayResponseMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DataResponseMarshaller_hpp_
|
||||
#define DataResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ResponseMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class DataResponseMarshaller : public ResponseMarshaller
|
||||
{
|
||||
public:
|
||||
DataResponseMarshaller() ;
|
||||
virtual ~DataResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*DataResponseMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DataResponseMarshaller_hpp_
|
||||
#define DataResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ResponseMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class DataResponseMarshaller : public ResponseMarshaller
|
||||
{
|
||||
public:
|
||||
DataResponseMarshaller() ;
|
||||
virtual ~DataResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*DataResponseMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DestinationInfoMarshaller_hpp_
|
||||
#define DestinationInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class DestinationInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
DestinationInfoMarshaller() ;
|
||||
virtual ~DestinationInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*DestinationInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DestinationInfoMarshaller_hpp_
|
||||
#define DestinationInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class DestinationInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
DestinationInfoMarshaller() ;
|
||||
virtual ~DestinationInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*DestinationInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DiscoveryEventMarshaller_hpp_
|
||||
#define DiscoveryEventMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class DiscoveryEventMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
DiscoveryEventMarshaller() ;
|
||||
virtual ~DiscoveryEventMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*DiscoveryEventMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef DiscoveryEventMarshaller_hpp_
|
||||
#define DiscoveryEventMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class DiscoveryEventMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
DiscoveryEventMarshaller() ;
|
||||
virtual ~DiscoveryEventMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*DiscoveryEventMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ExceptionResponseMarshaller_hpp_
|
||||
#define ExceptionResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ResponseMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ExceptionResponseMarshaller : public ResponseMarshaller
|
||||
{
|
||||
public:
|
||||
ExceptionResponseMarshaller() ;
|
||||
virtual ~ExceptionResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ExceptionResponseMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ExceptionResponseMarshaller_hpp_
|
||||
#define ExceptionResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ResponseMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ExceptionResponseMarshaller : public ResponseMarshaller
|
||||
{
|
||||
public:
|
||||
ExceptionResponseMarshaller() ;
|
||||
virtual ~ExceptionResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ExceptionResponseMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef FlushCommandMarshaller_hpp_
|
||||
#define FlushCommandMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class FlushCommandMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
FlushCommandMarshaller() ;
|
||||
virtual ~FlushCommandMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*FlushCommandMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef FlushCommandMarshaller_hpp_
|
||||
#define FlushCommandMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class FlushCommandMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
FlushCommandMarshaller() ;
|
||||
virtual ~FlushCommandMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*FlushCommandMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef IntegerResponseMarshaller_hpp_
|
||||
#define IntegerResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ResponseMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class IntegerResponseMarshaller : public ResponseMarshaller
|
||||
{
|
||||
public:
|
||||
IntegerResponseMarshaller() ;
|
||||
virtual ~IntegerResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*IntegerResponseMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef IntegerResponseMarshaller_hpp_
|
||||
#define IntegerResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/ResponseMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class IntegerResponseMarshaller : public ResponseMarshaller
|
||||
{
|
||||
public:
|
||||
IntegerResponseMarshaller() ;
|
||||
virtual ~IntegerResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*IntegerResponseMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalQueueAckMarshaller_hpp_
|
||||
#define JournalQueueAckMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class JournalQueueAckMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
JournalQueueAckMarshaller() ;
|
||||
virtual ~JournalQueueAckMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*JournalQueueAckMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalQueueAckMarshaller_hpp_
|
||||
#define JournalQueueAckMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class JournalQueueAckMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
JournalQueueAckMarshaller() ;
|
||||
virtual ~JournalQueueAckMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*JournalQueueAckMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTopicAckMarshaller_hpp_
|
||||
#define JournalTopicAckMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class JournalTopicAckMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
JournalTopicAckMarshaller() ;
|
||||
virtual ~JournalTopicAckMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*JournalTopicAckMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTopicAckMarshaller_hpp_
|
||||
#define JournalTopicAckMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class JournalTopicAckMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
JournalTopicAckMarshaller() ;
|
||||
virtual ~JournalTopicAckMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*JournalTopicAckMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTraceMarshaller_hpp_
|
||||
#define JournalTraceMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class JournalTraceMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
JournalTraceMarshaller() ;
|
||||
virtual ~JournalTraceMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*JournalTraceMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTraceMarshaller_hpp_
|
||||
#define JournalTraceMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class JournalTraceMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
JournalTraceMarshaller() ;
|
||||
virtual ~JournalTraceMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*JournalTraceMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTransactionMarshaller_hpp_
|
||||
#define JournalTransactionMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class JournalTransactionMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
JournalTransactionMarshaller() ;
|
||||
virtual ~JournalTransactionMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*JournalTransactionMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef JournalTransactionMarshaller_hpp_
|
||||
#define JournalTransactionMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class JournalTransactionMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
JournalTransactionMarshaller() ;
|
||||
virtual ~JournalTransactionMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*JournalTransactionMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef KeepAliveInfoMarshaller_hpp_
|
||||
#define KeepAliveInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class KeepAliveInfoMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
KeepAliveInfoMarshaller() ;
|
||||
virtual ~KeepAliveInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*KeepAliveInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef KeepAliveInfoMarshaller_hpp_
|
||||
#define KeepAliveInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class KeepAliveInfoMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
KeepAliveInfoMarshaller() ;
|
||||
virtual ~KeepAliveInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*KeepAliveInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef LocalTransactionIdMarshaller_hpp_
|
||||
#define LocalTransactionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/TransactionIdMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class LocalTransactionIdMarshaller : public TransactionIdMarshaller
|
||||
{
|
||||
public:
|
||||
LocalTransactionIdMarshaller() ;
|
||||
virtual ~LocalTransactionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*LocalTransactionIdMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef LocalTransactionIdMarshaller_hpp_
|
||||
#define LocalTransactionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/TransactionIdMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class LocalTransactionIdMarshaller : public TransactionIdMarshaller
|
||||
{
|
||||
public:
|
||||
LocalTransactionIdMarshaller() ;
|
||||
virtual ~LocalTransactionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*LocalTransactionIdMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageAckMarshaller_hpp_
|
||||
#define MessageAckMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageAckMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
MessageAckMarshaller() ;
|
||||
virtual ~MessageAckMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageAckMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageAckMarshaller_hpp_
|
||||
#define MessageAckMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageAckMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
MessageAckMarshaller() ;
|
||||
virtual ~MessageAckMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageAckMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageDispatchMarshaller_hpp_
|
||||
#define MessageDispatchMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageDispatchMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
MessageDispatchMarshaller() ;
|
||||
virtual ~MessageDispatchMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageDispatchMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageDispatchMarshaller_hpp_
|
||||
#define MessageDispatchMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageDispatchMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
MessageDispatchMarshaller() ;
|
||||
virtual ~MessageDispatchMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageDispatchMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageDispatchNotificationMarshaller_hpp_
|
||||
#define MessageDispatchNotificationMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageDispatchNotificationMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
MessageDispatchNotificationMarshaller() ;
|
||||
virtual ~MessageDispatchNotificationMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageDispatchNotificationMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageDispatchNotificationMarshaller_hpp_
|
||||
#define MessageDispatchNotificationMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageDispatchNotificationMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
MessageDispatchNotificationMarshaller() ;
|
||||
virtual ~MessageDispatchNotificationMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageDispatchNotificationMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageIdMarshaller_hpp_
|
||||
#define MessageIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
MessageIdMarshaller() ;
|
||||
virtual ~MessageIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageIdMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageIdMarshaller_hpp_
|
||||
#define MessageIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
MessageIdMarshaller() ;
|
||||
virtual ~MessageIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageIdMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageMarshaller_hpp_
|
||||
#define MessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
MessageMarshaller() ;
|
||||
virtual ~MessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef MessageMarshaller_hpp_
|
||||
#define MessageMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class MessageMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
MessageMarshaller() ;
|
||||
virtual ~MessageMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*MessageMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ProducerIdMarshaller_hpp_
|
||||
#define ProducerIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ProducerIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
ProducerIdMarshaller() ;
|
||||
virtual ~ProducerIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ProducerIdMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ProducerIdMarshaller_hpp_
|
||||
#define ProducerIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ProducerIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
ProducerIdMarshaller() ;
|
||||
virtual ~ProducerIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ProducerIdMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ProducerInfoMarshaller_hpp_
|
||||
#define ProducerInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ProducerInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ProducerInfoMarshaller() ;
|
||||
virtual ~ProducerInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ProducerInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ProducerInfoMarshaller_hpp_
|
||||
#define ProducerInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ProducerInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ProducerInfoMarshaller() ;
|
||||
virtual ~ProducerInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ProducerInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef RemoveInfoMarshaller_hpp_
|
||||
#define RemoveInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class RemoveInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
RemoveInfoMarshaller() ;
|
||||
virtual ~RemoveInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*RemoveInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef RemoveInfoMarshaller_hpp_
|
||||
#define RemoveInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class RemoveInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
RemoveInfoMarshaller() ;
|
||||
virtual ~RemoveInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*RemoveInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef RemoveSubscriptionInfoMarshaller_hpp_
|
||||
#define RemoveSubscriptionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class RemoveSubscriptionInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
RemoveSubscriptionInfoMarshaller() ;
|
||||
virtual ~RemoveSubscriptionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*RemoveSubscriptionInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef RemoveSubscriptionInfoMarshaller_hpp_
|
||||
#define RemoveSubscriptionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class RemoveSubscriptionInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
RemoveSubscriptionInfoMarshaller() ;
|
||||
virtual ~RemoveSubscriptionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*RemoveSubscriptionInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ResponseMarshaller_hpp_
|
||||
#define ResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ResponseMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ResponseMarshaller() ;
|
||||
virtual ~ResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ResponseMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ResponseMarshaller_hpp_
|
||||
#define ResponseMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ResponseMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ResponseMarshaller() ;
|
||||
virtual ~ResponseMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ResponseMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef SessionIdMarshaller_hpp_
|
||||
#define SessionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class SessionIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
SessionIdMarshaller() ;
|
||||
virtual ~SessionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*SessionIdMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef SessionIdMarshaller_hpp_
|
||||
#define SessionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class SessionIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
SessionIdMarshaller() ;
|
||||
virtual ~SessionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*SessionIdMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef SessionInfoMarshaller_hpp_
|
||||
#define SessionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class SessionInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
SessionInfoMarshaller() ;
|
||||
virtual ~SessionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*SessionInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef SessionInfoMarshaller_hpp_
|
||||
#define SessionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class SessionInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
SessionInfoMarshaller() ;
|
||||
virtual ~SessionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*SessionInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ShutdownInfoMarshaller_hpp_
|
||||
#define ShutdownInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ShutdownInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ShutdownInfoMarshaller() ;
|
||||
virtual ~ShutdownInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ShutdownInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef ShutdownInfoMarshaller_hpp_
|
||||
#define ShutdownInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class ShutdownInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
ShutdownInfoMarshaller() ;
|
||||
virtual ~ShutdownInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*ShutdownInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef SubscriptionInfoMarshaller_hpp_
|
||||
#define SubscriptionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class SubscriptionInfoMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
SubscriptionInfoMarshaller() ;
|
||||
virtual ~SubscriptionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*SubscriptionInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef SubscriptionInfoMarshaller_hpp_
|
||||
#define SubscriptionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class SubscriptionInfoMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
SubscriptionInfoMarshaller() ;
|
||||
virtual ~SubscriptionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*SubscriptionInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef TransactionIdMarshaller_hpp_
|
||||
#define TransactionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class TransactionIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
TransactionIdMarshaller() ;
|
||||
virtual ~TransactionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*TransactionIdMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef TransactionIdMarshaller_hpp_
|
||||
#define TransactionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class TransactionIdMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
TransactionIdMarshaller() ;
|
||||
virtual ~TransactionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*TransactionIdMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef TransactionInfoMarshaller_hpp_
|
||||
#define TransactionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class TransactionInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
TransactionInfoMarshaller() ;
|
||||
virtual ~TransactionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*TransactionInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef TransactionInfoMarshaller_hpp_
|
||||
#define TransactionInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseCommandMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class TransactionInfoMarshaller : public BaseCommandMarshaller
|
||||
{
|
||||
public:
|
||||
TransactionInfoMarshaller() ;
|
||||
virtual ~TransactionInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*TransactionInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef WireFormatInfoMarshaller_hpp_
|
||||
#define WireFormatInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class WireFormatInfoMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
WireFormatInfoMarshaller() ;
|
||||
virtual ~WireFormatInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*WireFormatInfoMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef WireFormatInfoMarshaller_hpp_
|
||||
#define WireFormatInfoMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/BaseDataStreamMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class WireFormatInfoMarshaller : public BaseDataStreamMarshaller
|
||||
{
|
||||
public:
|
||||
WireFormatInfoMarshaller() ;
|
||||
virtual ~WireFormatInfoMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*WireFormatInfoMarshaller_hpp_*/
|
||||
|
|
|
@ -1,71 +1,71 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef XATransactionIdMarshaller_hpp_
|
||||
#define XATransactionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/TransactionIdMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class XATransactionIdMarshaller : public TransactionIdMarshaller
|
||||
{
|
||||
public:
|
||||
XATransactionIdMarshaller() ;
|
||||
virtual ~XATransactionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*XATransactionIdMarshaller_hpp_*/
|
||||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
#ifndef XATransactionIdMarshaller_hpp_
|
||||
#define XATransactionIdMarshaller_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "command/DataStructure.hpp"
|
||||
|
||||
/* we could cut this down - for now include all possible headers */
|
||||
#include "command/BrokerId.hpp"
|
||||
#include "command/ConnectionId.hpp"
|
||||
#include "command/ConsumerId.hpp"
|
||||
#include "command/ProducerId.hpp"
|
||||
#include "command/SessionId.hpp"
|
||||
|
||||
#include "io/BinaryReader.hpp"
|
||||
#include "io/BinaryWriter.hpp"
|
||||
|
||||
#include "command/TransactionIdMarshaller.hpp"
|
||||
#include "util/ifr/p.hpp"
|
||||
|
||||
namespace apache
|
||||
{
|
||||
namespace activemq
|
||||
{
|
||||
namespace client
|
||||
{
|
||||
namespace marshal
|
||||
{
|
||||
using namespace ifr ;
|
||||
using namespace apache::activemq::client::command;
|
||||
using namespace apache::activemq::client::io;
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class XATransactionIdMarshaller : public TransactionIdMarshaller
|
||||
{
|
||||
public:
|
||||
XATransactionIdMarshaller() ;
|
||||
virtual ~XATransactionIdMarshaller() ;
|
||||
|
||||
virtual DataStructure* createCommand() ;
|
||||
virtual byte getDataStructureType() ;
|
||||
|
||||
virtual void unmarshal(OpenWireFormat& wireFormat, Object o, BinaryReader& dataIn, BooleanStream& bs) ;
|
||||
virtual int marshal1(OpenWireFormat& wireFormat, Object& o, BooleanStream& bs) ;
|
||||
virtual void marshal2(OpenWireFormat& wireFormat, Object& o, BinaryWriter& dataOut, BooleanStream& bs) ;
|
||||
} ;
|
||||
|
||||
/* namespace */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /*XATransactionIdMarshaller_hpp_*/
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||
* applicable.
|
||||
*
|
||||
* Licensed 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.
|
||||
*/
|
||||
using ActiveMQ;
|
||||
using ActiveMQ.OpenWire;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Exception thrown when the broker returns an error
|
||||
/// </summary>
|
||||
|
||||
namespace ActiveMQ
|
||||
{
|
||||
public class BrokerException : OpenWireException
|
||||
{
|
||||
|
||||
private BrokerError brokerError;
|
||||
|
||||
public BrokerException(BrokerError brokerError) : base(
|
||||
brokerError.ExceptionClass + " : " + brokerError.Message)
|
||||
{
|
||||
this.brokerError = brokerError;
|
||||
}
|
||||
|
||||
public BrokerError BrokerError
|
||||
{
|
||||
get {
|
||||
return brokerError;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string JavaStackTrace
|
||||
{
|
||||
get {
|
||||
return brokerError.StackTrace;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue