mirror of https://github.com/apache/activemq.git
Adjusted openwire generators
- Got .NET working again after bing WireFormat change - Fixed generated indenting for the java and csharp stuff. git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383767 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
446629bba0
commit
cd0fb615de
|
@ -41,47 +41,47 @@ public abstract class OpenWireCSharpMarshallingScript extends OpenWireJavaMarsha
|
|||
|
||||
|
||||
protected void generateTightUnmarshalBodyForProperty(PrintWriter out, JProperty property, JAnnotationValue size) {
|
||||
out.print(" ");
|
||||
|
||||
String propertyName = property.getSimpleName();
|
||||
String type = property.getType().getSimpleName();
|
||||
|
||||
if (type.equals("boolean")) {
|
||||
out.println("info." + propertyName + " = bs.ReadBoolean();");
|
||||
out.println(" info." + propertyName + " = bs.ReadBoolean();");
|
||||
}
|
||||
else if (type.equals("byte")) {
|
||||
out.println("info." + propertyName + " = dataIn.ReadByte();");
|
||||
out.println(" info." + propertyName + " = dataIn.ReadByte();");
|
||||
}
|
||||
else if (type.equals("char")) {
|
||||
out.println("info." + propertyName + " = dataIn.ReadChar();");
|
||||
out.println(" info." + propertyName + " = dataIn.ReadChar();");
|
||||
}
|
||||
else if (type.equals("short")) {
|
||||
out.println("info." + propertyName + " = dataIn.ReadInt16();");
|
||||
out.println(" info." + propertyName + " = dataIn.ReadInt16();");
|
||||
}
|
||||
else if (type.equals("int")) {
|
||||
out.println("info." + propertyName + " = dataIn.ReadInt32();");
|
||||
out.println(" info." + propertyName + " = dataIn.ReadInt32();");
|
||||
}
|
||||
else if (type.equals("long")) {
|
||||
out.println("info." + propertyName + " = TightUnmarshalLong(wireFormat, dataIn, bs);");
|
||||
out.println(" info." + propertyName + " = TightUnmarshalLong(wireFormat, dataIn, bs);");
|
||||
}
|
||||
else if (type.equals("String")) {
|
||||
out.println("info." + propertyName + " = TightUnmarshalString(dataIn, bs);");
|
||||
out.println(" info." + propertyName + " = TightUnmarshalString(dataIn, bs);");
|
||||
}
|
||||
else if (type.equals("byte[]") || type.equals("ByteSequence")) {
|
||||
if (size != null) {
|
||||
out.println("info." + propertyName + " = ReadBytes(dataIn, " + size.asInt() + ");");
|
||||
out.println(" info." + propertyName + " = ReadBytes(dataIn, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("info." + propertyName + " = ReadBytes(dataIn, bs.ReadBoolean());");
|
||||
out.println(" info." + propertyName + " = ReadBytes(dataIn, bs.ReadBoolean());");
|
||||
}
|
||||
}
|
||||
else if (isThrowable(property.getType())) {
|
||||
out.println("info." + propertyName + " = TightUnmarshalBrokerError(wireFormat, dataIn, bs);");
|
||||
out.println(" info." + propertyName + " = TightUnmarshalBrokerError(wireFormat, dataIn, bs);");
|
||||
}
|
||||
else if (isCachedProperty(property)) {
|
||||
out.println("info." + propertyName + " = (" + type + ") TightUnmarshalCachedObject(wireFormat, dataIn, bs);");
|
||||
out.println(" info." + propertyName + " = (" + type + ") TightUnmarshalCachedObject(wireFormat, dataIn, bs);");
|
||||
}
|
||||
else {
|
||||
out.println("info." + propertyName + " = (" + type + ") TightUnmarshalNestedObject(wireFormat, dataIn, bs);");
|
||||
out.println(" info." + propertyName + " = (" + type + ") TightUnmarshalNestedObject(wireFormat, dataIn, bs);");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -125,9 +125,8 @@ public abstract class OpenWireCSharpMarshallingScript extends OpenWireJavaMarsha
|
|||
String type = propertyType.getSimpleName();
|
||||
String getter = "info." + property.getSimpleName();
|
||||
|
||||
out.print(indent);
|
||||
if (type.equals("boolean")) {
|
||||
out.println("bs.WriteBoolean(" + getter + ");");
|
||||
out.println(" bs.WriteBoolean(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("byte")) {
|
||||
baseSize += 1;
|
||||
|
@ -142,14 +141,15 @@ public abstract class OpenWireCSharpMarshallingScript extends OpenWireJavaMarsha
|
|||
baseSize += 4;
|
||||
}
|
||||
else if (type.equals("long")) {
|
||||
out.println("rc += TightMarshalLong1(wireFormat, " + getter + ", bs);");
|
||||
out.println(" rc += TightMarshalLong1(wireFormat, " + getter + ", bs);");
|
||||
}
|
||||
else if (type.equals("String")) {
|
||||
out.println("rc += TightMarshalString1(" + getter + ", bs);");
|
||||
out.print("");
|
||||
out.println(" rc += TightMarshalString1(" + getter + ", bs);");
|
||||
}
|
||||
else if (type.equals("byte[]") || type.equals("ByteSequence")) {
|
||||
if (size == null) {
|
||||
out.println("bs.WriteBoolean(" + getter + "!=null);");
|
||||
out.println(" bs.WriteBoolean(" + getter + "!=null);");
|
||||
out.println(" rc += " + getter + "==null ? 0 : " + getter + ".Length+4;");
|
||||
}
|
||||
else {
|
||||
|
@ -158,21 +158,21 @@ public abstract class OpenWireCSharpMarshallingScript extends OpenWireJavaMarsha
|
|||
}
|
||||
else if (propertyType.isArrayType()) {
|
||||
if (size != null) {
|
||||
out.println("rc += TightMarshalObjectArrayConstSize1(wireFormat, " + getter + ", bs, " + size.asInt() + ");");
|
||||
out.println(" rc += TightMarshalObjectArrayConstSize1(wireFormat, " + getter + ", bs, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("rc += TightMarshalObjectArray1(wireFormat, " + getter + ", bs);");
|
||||
out.println(" rc += TightMarshalObjectArray1(wireFormat, " + getter + ", bs);");
|
||||
}
|
||||
}
|
||||
else if (isThrowable(propertyType)) {
|
||||
out.println("rc += TightMarshalBrokerError1(wireFormat, " + getter + ", bs);");
|
||||
out.println(" rc += TightMarshalBrokerError1(wireFormat, " + getter + ", bs);");
|
||||
}
|
||||
else {
|
||||
if (isCachedProperty(property)) {
|
||||
out.println("rc += TightMarshalCachedObject1(wireFormat, (DataStructure)" + getter + ", bs);");
|
||||
out.println(" rc += TightMarshalCachedObject1(wireFormat, (DataStructure)" + getter + ", bs);");
|
||||
}
|
||||
else {
|
||||
out.println("rc += TightMarshalNestedObject1(wireFormat, (DataStructure)" + getter + ", bs);");
|
||||
out.println(" rc += TightMarshalNestedObject1(wireFormat, (DataStructure)" + getter + ", bs);");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -189,34 +189,33 @@ public abstract class OpenWireCSharpMarshallingScript extends OpenWireJavaMarsha
|
|||
String type = propertyType.getSimpleName();
|
||||
String getter = "info." + property.getSimpleName();
|
||||
|
||||
out.print(indent);
|
||||
if (type.equals("boolean")) {
|
||||
out.println("bs.ReadBoolean();");
|
||||
out.println(" bs.ReadBoolean();");
|
||||
}
|
||||
else if (type.equals("byte")) {
|
||||
out.println("dataOut.Write(" + getter + ");");
|
||||
out.println(" dataOut.Write(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("char")) {
|
||||
out.println("dataOut.Write(" + getter + ");");
|
||||
out.println(" dataOut.Write(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("short")) {
|
||||
out.println("dataOut.Write(" + getter + ");");
|
||||
out.println(" dataOut.Write(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("int")) {
|
||||
out.println("dataOut.Write(" + getter + ");");
|
||||
out.println(" dataOut.Write(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("long")) {
|
||||
out.println("TightMarshalLong2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
out.println(" TightMarshalLong2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
}
|
||||
else if (type.equals("String")) {
|
||||
out.println("TightMarshalString2(" + getter + ", dataOut, bs);");
|
||||
out.println(" TightMarshalString2(" + getter + ", dataOut, bs);");
|
||||
}
|
||||
else if (type.equals("byte[]") || type.equals("ByteSequence")) {
|
||||
if (size != null) {
|
||||
out.println("dataOut.Write(" + getter + ", 0, " + size.asInt() + ");");
|
||||
out.println(" dataOut.Write(" + getter + ", 0, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("if(bs.ReadBoolean()) {");
|
||||
out.println(" if(bs.ReadBoolean()) {");
|
||||
out.println(" dataOut.Write(" + getter + ".Length);");
|
||||
out.println(" dataOut.Write(" + getter + ");");
|
||||
out.println(" }");
|
||||
|
@ -224,21 +223,21 @@ public abstract class OpenWireCSharpMarshallingScript extends OpenWireJavaMarsha
|
|||
}
|
||||
else if (propertyType.isArrayType()) {
|
||||
if (size != null) {
|
||||
out.println("TightMarshalObjectArrayConstSize2(wireFormat, " + getter + ", dataOut, bs, " + size.asInt() + ");");
|
||||
out.println(" TightMarshalObjectArrayConstSize2(wireFormat, " + getter + ", dataOut, bs, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("TightMarshalObjectArray2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
out.println(" TightMarshalObjectArray2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
}
|
||||
}
|
||||
else if (isThrowable(propertyType)) {
|
||||
out.println("TightMarshalBrokerError2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
out.println(" TightMarshalBrokerError2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
}
|
||||
else {
|
||||
if (isCachedProperty(property)) {
|
||||
out.println("TightMarshalCachedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);");
|
||||
out.println(" TightMarshalCachedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);");
|
||||
}
|
||||
else {
|
||||
out.println("TightMarshalNestedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);");
|
||||
out.println(" TightMarshalNestedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -115,50 +115,49 @@ public abstract class OpenWireJavaMarshallingScript extends OpenWireClassesScrip
|
|||
}
|
||||
|
||||
protected void generateTightUnmarshalBodyForProperty(PrintWriter out, JProperty property, JAnnotationValue size) {
|
||||
out.print(" ");
|
||||
String setter = property.getSetter().getSimpleName();
|
||||
String type = property.getType().getSimpleName();
|
||||
|
||||
if (type.equals("boolean")) {
|
||||
out.println("info." + setter + "(bs.readBoolean());");
|
||||
out.println(" info." + setter + "(bs.readBoolean());");
|
||||
}
|
||||
else if (type.equals("byte")) {
|
||||
out.println("info." + setter + "(dataIn.readByte());");
|
||||
out.println(" info." + setter + "(dataIn.readByte());");
|
||||
}
|
||||
else if (type.equals("char")) {
|
||||
out.println("info." + setter + "(dataIn.readChar());");
|
||||
out.println(" info." + setter + "(dataIn.readChar());");
|
||||
}
|
||||
else if (type.equals("short")) {
|
||||
out.println("info." + setter + "(dataIn.readShort());");
|
||||
out.println(" info." + setter + "(dataIn.readShort());");
|
||||
}
|
||||
else if (type.equals("int")) {
|
||||
out.println("info." + setter + "(dataIn.readInt());");
|
||||
out.println(" info." + setter + "(dataIn.readInt());");
|
||||
}
|
||||
else if (type.equals("long")) {
|
||||
out.println("info." + setter + "(tightUnmarshalLong(wireFormat, dataIn, bs));");
|
||||
out.println(" info." + setter + "(tightUnmarshalLong(wireFormat, dataIn, bs));");
|
||||
}
|
||||
else if (type.equals("String")) {
|
||||
out.println("info." + setter + "(tightUnmarshalString(dataIn, bs));");
|
||||
out.println(" info." + setter + "(tightUnmarshalString(dataIn, bs));");
|
||||
}
|
||||
else if (type.equals("byte[]")) {
|
||||
if (size != null) {
|
||||
out.println("info." + setter + "(tightUnmarshalConstByteArray(dataIn, bs, "+ size.asInt() +"));");
|
||||
out.println(" info." + setter + "(tightUnmarshalConstByteArray(dataIn, bs, "+ size.asInt() +"));");
|
||||
}
|
||||
else {
|
||||
out.println("info." + setter + "(tightUnmarshalByteArray(dataIn, bs));");
|
||||
out.println(" info." + setter + "(tightUnmarshalByteArray(dataIn, bs));");
|
||||
}
|
||||
}
|
||||
else if (type.equals("ByteSequence")) {
|
||||
out.println("info." + setter + "(tightUnmarshalByteSequence(dataIn, bs));");
|
||||
out.println(" info." + setter + "(tightUnmarshalByteSequence(dataIn, bs));");
|
||||
}
|
||||
else if (isThrowable(property.getType())) {
|
||||
out.println("info." + setter + "((" + property.getType().getQualifiedName() + ") tightUnmarsalThrowable(wireFormat, dataIn, bs));");
|
||||
out.println(" info." + setter + "((" + property.getType().getQualifiedName() + ") tightUnmarsalThrowable(wireFormat, dataIn, bs));");
|
||||
}
|
||||
else if (isCachedProperty(property)) {
|
||||
out.println("info." + setter + "((" + property.getType().getQualifiedName() + ") tightUnmarsalCachedObject(wireFormat, dataIn, bs));");
|
||||
out.println(" info." + setter + "((" + property.getType().getQualifiedName() + ") tightUnmarsalCachedObject(wireFormat, dataIn, bs));");
|
||||
}
|
||||
else {
|
||||
out.println("info." + setter + "((" + property.getType().getQualifiedName() + ") tightUnmarsalNestedObject(wireFormat, dataIn, bs));");
|
||||
out.println(" info." + setter + "((" + property.getType().getQualifiedName() + ") tightUnmarsalNestedObject(wireFormat, dataIn, bs));");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -202,9 +201,8 @@ public abstract class OpenWireJavaMarshallingScript extends OpenWireClassesScrip
|
|||
String type = propertyType.getSimpleName();
|
||||
String getter = "info." + property.getGetter().getSimpleName() + "()";
|
||||
|
||||
out.print(indent);
|
||||
if (type.equals("boolean")) {
|
||||
out.println("bs.writeBoolean(" + getter + ");");
|
||||
out.println(" bs.writeBoolean(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("byte")) {
|
||||
baseSize += 1;
|
||||
|
@ -219,39 +217,39 @@ public abstract class OpenWireJavaMarshallingScript extends OpenWireClassesScrip
|
|||
baseSize += 4;
|
||||
}
|
||||
else if (type.equals("long")) {
|
||||
out.println("rc+=tightMarshalLong1(wireFormat, " + getter + ", bs);");
|
||||
out.println(" rc+=tightMarshalLong1(wireFormat, " + getter + ", bs);");
|
||||
}
|
||||
else if (type.equals("String")) {
|
||||
out.println("rc += tightMarshalString1(" + getter + ", bs);");
|
||||
out.println(" rc += tightMarshalString1(" + getter + ", bs);");
|
||||
}
|
||||
else if (type.equals("byte[]")) {
|
||||
if (size == null) {
|
||||
out.println("rc += tightMarshalByteArray1(" + getter + ", bs);");
|
||||
out.println(" rc += tightMarshalByteArray1(" + getter + ", bs);");
|
||||
}
|
||||
else {
|
||||
out.println("rc += tightMarshalConstByteArray1(" + getter + ", bs, "+size.asInt()+");");
|
||||
out.println(" rc += tightMarshalConstByteArray1(" + getter + ", bs, "+size.asInt()+");");
|
||||
}
|
||||
}
|
||||
else if (type.equals("ByteSequence")) {
|
||||
out.println("rc += tightMarshalByteSequence1(" + getter + ", bs);");
|
||||
out.println(" rc += tightMarshalByteSequence1(" + getter + ", bs);");
|
||||
}
|
||||
else if (propertyType.isArrayType()) {
|
||||
if (size != null) {
|
||||
out.println("rc += tightMarshalObjectArrayConstSize1(wireFormat, " + getter + ", bs, " + size.asInt() + ");");
|
||||
out.println(" rc += tightMarshalObjectArrayConstSize1(wireFormat, " + getter + ", bs, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("rc += tightMarshalObjectArray1(wireFormat, " + getter + ", bs);");
|
||||
out.println(" rc += tightMarshalObjectArray1(wireFormat, " + getter + ", bs);");
|
||||
}
|
||||
}
|
||||
else if (isThrowable(propertyType)) {
|
||||
out.println("rc += tightMarshalThrowable1(wireFormat, " + getter + ", bs);");
|
||||
out.println(" rc += tightMarshalThrowable1(wireFormat, " + getter + ", bs);");
|
||||
}
|
||||
else {
|
||||
if (isCachedProperty(property)) {
|
||||
out.println("rc += tightMarshalCachedObject1(wireFormat, (DataStructure)" + getter + ", bs);");
|
||||
out.println(" rc += tightMarshalCachedObject1(wireFormat, (DataStructure)" + getter + ", bs);");
|
||||
}
|
||||
else {
|
||||
out.println("rc += tightMarshalNestedObject1(wireFormat, (DataStructure)" + getter + ", bs);");
|
||||
out.println(" rc += tightMarshalNestedObject1(wireFormat, (DataStructure)" + getter + ", bs);");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -268,56 +266,55 @@ public abstract class OpenWireJavaMarshallingScript extends OpenWireClassesScrip
|
|||
String type = propertyType.getSimpleName();
|
||||
String getter = "info." + property.getGetter().getSimpleName() + "()";
|
||||
|
||||
out.print(indent);
|
||||
if (type.equals("boolean")) {
|
||||
out.println("bs.readBoolean();");
|
||||
out.println(" bs.readBoolean();");
|
||||
}
|
||||
else if (type.equals("byte")) {
|
||||
out.println("dataOut.writeByte(" + getter + ");");
|
||||
out.println(" dataOut.writeByte(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("char")) {
|
||||
out.println("dataOut.writeChar(" + getter + ");");
|
||||
out.println(" dataOut.writeChar(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("short")) {
|
||||
out.println("dataOut.writeShort(" + getter + ");");
|
||||
out.println(" dataOut.writeShort(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("int")) {
|
||||
out.println("dataOut.writeInt(" + getter + ");");
|
||||
out.println(" dataOut.writeInt(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("long")) {
|
||||
out.println("tightMarshalLong2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
out.println(" tightMarshalLong2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
}
|
||||
else if (type.equals("String")) {
|
||||
out.println("tightMarshalString2(" + getter + ", dataOut, bs);");
|
||||
out.println(" tightMarshalString2(" + getter + ", dataOut, bs);");
|
||||
}
|
||||
else if (type.equals("byte[]")) {
|
||||
if (size != null) {
|
||||
out.println("tightMarshalConstByteArray2(" + getter + ", dataOut, bs, " + size.asInt() + ");");
|
||||
out.println(" tightMarshalConstByteArray2(" + getter + ", dataOut, bs, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("tightMarshalByteArray2(" + getter + ", dataOut, bs);");
|
||||
out.println(" tightMarshalByteArray2(" + getter + ", dataOut, bs);");
|
||||
}
|
||||
}
|
||||
else if (type.equals("ByteSequence")) {
|
||||
out.println("tightMarshalByteSequence2(" + getter + ", dataOut, bs);");
|
||||
out.println(" tightMarshalByteSequence2(" + getter + ", dataOut, bs);");
|
||||
}
|
||||
else if (propertyType.isArrayType()) {
|
||||
if (size != null) {
|
||||
out.println("tightMarshalObjectArrayConstSize2(wireFormat, " + getter + ", dataOut, bs, " + size.asInt() + ");");
|
||||
out.println(" tightMarshalObjectArrayConstSize2(wireFormat, " + getter + ", dataOut, bs, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("tightMarshalObjectArray2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
out.println(" tightMarshalObjectArray2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
}
|
||||
}
|
||||
else if (isThrowable(propertyType)) {
|
||||
out.println("tightMarshalThrowable2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
out.println(" tightMarshalThrowable2(wireFormat, " + getter + ", dataOut, bs);");
|
||||
}
|
||||
else {
|
||||
if (isCachedProperty(property)) {
|
||||
out.println("tightMarshalCachedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);");
|
||||
out.println(" tightMarshalCachedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);");
|
||||
}
|
||||
else {
|
||||
out.println("tightMarshalNestedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);");
|
||||
out.println(" tightMarshalNestedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -335,56 +332,55 @@ public abstract class OpenWireJavaMarshallingScript extends OpenWireClassesScrip
|
|||
String type = propertyType.getSimpleName();
|
||||
String getter = "info." + property.getGetter().getSimpleName() + "()";
|
||||
|
||||
out.print(indent);
|
||||
if (type.equals("boolean")) {
|
||||
out.println("dataOut.writeBoolean("+ getter + ");");
|
||||
out.println(" dataOut.writeBoolean("+ getter + ");");
|
||||
}
|
||||
else if (type.equals("byte")) {
|
||||
out.println("dataOut.writeByte(" + getter + ");");
|
||||
out.println(" dataOut.writeByte(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("char")) {
|
||||
out.println("dataOut.writeChar(" + getter + ");");
|
||||
out.println(" dataOut.writeChar(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("short")) {
|
||||
out.println("dataOut.writeShort(" + getter + ");");
|
||||
out.println(" dataOut.writeShort(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("int")) {
|
||||
out.println("dataOut.writeInt(" + getter + ");");
|
||||
out.println(" dataOut.writeInt(" + getter + ");");
|
||||
}
|
||||
else if (type.equals("long")) {
|
||||
out.println("looseMarshalLong(wireFormat, " + getter + ", dataOut);");
|
||||
out.println(" looseMarshalLong(wireFormat, " + getter + ", dataOut);");
|
||||
}
|
||||
else if (type.equals("String")) {
|
||||
out.println("looseMarshalString(" + getter + ", dataOut);");
|
||||
out.println(" looseMarshalString(" + getter + ", dataOut);");
|
||||
}
|
||||
else if (type.equals("byte[]")) {
|
||||
if (size != null) {
|
||||
out.println("looseMarshalConstByteArray(wireFormat, " + getter + ", dataOut, " + size.asInt() + ");");
|
||||
out.println(" looseMarshalConstByteArray(wireFormat, " + getter + ", dataOut, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("looseMarshalByteArray(wireFormat, " + getter + ", dataOut);");
|
||||
out.println(" looseMarshalByteArray(wireFormat, " + getter + ", dataOut);");
|
||||
}
|
||||
}
|
||||
else if (type.equals("ByteSequence")) {
|
||||
out.println("looseMarshalByteSequence(wireFormat, " + getter + ", dataOut);");
|
||||
out.println(" looseMarshalByteSequence(wireFormat, " + getter + ", dataOut);");
|
||||
}
|
||||
else if (propertyType.isArrayType()) {
|
||||
if (size != null) {
|
||||
out.println("looseMarshalObjectArrayConstSize(wireFormat, " + getter + ", dataOut, " + size.asInt() + ");");
|
||||
out.println(" looseMarshalObjectArrayConstSize(wireFormat, " + getter + ", dataOut, " + size.asInt() + ");");
|
||||
}
|
||||
else {
|
||||
out.println("looseMarshalObjectArray(wireFormat, " + getter + ", dataOut);");
|
||||
out.println(" looseMarshalObjectArray(wireFormat, " + getter + ", dataOut);");
|
||||
}
|
||||
}
|
||||
else if (isThrowable(propertyType)) {
|
||||
out.println("looseMarshalThrowable(wireFormat, " + getter + ", dataOut);");
|
||||
out.println(" looseMarshalThrowable(wireFormat, " + getter + ", dataOut);");
|
||||
}
|
||||
else {
|
||||
if (isCachedProperty(property)) {
|
||||
out.println("looseMarshalCachedObject(wireFormat, (DataStructure)" + getter + ", dataOut);");
|
||||
out.println(" looseMarshalCachedObject(wireFormat, (DataStructure)" + getter + ", dataOut);");
|
||||
}
|
||||
else {
|
||||
out.println("looseMarshalNestedObject(wireFormat, (DataStructure)" + getter + ", dataOut);");
|
||||
out.println(" looseMarshalNestedObject(wireFormat, (DataStructure)" + getter + ", dataOut);");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -410,50 +406,49 @@ public abstract class OpenWireJavaMarshallingScript extends OpenWireClassesScrip
|
|||
}
|
||||
|
||||
protected void generateLooseUnmarshalBodyForProperty(PrintWriter out, JProperty property, JAnnotationValue size) {
|
||||
out.print(" ");
|
||||
String setter = property.getSetter().getSimpleName();
|
||||
String type = property.getType().getSimpleName();
|
||||
|
||||
if (type.equals("boolean")) {
|
||||
out.println("info." + setter + "(dataIn.readBoolean());");
|
||||
out.println(" info." + setter + "(dataIn.readBoolean());");
|
||||
}
|
||||
else if (type.equals("byte")) {
|
||||
out.println("info." + setter + "(dataIn.readByte());");
|
||||
out.println(" info." + setter + "(dataIn.readByte());");
|
||||
}
|
||||
else if (type.equals("char")) {
|
||||
out.println("info." + setter + "(dataIn.readChar());");
|
||||
out.println(" info." + setter + "(dataIn.readChar());");
|
||||
}
|
||||
else if (type.equals("short")) {
|
||||
out.println("info." + setter + "(dataIn.readShort());");
|
||||
out.println(" info." + setter + "(dataIn.readShort());");
|
||||
}
|
||||
else if (type.equals("int")) {
|
||||
out.println("info." + setter + "(dataIn.readInt());");
|
||||
out.println(" info." + setter + "(dataIn.readInt());");
|
||||
}
|
||||
else if (type.equals("long")) {
|
||||
out.println("info." + setter + "(looseUnmarshalLong(wireFormat, dataIn));");
|
||||
out.println(" info." + setter + "(looseUnmarshalLong(wireFormat, dataIn));");
|
||||
}
|
||||
else if (type.equals("String")) {
|
||||
out.println("info." + setter + "(looseUnmarshalString(dataIn));");
|
||||
out.println(" info." + setter + "(looseUnmarshalString(dataIn));");
|
||||
}
|
||||
else if (type.equals("byte[]")) {
|
||||
if (size != null) {
|
||||
out.println("info." + setter + "(looseUnmarshalConstByteArray(dataIn, " + size.asInt() + "));");
|
||||
out.println(" info." + setter + "(looseUnmarshalConstByteArray(dataIn, " + size.asInt() + "));");
|
||||
}
|
||||
else {
|
||||
out.println("info." + setter + "(looseUnmarshalByteArray(dataIn));");
|
||||
out.println(" info." + setter + "(looseUnmarshalByteArray(dataIn));");
|
||||
}
|
||||
}
|
||||
else if (type.equals("ByteSequence")) {
|
||||
out.println("info." + setter + "(looseUnmarshalByteSequence(dataIn));");
|
||||
out.println(" info." + setter + "(looseUnmarshalByteSequence(dataIn));");
|
||||
}
|
||||
else if (isThrowable(property.getType())) {
|
||||
out.println("info." + setter + "((" + property.getType().getQualifiedName() + ") looseUnmarsalThrowable(wireFormat, dataIn));");
|
||||
out.println(" info." + setter + "((" + property.getType().getQualifiedName() + ") looseUnmarsalThrowable(wireFormat, dataIn));");
|
||||
}
|
||||
else if (isCachedProperty(property)) {
|
||||
out.println("info." + setter + "((" + property.getType().getQualifiedName() + ") looseUnmarsalCachedObject(wireFormat, dataIn));");
|
||||
out.println(" info." + setter + "((" + property.getType().getQualifiedName() + ") looseUnmarsalCachedObject(wireFormat, dataIn));");
|
||||
}
|
||||
else {
|
||||
out.println("info." + setter + "((" + property.getType().getQualifiedName() + ") looseUnmarsalNestedObject(wireFormat, dataIn));");
|
||||
out.println(" info." + setter + "((" + property.getType().getQualifiedName() + ") looseUnmarsalNestedObject(wireFormat, dataIn));");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ public abstract class OpenWireScript extends GramSupport {
|
|||
}
|
||||
else {
|
||||
String simpleName = j.getSimpleName();
|
||||
return simpleName.equals("ActiveMQMessage");
|
||||
return simpleName.equals("ActiveMQMessage") || simpleName.equals("WireFormatInfo");
|
||||
}
|
||||
/*
|
||||
* else { // is it a message type String simpleName = j.getSimpleName();
|
||||
|
|
|
@ -111,7 +111,6 @@ out << """
|
|||
${jclass.simpleName} info = (${jclass.simpleName})o;
|
||||
"""
|
||||
|
||||
|
||||
if( marshallerAware ) out << """
|
||||
info.BeforeMarshall(wireFormat);
|
||||
"""
|
||||
|
|
|
@ -16,14 +16,6 @@
|
|||
*/
|
||||
package org.apache.activemq.command;
|
||||
|
||||
import org.activeio.ByteArrayInputStream;
|
||||
import org.activeio.ByteArrayOutputStream;
|
||||
import org.activeio.ByteSequence;
|
||||
import org.activeio.command.WireFormat;
|
||||
import org.apache.activemq.state.CommandVisitor;
|
||||
import org.apache.activemq.util.IntrospectionSupport;
|
||||
import org.apache.activemq.util.MarshallingSupport;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
@ -32,6 +24,14 @@ import java.util.Collections;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.activeio.ByteArrayInputStream;
|
||||
import org.activeio.ByteArrayOutputStream;
|
||||
import org.activeio.ByteSequence;
|
||||
import org.activeio.command.WireFormat;
|
||||
import org.apache.activemq.state.CommandVisitor;
|
||||
import org.apache.activemq.util.IntrospectionSupport;
|
||||
import org.apache.activemq.util.MarshallingSupport;
|
||||
|
||||
/**
|
||||
*
|
||||
* @openwire:marshaller code="1"
|
||||
|
|
|
@ -63,7 +63,7 @@ public abstract class ActiveMQDestinationMarshaller extends BaseDataStreamMarsha
|
|||
ActiveMQDestination info = (ActiveMQDestination)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getPhysicalName(), bs);
|
||||
rc += tightMarshalString1(info.getPhysicalName(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ public abstract class ActiveMQDestinationMarshaller extends BaseDataStreamMarsha
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ActiveMQDestination info = (ActiveMQDestination)o;
|
||||
tightMarshalString2(info.getPhysicalName(), dataOut, bs);
|
||||
tightMarshalString2(info.getPhysicalName(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -107,7 +107,7 @@ public abstract class ActiveMQDestinationMarshaller extends BaseDataStreamMarsha
|
|||
ActiveMQDestination info = (ActiveMQDestination)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getPhysicalName(), dataOut);
|
||||
looseMarshalString(info.getPhysicalName(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,8 +80,8 @@ public abstract class BaseCommandMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
BaseCommand info = (BaseCommand)o;
|
||||
dataOut.writeShort(info.getCommandId());
|
||||
bs.readBoolean();
|
||||
dataOut.writeShort(info.getCommandId());
|
||||
bs.readBoolean();
|
||||
|
||||
}
|
||||
|
||||
|
@ -110,8 +110,8 @@ public abstract class BaseCommandMarshaller extends BaseDataStreamMarshaller {
|
|||
BaseCommand info = (BaseCommand)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
dataOut.writeShort(info.getCommandId());
|
||||
dataOut.writeBoolean(info.isResponseRequired());
|
||||
dataOut.writeShort(info.getCommandId());
|
||||
dataOut.writeBoolean(info.isResponseRequired());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class BrokerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
BrokerId info = (BrokerId)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getValue(), bs);
|
||||
rc += tightMarshalString1(info.getValue(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class BrokerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
BrokerId info = (BrokerId)o;
|
||||
tightMarshalString2(info.getValue(), dataOut, bs);
|
||||
tightMarshalString2(info.getValue(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class BrokerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
BrokerId info = (BrokerId)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getValue(), dataOut);
|
||||
looseMarshalString(info.getValue(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,11 +93,11 @@ public class BrokerInfoMarshaller extends BaseCommandMarshaller {
|
|||
BrokerInfo info = (BrokerInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
|
||||
rc += tightMarshalString1(info.getBrokerURL(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
|
||||
rc += tightMarshalString1(info.getBrokerName(), bs);
|
||||
bs.writeBoolean(info.isSlaveBroker());
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
|
||||
rc += tightMarshalString1(info.getBrokerURL(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
|
||||
rc += tightMarshalString1(info.getBrokerName(), bs);
|
||||
bs.writeBoolean(info.isSlaveBroker());
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -113,11 +113,11 @@ public class BrokerInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
BrokerInfo info = (BrokerInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs);
|
||||
tightMarshalString2(info.getBrokerURL(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
|
||||
tightMarshalString2(info.getBrokerName(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs);
|
||||
tightMarshalString2(info.getBrokerURL(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
|
||||
tightMarshalString2(info.getBrokerName(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
|
||||
}
|
||||
|
||||
|
@ -160,11 +160,11 @@ public class BrokerInfoMarshaller extends BaseCommandMarshaller {
|
|||
BrokerInfo info = (BrokerInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
|
||||
looseMarshalString(info.getBrokerURL(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
|
||||
looseMarshalString(info.getBrokerName(), dataOut);
|
||||
dataOut.writeBoolean(info.isSlaveBroker());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
|
||||
looseMarshalString(info.getBrokerURL(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
|
||||
looseMarshalString(info.getBrokerName(), dataOut);
|
||||
dataOut.writeBoolean(info.isSlaveBroker());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,8 +79,8 @@ public class ConnectionErrorMarshaller extends BaseCommandMarshaller {
|
|||
ConnectionError info = (ConnectionError)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalThrowable1(wireFormat, info.getException(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalThrowable1(wireFormat, info.getException(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -96,8 +96,8 @@ public class ConnectionErrorMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConnectionError info = (ConnectionError)o;
|
||||
tightMarshalThrowable2(wireFormat, info.getException(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalThrowable2(wireFormat, info.getException(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -126,8 +126,8 @@ public class ConnectionErrorMarshaller extends BaseCommandMarshaller {
|
|||
ConnectionError info = (ConnectionError)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalThrowable(wireFormat, info.getException(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalThrowable(wireFormat, info.getException(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class ConnectionIdMarshaller extends BaseDataStreamMarshaller {
|
|||
ConnectionId info = (ConnectionId)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getValue(), bs);
|
||||
rc += tightMarshalString1(info.getValue(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class ConnectionIdMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConnectionId info = (ConnectionId)o;
|
||||
tightMarshalString2(info.getValue(), dataOut, bs);
|
||||
tightMarshalString2(info.getValue(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class ConnectionIdMarshaller extends BaseDataStreamMarshaller {
|
|||
ConnectionId info = (ConnectionId)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getValue(), dataOut);
|
||||
looseMarshalString(info.getValue(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,11 +93,11 @@ public class ConnectionInfoMarshaller extends BaseCommandMarshaller {
|
|||
ConnectionInfo info = (ConnectionInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalString1(info.getClientId(), bs);
|
||||
rc += tightMarshalString1(info.getPassword(), bs);
|
||||
rc += tightMarshalString1(info.getUserName(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalString1(info.getClientId(), bs);
|
||||
rc += tightMarshalString1(info.getPassword(), bs);
|
||||
rc += tightMarshalString1(info.getUserName(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -113,11 +113,11 @@ public class ConnectionInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConnectionInfo info = (ConnectionInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalString2(info.getClientId(), dataOut, bs);
|
||||
tightMarshalString2(info.getPassword(), dataOut, bs);
|
||||
tightMarshalString2(info.getUserName(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalString2(info.getClientId(), dataOut, bs);
|
||||
tightMarshalString2(info.getPassword(), dataOut, bs);
|
||||
tightMarshalString2(info.getUserName(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -160,11 +160,11 @@ public class ConnectionInfoMarshaller extends BaseCommandMarshaller {
|
|||
ConnectionInfo info = (ConnectionInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalString(info.getClientId(), dataOut);
|
||||
looseMarshalString(info.getPassword(), dataOut);
|
||||
looseMarshalString(info.getUserName(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalString(info.getClientId(), dataOut);
|
||||
looseMarshalString(info.getPassword(), dataOut);
|
||||
looseMarshalString(info.getUserName(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,9 +80,9 @@ public class ConsumerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
ConsumerId info = (ConsumerId)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getConnectionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getSessionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
|
||||
rc += tightMarshalString1(info.getConnectionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getSessionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -98,9 +98,9 @@ public class ConsumerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConsumerId info = (ConsumerId)o;
|
||||
tightMarshalString2(info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getSessionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
|
||||
tightMarshalString2(info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getSessionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -130,9 +130,9 @@ public class ConsumerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
ConsumerId info = (ConsumerId)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getConnectionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getSessionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getValue(), dataOut);
|
||||
looseMarshalString(info.getConnectionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getSessionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getValue(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,18 +103,18 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
ConsumerInfo info = (ConsumerInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
|
||||
bs.writeBoolean(info.isBrowser());
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
bs.writeBoolean(info.isDispatchAsync());
|
||||
rc += tightMarshalString1(info.getSelector(), bs);
|
||||
rc += tightMarshalString1(info.getSubcriptionName(), bs);
|
||||
bs.writeBoolean(info.isNoLocal());
|
||||
bs.writeBoolean(info.isExclusive());
|
||||
bs.writeBoolean(info.isRetroactive());
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
|
||||
bs.writeBoolean(info.isBrowser());
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
bs.writeBoolean(info.isDispatchAsync());
|
||||
rc += tightMarshalString1(info.getSelector(), bs);
|
||||
rc += tightMarshalString1(info.getSubcriptionName(), bs);
|
||||
bs.writeBoolean(info.isNoLocal());
|
||||
bs.writeBoolean(info.isExclusive());
|
||||
bs.writeBoolean(info.isRetroactive());
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getAdditionalPredicate(), bs);
|
||||
bs.writeBoolean(info.isNetworkSubscription());
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getAdditionalPredicate(), bs);
|
||||
bs.writeBoolean(info.isNetworkSubscription());
|
||||
|
||||
return rc + 9;
|
||||
}
|
||||
|
@ -130,21 +130,21 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConsumerInfo info = (ConsumerInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
dataOut.writeInt(info.getPrefetchSize());
|
||||
dataOut.writeInt(info.getMaximumPendingMessageLimit());
|
||||
bs.readBoolean();
|
||||
tightMarshalString2(info.getSelector(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
bs.readBoolean();
|
||||
bs.readBoolean();
|
||||
dataOut.writeByte(info.getPriority());
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getAdditionalPredicate(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
dataOut.writeInt(info.getPrefetchSize());
|
||||
dataOut.writeInt(info.getMaximumPendingMessageLimit());
|
||||
bs.readBoolean();
|
||||
tightMarshalString2(info.getSelector(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
bs.readBoolean();
|
||||
bs.readBoolean();
|
||||
dataOut.writeByte(info.getPriority());
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getAdditionalPredicate(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
|
||||
}
|
||||
|
||||
|
@ -197,21 +197,21 @@ public class ConsumerInfoMarshaller extends BaseCommandMarshaller {
|
|||
ConsumerInfo info = (ConsumerInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
|
||||
dataOut.writeBoolean(info.isBrowser());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
dataOut.writeInt(info.getPrefetchSize());
|
||||
dataOut.writeInt(info.getMaximumPendingMessageLimit());
|
||||
dataOut.writeBoolean(info.isDispatchAsync());
|
||||
looseMarshalString(info.getSelector(), dataOut);
|
||||
looseMarshalString(info.getSubcriptionName(), dataOut);
|
||||
dataOut.writeBoolean(info.isNoLocal());
|
||||
dataOut.writeBoolean(info.isExclusive());
|
||||
dataOut.writeBoolean(info.isRetroactive());
|
||||
dataOut.writeByte(info.getPriority());
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getAdditionalPredicate(), dataOut);
|
||||
dataOut.writeBoolean(info.isNetworkSubscription());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
|
||||
dataOut.writeBoolean(info.isBrowser());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
dataOut.writeInt(info.getPrefetchSize());
|
||||
dataOut.writeInt(info.getMaximumPendingMessageLimit());
|
||||
dataOut.writeBoolean(info.isDispatchAsync());
|
||||
looseMarshalString(info.getSelector(), dataOut);
|
||||
looseMarshalString(info.getSubcriptionName(), dataOut);
|
||||
dataOut.writeBoolean(info.isNoLocal());
|
||||
dataOut.writeBoolean(info.isExclusive());
|
||||
dataOut.writeBoolean(info.isRetroactive());
|
||||
dataOut.writeByte(info.getPriority());
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getAdditionalPredicate(), dataOut);
|
||||
dataOut.writeBoolean(info.isNetworkSubscription());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class ControlCommandMarshaller extends BaseCommandMarshaller {
|
|||
ControlCommand info = (ControlCommand)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getCommand(), bs);
|
||||
rc += tightMarshalString1(info.getCommand(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class ControlCommandMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ControlCommand info = (ControlCommand)o;
|
||||
tightMarshalString2(info.getCommand(), dataOut, bs);
|
||||
tightMarshalString2(info.getCommand(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class ControlCommandMarshaller extends BaseCommandMarshaller {
|
|||
ControlCommand info = (ControlCommand)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getCommand(), dataOut);
|
||||
looseMarshalString(info.getCommand(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ public class DataArrayResponseMarshaller extends ResponseMarshaller {
|
|||
DataArrayResponse info = (DataArrayResponse)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getData(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getData(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ public class DataArrayResponseMarshaller extends ResponseMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
DataArrayResponse info = (DataArrayResponse)o;
|
||||
tightMarshalObjectArray2(wireFormat, info.getData(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getData(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -144,7 +144,7 @@ public class DataArrayResponseMarshaller extends ResponseMarshaller {
|
|||
DataArrayResponse info = (DataArrayResponse)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getData(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getData(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class DataResponseMarshaller extends ResponseMarshaller {
|
|||
DataResponse info = (DataResponse)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getData(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getData(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class DataResponseMarshaller extends ResponseMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
DataResponse info = (DataResponse)o;
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getData(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getData(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class DataResponseMarshaller extends ResponseMarshaller {
|
|||
DataResponse info = (DataResponse)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getData(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getData(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,10 +93,10 @@ public class DestinationInfoMarshaller extends BaseCommandMarshaller {
|
|||
DestinationInfo info = (DestinationInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getTimeout(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
|
||||
return rc + 1;
|
||||
}
|
||||
|
@ -112,11 +112,11 @@ public class DestinationInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
DestinationInfo info = (DestinationInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
dataOut.writeByte(info.getOperationType());
|
||||
tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
dataOut.writeByte(info.getOperationType());
|
||||
tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -159,11 +159,11 @@ public class DestinationInfoMarshaller extends BaseCommandMarshaller {
|
|||
DestinationInfo info = (DestinationInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
dataOut.writeByte(info.getOperationType());
|
||||
looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
dataOut.writeByte(info.getOperationType());
|
||||
looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,8 +79,8 @@ public class DiscoveryEventMarshaller extends BaseDataStreamMarshaller {
|
|||
DiscoveryEvent info = (DiscoveryEvent)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getServiceName(), bs);
|
||||
rc += tightMarshalString1(info.getBrokerName(), bs);
|
||||
rc += tightMarshalString1(info.getServiceName(), bs);
|
||||
rc += tightMarshalString1(info.getBrokerName(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -96,8 +96,8 @@ public class DiscoveryEventMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
DiscoveryEvent info = (DiscoveryEvent)o;
|
||||
tightMarshalString2(info.getServiceName(), dataOut, bs);
|
||||
tightMarshalString2(info.getBrokerName(), dataOut, bs);
|
||||
tightMarshalString2(info.getServiceName(), dataOut, bs);
|
||||
tightMarshalString2(info.getBrokerName(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -126,8 +126,8 @@ public class DiscoveryEventMarshaller extends BaseDataStreamMarshaller {
|
|||
DiscoveryEvent info = (DiscoveryEvent)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getServiceName(), dataOut);
|
||||
looseMarshalString(info.getBrokerName(), dataOut);
|
||||
looseMarshalString(info.getServiceName(), dataOut);
|
||||
looseMarshalString(info.getBrokerName(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class ExceptionResponseMarshaller extends ResponseMarshaller {
|
|||
ExceptionResponse info = (ExceptionResponse)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalThrowable1(wireFormat, info.getException(), bs);
|
||||
rc += tightMarshalThrowable1(wireFormat, info.getException(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class ExceptionResponseMarshaller extends ResponseMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ExceptionResponse info = (ExceptionResponse)o;
|
||||
tightMarshalThrowable2(wireFormat, info.getException(), dataOut, bs);
|
||||
tightMarshalThrowable2(wireFormat, info.getException(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class ExceptionResponseMarshaller extends ResponseMarshaller {
|
|||
ExceptionResponse info = (ExceptionResponse)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalThrowable(wireFormat, info.getException(), dataOut);
|
||||
looseMarshalThrowable(wireFormat, info.getException(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class IntegerResponseMarshaller extends ResponseMarshaller {
|
|||
IntegerResponse info = (IntegerResponse)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
|
||||
|
||||
return rc + 4;
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,7 @@ public class IntegerResponseMarshaller extends ResponseMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
IntegerResponse info = (IntegerResponse)o;
|
||||
dataOut.writeInt(info.getResult());
|
||||
dataOut.writeInt(info.getResult());
|
||||
|
||||
}
|
||||
|
||||
|
@ -121,7 +121,7 @@ public class IntegerResponseMarshaller extends ResponseMarshaller {
|
|||
IntegerResponse info = (IntegerResponse)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
dataOut.writeInt(info.getResult());
|
||||
dataOut.writeInt(info.getResult());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,8 +79,8 @@ public class JournalQueueAckMarshaller extends BaseDataStreamMarshaller {
|
|||
JournalQueueAck info = (JournalQueueAck)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageAck(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageAck(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -96,8 +96,8 @@ public class JournalQueueAckMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
JournalQueueAck info = (JournalQueueAck)o;
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageAck(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageAck(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -126,8 +126,8 @@ public class JournalQueueAckMarshaller extends BaseDataStreamMarshaller {
|
|||
JournalQueueAck info = (JournalQueueAck)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageAck(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageAck(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,12 +83,12 @@ public class JournalTopicAckMarshaller extends BaseDataStreamMarshaller {
|
|||
JournalTopicAck info = (JournalTopicAck)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getMessageSequenceId(), bs);
|
||||
rc += tightMarshalString1(info.getSubscritionName(), bs);
|
||||
rc += tightMarshalString1(info.getClientId(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getMessageSequenceId(), bs);
|
||||
rc += tightMarshalString1(info.getSubscritionName(), bs);
|
||||
rc += tightMarshalString1(info.getClientId(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -104,12 +104,12 @@ public class JournalTopicAckMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
JournalTopicAck info = (JournalTopicAck)o;
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getMessageSequenceId(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubscritionName(), dataOut, bs);
|
||||
tightMarshalString2(info.getClientId(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getMessageSequenceId(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubscritionName(), dataOut, bs);
|
||||
tightMarshalString2(info.getClientId(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -142,12 +142,12 @@ public class JournalTopicAckMarshaller extends BaseDataStreamMarshaller {
|
|||
JournalTopicAck info = (JournalTopicAck)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getMessageSequenceId(), dataOut);
|
||||
looseMarshalString(info.getSubscritionName(), dataOut);
|
||||
looseMarshalString(info.getClientId(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getMessageSequenceId(), dataOut);
|
||||
looseMarshalString(info.getSubscritionName(), dataOut);
|
||||
looseMarshalString(info.getClientId(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class JournalTraceMarshaller extends BaseDataStreamMarshaller {
|
|||
JournalTrace info = (JournalTrace)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getMessage(), bs);
|
||||
rc += tightMarshalString1(info.getMessage(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class JournalTraceMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
JournalTrace info = (JournalTrace)o;
|
||||
tightMarshalString2(info.getMessage(), dataOut, bs);
|
||||
tightMarshalString2(info.getMessage(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class JournalTraceMarshaller extends BaseDataStreamMarshaller {
|
|||
JournalTrace info = (JournalTrace)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getMessage(), dataOut);
|
||||
looseMarshalString(info.getMessage(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ public class JournalTransactionMarshaller extends BaseDataStreamMarshaller {
|
|||
JournalTransaction info = (JournalTransaction)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
bs.writeBoolean(info.getWasPrepared());
|
||||
|
||||
return rc + 1;
|
||||
|
@ -97,9 +97,9 @@ public class JournalTransactionMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
JournalTransaction info = (JournalTransaction)o;
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
dataOut.writeByte(info.getType());
|
||||
bs.readBoolean();
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
dataOut.writeByte(info.getType());
|
||||
bs.readBoolean();
|
||||
|
||||
}
|
||||
|
||||
|
@ -129,9 +129,9 @@ public class JournalTransactionMarshaller extends BaseDataStreamMarshaller {
|
|||
JournalTransaction info = (JournalTransaction)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
dataOut.writeByte(info.getType());
|
||||
dataOut.writeBoolean(info.getWasPrepared());
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
dataOut.writeByte(info.getType());
|
||||
dataOut.writeBoolean(info.getWasPrepared());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,8 +79,8 @@ public class LocalTransactionIdMarshaller extends TransactionIdMarshaller {
|
|||
LocalTransactionId info = (LocalTransactionId)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -96,8 +96,8 @@ public class LocalTransactionIdMarshaller extends TransactionIdMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
LocalTransactionId info = (LocalTransactionId)o;
|
||||
tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -126,8 +126,8 @@ public class LocalTransactionIdMarshaller extends TransactionIdMarshaller {
|
|||
LocalTransactionId info = (LocalTransactionId)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalLong(wireFormat, info.getValue(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getValue(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,12 +84,12 @@ public class MessageAckMarshaller extends BaseCommandMarshaller {
|
|||
MessageAck info = (MessageAck)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getFirstMessageId(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getLastMessageId(), bs);
|
||||
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getLastMessageId(), bs);
|
||||
|
||||
return rc + 5;
|
||||
}
|
||||
|
||||
|
@ -104,13 +104,13 @@ public class MessageAckMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
MessageAck info = (MessageAck)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
|
||||
dataOut.writeByte(info.getAckType());
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getLastMessageId(), dataOut, bs);
|
||||
dataOut.writeInt(info.getMessageCount());
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
|
||||
dataOut.writeByte(info.getAckType());
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getLastMessageId(), dataOut, bs);
|
||||
dataOut.writeInt(info.getMessageCount());
|
||||
|
||||
}
|
||||
|
||||
|
@ -144,13 +144,13 @@ public class MessageAckMarshaller extends BaseCommandMarshaller {
|
|||
MessageAck info = (MessageAck)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
|
||||
dataOut.writeByte(info.getAckType());
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getLastMessageId(), dataOut);
|
||||
dataOut.writeInt(info.getMessageCount());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
|
||||
dataOut.writeByte(info.getAckType());
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getLastMessageId(), dataOut);
|
||||
dataOut.writeInt(info.getMessageCount());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,10 +81,10 @@ public class MessageDispatchMarshaller extends BaseCommandMarshaller {
|
|||
MessageDispatch info = (MessageDispatch)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessage(), bs);
|
||||
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessage(), bs);
|
||||
|
||||
return rc + 4;
|
||||
}
|
||||
|
||||
|
@ -99,10 +99,10 @@ public class MessageDispatchMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
MessageDispatch info = (MessageDispatch)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessage(), dataOut, bs);
|
||||
dataOut.writeInt(info.getRedeliveryCounter());
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessage(), dataOut, bs);
|
||||
dataOut.writeInt(info.getRedeliveryCounter());
|
||||
|
||||
}
|
||||
|
||||
|
@ -133,10 +133,10 @@ public class MessageDispatchMarshaller extends BaseCommandMarshaller {
|
|||
MessageDispatch info = (MessageDispatch)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessage(), dataOut);
|
||||
dataOut.writeInt(info.getRedeliveryCounter());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessage(), dataOut);
|
||||
dataOut.writeInt(info.getRedeliveryCounter());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,10 +81,10 @@ public class MessageDispatchNotificationMarshaller extends BaseCommandMarshaller
|
|||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getDeliverySequenceId(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getDeliverySequenceId(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -100,10 +100,10 @@ public class MessageDispatchNotificationMarshaller extends BaseCommandMarshaller
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getDeliverySequenceId(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getDeliverySequenceId(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -134,10 +134,10 @@ public class MessageDispatchNotificationMarshaller extends BaseCommandMarshaller
|
|||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getDeliverySequenceId(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getDeliverySequenceId(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,9 +80,9 @@ public class MessageIdMarshaller extends BaseDataStreamMarshaller {
|
|||
MessageId info = (MessageId)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getProducerSequenceId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getBrokerSequenceId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getProducerSequenceId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getBrokerSequenceId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -98,9 +98,9 @@ public class MessageIdMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
MessageId info = (MessageId)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getProducerSequenceId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getBrokerSequenceId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getProducerSequenceId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getBrokerSequenceId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -130,9 +130,9 @@ public class MessageIdMarshaller extends BaseDataStreamMarshaller {
|
|||
MessageId info = (MessageId)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getProducerSequenceId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getBrokerSequenceId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getProducerSequenceId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getBrokerSequenceId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -105,28 +105,28 @@ public abstract class MessageMarshaller extends BaseCommandMarshaller {
|
|||
info.beforeMarshall(wireFormat);
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getOriginalDestination(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getOriginalTransactionId(), bs);
|
||||
rc += tightMarshalString1(info.getGroupID(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getOriginalDestination(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getOriginalTransactionId(), bs);
|
||||
rc += tightMarshalString1(info.getGroupID(), bs);
|
||||
rc += tightMarshalString1(info.getCorrelationId(), bs);
|
||||
bs.writeBoolean(info.isPersistent());
|
||||
rc+=tightMarshalLong1(wireFormat, info.getExpiration(), bs);
|
||||
bs.writeBoolean(info.isPersistent());
|
||||
rc+=tightMarshalLong1(wireFormat, info.getExpiration(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getReplyTo(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getTimestamp(), bs);
|
||||
rc += tightMarshalString1(info.getType(), bs);
|
||||
rc += tightMarshalByteSequence1(info.getContent(), bs);
|
||||
rc += tightMarshalByteSequence1(info.getMarshalledProperties(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDataStructure(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTargetConsumerId(), bs);
|
||||
bs.writeBoolean(info.isCompressed());
|
||||
rc+=tightMarshalLong1(wireFormat, info.getTimestamp(), bs);
|
||||
rc += tightMarshalString1(info.getType(), bs);
|
||||
rc += tightMarshalByteSequence1(info.getContent(), bs);
|
||||
rc += tightMarshalByteSequence1(info.getMarshalledProperties(), bs);
|
||||
rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getDataStructure(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTargetConsumerId(), bs);
|
||||
bs.writeBoolean(info.isCompressed());
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getArrival(), bs);
|
||||
rc += tightMarshalString1(info.getUserID(), bs);
|
||||
bs.writeBoolean(info.isRecievedByDFBridge());
|
||||
rc+=tightMarshalLong1(wireFormat, info.getArrival(), bs);
|
||||
rc += tightMarshalString1(info.getUserID(), bs);
|
||||
bs.writeBoolean(info.isRecievedByDFBridge());
|
||||
|
||||
return rc + 9;
|
||||
}
|
||||
|
@ -142,31 +142,31 @@ public abstract class MessageMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
Message info = (Message)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getOriginalDestination(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getOriginalTransactionId(), dataOut, bs);
|
||||
tightMarshalString2(info.getGroupID(), dataOut, bs);
|
||||
dataOut.writeInt(info.getGroupSequence());
|
||||
tightMarshalString2(info.getCorrelationId(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
tightMarshalLong2(wireFormat, info.getExpiration(), dataOut, bs);
|
||||
dataOut.writeByte(info.getPriority());
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getReplyTo(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getTimestamp(), dataOut, bs);
|
||||
tightMarshalString2(info.getType(), dataOut, bs);
|
||||
tightMarshalByteSequence2(info.getContent(), dataOut, bs);
|
||||
tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getDataStructure(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getTargetConsumerId(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
dataOut.writeInt(info.getRedeliveryCounter());
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getArrival(), dataOut, bs);
|
||||
tightMarshalString2(info.getUserID(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getOriginalDestination(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getOriginalTransactionId(), dataOut, bs);
|
||||
tightMarshalString2(info.getGroupID(), dataOut, bs);
|
||||
dataOut.writeInt(info.getGroupSequence());
|
||||
tightMarshalString2(info.getCorrelationId(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
tightMarshalLong2(wireFormat, info.getExpiration(), dataOut, bs);
|
||||
dataOut.writeByte(info.getPriority());
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getReplyTo(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getTimestamp(), dataOut, bs);
|
||||
tightMarshalString2(info.getType(), dataOut, bs);
|
||||
tightMarshalByteSequence2(info.getContent(), dataOut, bs);
|
||||
tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
|
||||
tightMarshalNestedObject2(wireFormat, (DataStructure)info.getDataStructure(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getTargetConsumerId(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
dataOut.writeInt(info.getRedeliveryCounter());
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getArrival(), dataOut, bs);
|
||||
tightMarshalString2(info.getUserID(), dataOut, bs);
|
||||
bs.readBoolean();
|
||||
|
||||
info.afterMarshall(wireFormat);
|
||||
|
||||
|
@ -238,31 +238,31 @@ public abstract class MessageMarshaller extends BaseCommandMarshaller {
|
|||
info.beforeMarshall(wireFormat);
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getOriginalDestination(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getOriginalTransactionId(), dataOut);
|
||||
looseMarshalString(info.getGroupID(), dataOut);
|
||||
dataOut.writeInt(info.getGroupSequence());
|
||||
looseMarshalString(info.getCorrelationId(), dataOut);
|
||||
dataOut.writeBoolean(info.isPersistent());
|
||||
looseMarshalLong(wireFormat, info.getExpiration(), dataOut);
|
||||
dataOut.writeByte(info.getPriority());
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getReplyTo(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getTimestamp(), dataOut);
|
||||
looseMarshalString(info.getType(), dataOut);
|
||||
looseMarshalByteSequence(wireFormat, info.getContent(), dataOut);
|
||||
looseMarshalByteSequence(wireFormat, info.getMarshalledProperties(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getDataStructure(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getTargetConsumerId(), dataOut);
|
||||
dataOut.writeBoolean(info.isCompressed());
|
||||
dataOut.writeInt(info.getRedeliveryCounter());
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getArrival(), dataOut);
|
||||
looseMarshalString(info.getUserID(), dataOut);
|
||||
dataOut.writeBoolean(info.isRecievedByDFBridge());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getOriginalDestination(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getOriginalTransactionId(), dataOut);
|
||||
looseMarshalString(info.getGroupID(), dataOut);
|
||||
dataOut.writeInt(info.getGroupSequence());
|
||||
looseMarshalString(info.getCorrelationId(), dataOut);
|
||||
dataOut.writeBoolean(info.isPersistent());
|
||||
looseMarshalLong(wireFormat, info.getExpiration(), dataOut);
|
||||
dataOut.writeByte(info.getPriority());
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getReplyTo(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getTimestamp(), dataOut);
|
||||
looseMarshalString(info.getType(), dataOut);
|
||||
looseMarshalByteSequence(wireFormat, info.getContent(), dataOut);
|
||||
looseMarshalByteSequence(wireFormat, info.getMarshalledProperties(), dataOut);
|
||||
looseMarshalNestedObject(wireFormat, (DataStructure)info.getDataStructure(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getTargetConsumerId(), dataOut);
|
||||
dataOut.writeBoolean(info.isCompressed());
|
||||
dataOut.writeInt(info.getRedeliveryCounter());
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getArrival(), dataOut);
|
||||
looseMarshalString(info.getUserID(), dataOut);
|
||||
dataOut.writeBoolean(info.isRecievedByDFBridge());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,132 @@
|
|||
/**
*
* Copyright 2005-2006 The Apache Software Foundation
*
* 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.
*/
package org.apache.activemq.openwire.v1;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import org.apache.activemq.openwire.*;
import org.apache.activemq.command.*;
/**
* Marshalling code for Open Wire Format for NetworkBridgeFilterMarshaller
*
*
* NOTE!: This file is auto generated - do not modify!
* if you need to make a change, please see the modify the groovy scripts in the
* under src/gram/script and then use maven openwire:generate to regenerate
* this file.
*
* @version $Revision$
*/
public class NetworkBridgeFilterMarshaller extends BaseDataStreamMarshaller {
/**
* Return the type of Data Structure we marshal
* @return short representation of the type data structure
*/
public byte getDataStructureType() {
return NetworkBridgeFilter.DATA_STRUCTURE_TYPE;
}
/**
* @return a new object instance
*/
public DataStructure createObject() {
return new NetworkBridgeFilter();
}
/**
* Un-marshal an object instance from the data input stream
*
* @param o the object to un-marshal
* @param dataIn the data input stream to build the object from
* @throws IOException
*/
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInputStream dataIn, BooleanStream bs) throws IOException {
super.tightUnmarshal(wireFormat, o, dataIn, bs);
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
info.setNetworkTTL(dataIn.readInt());
info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
}
/**
* Write the booleans that this object uses to a BooleanStream
*/
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
int rc = super.tightMarshal1(wireFormat, o, bs);
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getNetworkBrokerId(), bs);
return rc + 4;
}
/**
* Write a object instance to data output stream
*
* @param o the instance to be marshaled
* @param dataOut the output stream
* @throws IOException thrown if an error occurs
*/
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutputStream dataOut, BooleanStream bs) throws IOException {
super.tightMarshal2(wireFormat, o, dataOut, bs);
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
dataOut.writeInt(info.getNetworkTTL());
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut, bs);
}
/**
* Un-marshal an object instance from the data input stream
*
* @param o the object to un-marshal
* @param dataIn the data input stream to build the object from
* @throws IOException
*/
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInputStream dataIn) throws IOException {
super.looseUnmarshal(wireFormat, o, dataIn);
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
info.setNetworkTTL(dataIn.readInt());
info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
}
/**
* Write the booleans that this object uses to a BooleanStream
*/
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutputStream dataOut) throws IOException {
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
super.looseMarshal(wireFormat, o, dataOut);
dataOut.writeInt(info.getNetworkTTL());
looseMarshalCachedObject(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut);
}
}
|
||||
/**
|
||||
*
|
||||
* Copyright 2005-2006 The Apache Software Foundation
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
package org.apache.activemq.openwire.v1;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.activemq.openwire.*;
|
||||
import org.apache.activemq.command.*;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Marshalling code for Open Wire Format for NetworkBridgeFilterMarshaller
|
||||
*
|
||||
*
|
||||
* NOTE!: This file is auto generated - do not modify!
|
||||
* if you need to make a change, please see the modify the groovy scripts in the
|
||||
* under src/gram/script and then use maven openwire:generate to regenerate
|
||||
* this file.
|
||||
*
|
||||
* @version $Revision$
|
||||
*/
|
||||
public class NetworkBridgeFilterMarshaller extends BaseDataStreamMarshaller {
|
||||
|
||||
/**
|
||||
* Return the type of Data Structure we marshal
|
||||
* @return short representation of the type data structure
|
||||
*/
|
||||
public byte getDataStructureType() {
|
||||
return NetworkBridgeFilter.DATA_STRUCTURE_TYPE;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return a new object instance
|
||||
*/
|
||||
public DataStructure createObject() {
|
||||
return new NetworkBridgeFilter();
|
||||
}
|
||||
|
||||
/**
|
||||
* Un-marshal an object instance from the data input stream
|
||||
*
|
||||
* @param o the object to un-marshal
|
||||
* @param dataIn the data input stream to build the object from
|
||||
* @throws IOException
|
||||
*/
|
||||
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInputStream dataIn, BooleanStream bs) throws IOException {
|
||||
super.tightUnmarshal(wireFormat, o, dataIn, bs);
|
||||
|
||||
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
|
||||
info.setNetworkTTL(dataIn.readInt());
|
||||
info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Write the booleans that this object uses to a BooleanStream
|
||||
*/
|
||||
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
|
||||
|
||||
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getNetworkBrokerId(), bs);
|
||||
|
||||
return rc + 4;
|
||||
}
|
||||
|
||||
/**
|
||||
* Write a object instance to data output stream
|
||||
*
|
||||
* @param o the instance to be marshaled
|
||||
* @param dataOut the output stream
|
||||
* @throws IOException thrown if an error occurs
|
||||
*/
|
||||
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutputStream dataOut, BooleanStream bs) throws IOException {
|
||||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
|
||||
dataOut.writeInt(info.getNetworkTTL());
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Un-marshal an object instance from the data input stream
|
||||
*
|
||||
* @param o the object to un-marshal
|
||||
* @param dataIn the data input stream to build the object from
|
||||
* @throws IOException
|
||||
*/
|
||||
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInputStream dataIn) throws IOException {
|
||||
super.looseUnmarshal(wireFormat, o, dataIn);
|
||||
|
||||
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
|
||||
info.setNetworkTTL(dataIn.readInt());
|
||||
info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Write the booleans that this object uses to a BooleanStream
|
||||
*/
|
||||
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutputStream dataOut) throws IOException {
|
||||
|
||||
NetworkBridgeFilter info = (NetworkBridgeFilter)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
dataOut.writeInt(info.getNetworkTTL());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,9 +80,9 @@ public class ProducerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
ProducerId info = (ProducerId)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getConnectionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getSessionId(), bs);
|
||||
rc += tightMarshalString1(info.getConnectionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getSessionId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -98,9 +98,9 @@ public class ProducerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ProducerId info = (ProducerId)o;
|
||||
tightMarshalString2(info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getSessionId(), dataOut, bs);
|
||||
tightMarshalString2(info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getSessionId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -130,9 +130,9 @@ public class ProducerIdMarshaller extends BaseDataStreamMarshaller {
|
|||
ProducerId info = (ProducerId)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getConnectionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getValue(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getSessionId(), dataOut);
|
||||
looseMarshalString(info.getConnectionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getValue(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getSessionId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,9 +91,9 @@ public class ProducerInfoMarshaller extends BaseCommandMarshaller {
|
|||
ProducerInfo info = (ProducerInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -109,9 +109,9 @@ public class ProducerInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ProducerInfo info = (ProducerInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -152,9 +152,9 @@ public class ProducerInfoMarshaller extends BaseCommandMarshaller {
|
|||
ProducerInfo info = (ProducerInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class RemoveInfoMarshaller extends BaseCommandMarshaller {
|
|||
RemoveInfo info = (RemoveInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getObjectId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getObjectId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class RemoveInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
RemoveInfo info = (RemoveInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getObjectId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getObjectId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class RemoveInfoMarshaller extends BaseCommandMarshaller {
|
|||
RemoveInfo info = (RemoveInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getObjectId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getObjectId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,9 +80,9 @@ public class RemoveSubscriptionInfoMarshaller extends BaseCommandMarshaller {
|
|||
RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalString1(info.getSubcriptionName(), bs);
|
||||
rc += tightMarshalString1(info.getClientId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalString1(info.getSubcriptionName(), bs);
|
||||
rc += tightMarshalString1(info.getClientId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -98,9 +98,9 @@ public class RemoveSubscriptionInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
|
||||
tightMarshalString2(info.getClientId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
|
||||
tightMarshalString2(info.getClientId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -130,9 +130,9 @@ public class RemoveSubscriptionInfoMarshaller extends BaseCommandMarshaller {
|
|||
RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalString(info.getSubcriptionName(), dataOut);
|
||||
looseMarshalString(info.getClientId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalString(info.getSubcriptionName(), dataOut);
|
||||
looseMarshalString(info.getClientId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class ResponseMarshaller extends BaseCommandMarshaller {
|
|||
Response info = (Response)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
|
||||
|
||||
return rc + 2;
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,7 @@ public class ResponseMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
Response info = (Response)o;
|
||||
dataOut.writeShort(info.getCorrelationId());
|
||||
dataOut.writeShort(info.getCorrelationId());
|
||||
|
||||
}
|
||||
|
||||
|
@ -121,7 +121,7 @@ public class ResponseMarshaller extends BaseCommandMarshaller {
|
|||
Response info = (Response)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
dataOut.writeShort(info.getCorrelationId());
|
||||
dataOut.writeShort(info.getCorrelationId());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,8 +79,8 @@ public class SessionIdMarshaller extends BaseDataStreamMarshaller {
|
|||
SessionId info = (SessionId)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getConnectionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
|
||||
rc += tightMarshalString1(info.getConnectionId(), bs);
|
||||
rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -96,8 +96,8 @@ public class SessionIdMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
SessionId info = (SessionId)o;
|
||||
tightMarshalString2(info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
|
||||
tightMarshalString2(info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -126,8 +126,8 @@ public class SessionIdMarshaller extends BaseDataStreamMarshaller {
|
|||
SessionId info = (SessionId)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getConnectionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getValue(), dataOut);
|
||||
looseMarshalString(info.getConnectionId(), dataOut);
|
||||
looseMarshalLong(wireFormat, info.getValue(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public class SessionInfoMarshaller extends BaseCommandMarshaller {
|
|||
SessionInfo info = (SessionInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getSessionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getSessionId(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class SessionInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
SessionInfo info = (SessionInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getSessionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getSessionId(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -122,7 +122,7 @@ public class SessionInfoMarshaller extends BaseCommandMarshaller {
|
|||
SessionInfo info = (SessionInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getSessionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getSessionId(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,10 +81,10 @@ public class SubscriptionInfoMarshaller extends BaseDataStreamMarshaller {
|
|||
SubscriptionInfo info = (SubscriptionInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalString1(info.getClientId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalString1(info.getSelector(), bs);
|
||||
rc += tightMarshalString1(info.getSubcriptionName(), bs);
|
||||
rc += tightMarshalString1(info.getClientId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
|
||||
rc += tightMarshalString1(info.getSelector(), bs);
|
||||
rc += tightMarshalString1(info.getSubcriptionName(), bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -100,10 +100,10 @@ public class SubscriptionInfoMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
SubscriptionInfo info = (SubscriptionInfo)o;
|
||||
tightMarshalString2(info.getClientId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalString2(info.getSelector(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
|
||||
tightMarshalString2(info.getClientId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
|
||||
tightMarshalString2(info.getSelector(), dataOut, bs);
|
||||
tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -134,10 +134,10 @@ public class SubscriptionInfoMarshaller extends BaseDataStreamMarshaller {
|
|||
SubscriptionInfo info = (SubscriptionInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalString(info.getClientId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalString(info.getSelector(), dataOut);
|
||||
looseMarshalString(info.getSubcriptionName(), dataOut);
|
||||
looseMarshalString(info.getClientId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
|
||||
looseMarshalString(info.getSelector(), dataOut);
|
||||
looseMarshalString(info.getSubcriptionName(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,9 +80,9 @@ public class TransactionInfoMarshaller extends BaseCommandMarshaller {
|
|||
TransactionInfo info = (TransactionInfo)o;
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
|
||||
rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
|
||||
|
||||
return rc + 1;
|
||||
}
|
||||
|
||||
|
@ -97,9 +97,9 @@ public class TransactionInfoMarshaller extends BaseCommandMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
TransactionInfo info = (TransactionInfo)o;
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
dataOut.writeByte(info.getType());
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
|
||||
tightMarshalCachedObject2(wireFormat, (DataStructure)info.getTransactionId(), dataOut, bs);
|
||||
dataOut.writeByte(info.getType());
|
||||
|
||||
}
|
||||
|
||||
|
@ -129,9 +129,9 @@ public class TransactionInfoMarshaller extends BaseCommandMarshaller {
|
|||
TransactionInfo info = (TransactionInfo)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
dataOut.writeByte(info.getType());
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
|
||||
looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
|
||||
dataOut.writeByte(info.getType());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ public class WireFormatInfoMarshaller extends BaseDataStreamMarshaller {
|
|||
info.beforeMarshall(wireFormat);
|
||||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalConstByteArray1(info.getMagic(), bs, 8);
|
||||
rc += tightMarshalConstByteArray1(info.getMagic(), bs, 8);
|
||||
rc += tightMarshalByteSequence1(info.getMarshalledProperties(), bs);
|
||||
|
||||
return rc + 4;
|
||||
|
@ -104,9 +104,9 @@ public class WireFormatInfoMarshaller extends BaseDataStreamMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
WireFormatInfo info = (WireFormatInfo)o;
|
||||
tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
|
||||
dataOut.writeInt(info.getVersion());
|
||||
tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
|
||||
tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
|
||||
dataOut.writeInt(info.getVersion());
|
||||
tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
|
||||
|
||||
info.afterMarshall(wireFormat);
|
||||
|
||||
|
@ -145,9 +145,9 @@ public class WireFormatInfoMarshaller extends BaseDataStreamMarshaller {
|
|||
info.beforeMarshall(wireFormat);
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
looseMarshalConstByteArray(wireFormat, info.getMagic(), dataOut, 8);
|
||||
dataOut.writeInt(info.getVersion());
|
||||
looseMarshalByteSequence(wireFormat, info.getMarshalledProperties(), dataOut);
|
||||
looseMarshalConstByteArray(wireFormat, info.getMagic(), dataOut, 8);
|
||||
dataOut.writeInt(info.getVersion());
|
||||
looseMarshalByteSequence(wireFormat, info.getMarshalledProperties(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ public class XATransactionIdMarshaller extends TransactionIdMarshaller {
|
|||
|
||||
int rc = super.tightMarshal1(wireFormat, o, bs);
|
||||
rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
|
||||
rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
|
||||
rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
|
||||
|
||||
return rc + 4;
|
||||
}
|
||||
|
@ -97,9 +97,9 @@ public class XATransactionIdMarshaller extends TransactionIdMarshaller {
|
|||
super.tightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
XATransactionId info = (XATransactionId)o;
|
||||
dataOut.writeInt(info.getFormatId());
|
||||
tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
|
||||
tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
|
||||
dataOut.writeInt(info.getFormatId());
|
||||
tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
|
||||
tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
|
||||
|
||||
}
|
||||
|
||||
|
@ -129,9 +129,9 @@ public class XATransactionIdMarshaller extends TransactionIdMarshaller {
|
|||
XATransactionId info = (XATransactionId)o;
|
||||
|
||||
super.looseMarshal(wireFormat, o, dataOut);
|
||||
dataOut.writeInt(info.getFormatId());
|
||||
looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
|
||||
looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);
|
||||
dataOut.writeInt(info.getFormatId());
|
||||
looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
|
||||
looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,57 @@
|
|||
/**
*
* Copyright 2005-2006 The Apache Software Foundation
*
* 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.
*/
package org.apache.activemq.openwire.v1;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import org.apache.activemq.openwire.*;
import org.apache.activemq.command.*;
/**
* Test case for the OpenWire marshalling for NetworkBridgeFilter
*
*
* NOTE!: This file is auto generated - do not modify!
* if you need to make a change, please see the modify the groovy scripts in the
* under src/gram/script and then use maven openwire:generate to regenerate
* this file.
*
* @version $Revision: $
*/
public class NetworkBridgeFilterTest extends DataFileGeneratorTestSupport {
public static NetworkBridgeFilterTest SINGLETON = new NetworkBridgeFilterTest();
public Object createObject() throws Exception {
NetworkBridgeFilter info = new NetworkBridgeFilter();
populateObject(info);
return info;
}
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
NetworkBridgeFilter info = (NetworkBridgeFilter) object;
info.setNetworkTTL(1);
info.setNetworkBrokerId(createBrokerId("NetworkBrokerId:1"));
}
}
|
||||
/**
|
||||
*
|
||||
* Copyright 2005-2006 The Apache Software Foundation
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
package org.apache.activemq.openwire.v1;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.activemq.openwire.*;
|
||||
import org.apache.activemq.command.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test case for the OpenWire marshalling for NetworkBridgeFilter
|
||||
*
|
||||
*
|
||||
* NOTE!: This file is auto generated - do not modify!
|
||||
* if you need to make a change, please see the modify the groovy scripts in the
|
||||
* under src/gram/script and then use maven openwire:generate to regenerate
|
||||
* this file.
|
||||
*
|
||||
* @version $Revision: $
|
||||
*/
|
||||
public class NetworkBridgeFilterTest extends DataFileGeneratorTestSupport {
|
||||
|
||||
|
||||
public static NetworkBridgeFilterTest SINGLETON = new NetworkBridgeFilterTest();
|
||||
|
||||
public Object createObject() throws Exception {
|
||||
NetworkBridgeFilter info = new NetworkBridgeFilter();
|
||||
populateObject(info);
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
protected void populateObject(Object object) throws Exception {
|
||||
super.populateObject(object);
|
||||
NetworkBridgeFilter info = (NetworkBridgeFilter) object;
|
||||
info.setNetworkTTL(1);
|
||||
info.setNetworkBrokerId(createBrokerId("NetworkBrokerId:1"));
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,217 +1,218 @@
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{08321F42-4B3D-4815-B592-95962BAC3B9F}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>activemq-dotnet</RootNamespace>
|
||||
<AssemblyName>activemq-dotnet</AssemblyName>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<StartupObject/>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="nunit.framework"/>
|
||||
<Reference Include="System"/>
|
||||
<Reference Include="System.Data"/>
|
||||
<Reference Include="System.Xml"/>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets"/>
|
||||
<ItemGroup>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\BrokerException.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\AbstractCommand.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQBytesMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQDestination.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQMapMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQObjectMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQQueue.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQStreamMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTempDestination.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTempQueue.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTempTopic.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTextMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTopic.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BaseCommand.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BooleanExpression.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BrokerError.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BrokerId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BrokerInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\Command.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConnectionError.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConnectionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConnectionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConsumerId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConsumerInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ControlCommand.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DataArrayResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DataResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DataStructure.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DataStructureSupport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DestinationInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DiscoveryEvent.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ExceptionResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\FlushCommand.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\IntegerResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\JournalQueueAck.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\JournalTopicAck.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\JournalTrace.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\JournalTransaction.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\KeepAliveInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\LocalTransactionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MarshallAware.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\Message.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageAck.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageDispatch.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageDispatchNotification.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageReference.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\NetworkBridgeFilter.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ProducerId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ProducerInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\RemoveInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\RemoveSubscriptionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\Response.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\SessionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\SessionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ShutdownInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\SubscriptionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\TransactionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\TransactionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\WireFormatInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\XATransactionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\Xid.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Connection.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\ConnectionClosedException.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\ConnectionFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\ConsumerClosedException.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\DestinationFilter.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Dispatcher.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\ISynchronization.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\MessageConsumer.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\MessageProducer.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\BaseDataStreamMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\BooleanStream.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\EndianSupport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\MessagePropertyHelper.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\OpenWireBinaryReader.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\OpenWireBinaryWriter.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\OpenWireFormat.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\PrimitiveMap.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQBytesMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQDestinationMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQMapMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQObjectMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQQueueMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQStreamMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTempDestinationMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTempQueueMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTempTopicMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTextMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTopicMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\BaseCommandMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\BrokerIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\BrokerInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConnectionErrorMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConnectionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConnectionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConsumerIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConsumerInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ControlCommandMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DataArrayResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DataResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DataStructureSupportMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DestinationInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DiscoveryEventMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ExceptionResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\FlushCommandMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\IntegerResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\JournalQueueAckMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\JournalTopicAckMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\JournalTraceMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\JournalTransactionMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\KeepAliveInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\LocalTransactionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MarshallerFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageAckMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageDispatchMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageDispatchNotificationMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\NetworkBridgeFilterMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ProducerIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ProducerInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\RemoveInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\RemoveSubscriptionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\SessionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\SessionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ShutdownInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\SubscriptionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\TransactionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\TransactionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\WireFormatInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\XATransactionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Session.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\TransactionContext.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\FutureResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\ITransport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\ITransportFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\LoggingTransport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\MutexTransport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\ResponseCorrelator.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\Tcp\TcpTransport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\Tcp\TcpTransportFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\TransportFilter.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IBytesMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IConnection.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IConnectionFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IDestination.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IMapMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IMessageConsumer.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IMessageProducer.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IPrimitiveMap.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IQueue.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ISession.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IStartable.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IStoppable.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ITemporaryQueue.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ITemporaryTopic.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ITextMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ITopic.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\JMSConnectionException.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\JMSException.cs"/>
|
||||
<Compile Include="src\test\csharp\ActiveMQ\Commands\CommandTest.cs"/>
|
||||
<Compile Include="src\test\csharp\ActiveMQ\OpenWire\BooleanStreamTest.cs"/>
|
||||
<Compile Include="src\test\csharp\ActiveMQ\OpenWire\EndianTest.cs"/>
|
||||
<Compile Include="src\test\csharp\ActiveMQ\TestMain.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\AsyncConsumeTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\BadConsumeTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\BytesMessageTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\ConsumerTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\JMSPropertyTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\JMSTestSupport.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\MapMessageTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\MessageTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\TextMessage.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\TransactionTest.cs"/>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{08321F42-4B3D-4815-B592-95962BAC3B9F}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>activemq-dotnet</RootNamespace>
|
||||
<AssemblyName>activemq-dotnet</AssemblyName>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<StartupObject/>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="nunit.framework"/>
|
||||
<Reference Include="System"/>
|
||||
<Reference Include="System.Data"/>
|
||||
<Reference Include="System.Xml"/>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets"/>
|
||||
<ItemGroup>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\BrokerException.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\AbstractCommand.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQBytesMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQDestination.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQMapMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQObjectMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQQueue.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQStreamMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTempDestination.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTempQueue.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTempTopic.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTextMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ActiveMQTopic.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BaseCommand.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BooleanExpression.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BrokerError.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BrokerId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\BrokerInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\Command.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConnectionError.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConnectionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConnectionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConsumerId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ConsumerInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ControlCommand.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DataArrayResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DataResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DataStructure.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DataStructureSupport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DestinationInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\DiscoveryEvent.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ExceptionResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\FlushCommand.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\IntegerResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\JournalQueueAck.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\JournalTopicAck.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\JournalTrace.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\JournalTransaction.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\KeepAliveInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\LocalTransactionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MarshallAware.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\Message.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageAck.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageDispatch.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageDispatchNotification.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\MessageReference.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\NetworkBridgeFilter.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ProducerId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ProducerInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\RemoveInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\RemoveSubscriptionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\Response.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\SessionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\SessionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\ShutdownInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\SubscriptionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\TransactionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\TransactionInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\WireFormatInfo.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\XATransactionId.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Commands\Xid.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Connection.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\ConnectionClosedException.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\ConnectionFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\ConsumerClosedException.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\DestinationFilter.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Dispatcher.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\ISynchronization.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\MessageConsumer.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\MessageProducer.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\BaseDataStreamMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\BooleanStream.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\EndianSupport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\MessagePropertyHelper.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\OpenWireBinaryReader.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\OpenWireBinaryWriter.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\OpenWireFormat.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\PrimitiveMap.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQBytesMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQDestinationMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQMapMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQObjectMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQQueueMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQStreamMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTempDestinationMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTempQueueMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTempTopicMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTextMessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ActiveMQTopicMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\BaseCommandMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\BrokerIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\BrokerInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConnectionErrorMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConnectionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConnectionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConsumerIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ConsumerInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ControlCommandMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DataArrayResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DataResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DataStructureSupportMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DestinationInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\DiscoveryEventMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ExceptionResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\FlushCommandMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\IntegerResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\JournalQueueAckMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\JournalTopicAckMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\JournalTraceMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\JournalTransactionMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\KeepAliveInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\LocalTransactionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MarshallerFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageAckMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageDispatchMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageDispatchNotificationMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\MessageMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\NetworkBridgeFilterMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ProducerIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ProducerInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\RemoveInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\RemoveSubscriptionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ResponseMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\SessionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\SessionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\ShutdownInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\SubscriptionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\TransactionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\TransactionInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\WireFormatInfoMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\OpenWire\V1\XATransactionIdMarshaller.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Session.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\TransactionContext.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\FutureResponse.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\ITransport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\ITransportFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\LoggingTransport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\MutexTransport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\ResponseCorrelator.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\Tcp\TcpTransport.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\Tcp\TcpTransportFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\ActiveMQ\Transport\TransportFilter.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IBytesMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IConnection.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IConnectionFactory.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IDestination.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IMapMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IMessageConsumer.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IMessageProducer.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IPrimitiveMap.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IQueue.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ISession.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IStartable.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\IStoppable.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ITemporaryQueue.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ITemporaryTopic.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ITextMessage.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\ITopic.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\JMSConnectionException.cs"/>
|
||||
<Compile Include="src\main\csharp\JMS\JMSException.cs"/>
|
||||
<Compile Include="src\test\csharp\ActiveMQ\Commands\CommandTest.cs"/>
|
||||
<Compile Include="src\test\csharp\ActiveMQ\OpenWire\BooleanStreamTest.cs"/>
|
||||
<Compile Include="src\test\csharp\ActiveMQ\OpenWire\EndianTest.cs"/>
|
||||
<Compile Include="src\test\csharp\ActiveMQ\TestMain.cs"/>
|
||||
<Compile Include="src\test\csharp\CommonAssemblyInfo.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\AsyncConsumeTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\BadConsumeTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\BytesMessageTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\ConsumerTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\JMSPropertyTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\JMSTestSupport.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\MapMessageTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\MessageTest.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\TextMessage.cs"/>
|
||||
<Compile Include="src\test\csharp\JMS\TransactionTest.cs"/>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for BrokerId
//
//
// 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
//
public class BrokerId : AbstractCommand, DataStructure
{
public const byte ID_BrokerId = 124;
string value;
public override int GetHashCode() {
int answer = 0;
answer = (answer * 37) + HashCode(Value);
return answer;
}
public override bool Equals(object that) {
if (that is BrokerId) {
return Equals((BrokerId) that);
}
return false;
}
public virtual bool Equals(BrokerId that) {
if (! Equals(this.Value, that.Value)) return false;
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " Value=" + Value
+ " ]";
}
public override byte GetDataStructureType() {
return ID_BrokerId;
}
// Properties
public string Value
{
get { return value; }
set { this.value = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for BrokerId
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class BrokerId : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_BrokerId = 124;
|
||||
|
||||
string value;
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
answer = (answer * 37) + HashCode(Value);
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is BrokerId) {
|
||||
return Equals((BrokerId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(BrokerId that) {
|
||||
if (! Equals(this.Value, that.Value)) return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Value=" + Value
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_BrokerId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string Value
|
||||
{
|
||||
get { return value; }
|
||||
set { this.value = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,95 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for BrokerInfo
//
//
// 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
//
public class BrokerInfo : BaseCommand
{
public const byte ID_BrokerInfo = 2;
BrokerId brokerId;
string brokerURL;
BrokerInfo[] peerBrokerInfos;
string brokerName;
bool slaveBroker;
public override string ToString() {
return GetType().Name + "["
+ " BrokerId=" + BrokerId
+ " BrokerURL=" + BrokerURL
+ " PeerBrokerInfos=" + PeerBrokerInfos
+ " BrokerName=" + BrokerName
+ " SlaveBroker=" + SlaveBroker
+ " ]";
}
public override byte GetDataStructureType() {
return ID_BrokerInfo;
}
// Properties
public BrokerId BrokerId
{
get { return brokerId; }
set { this.brokerId = value; }
}
public string BrokerURL
{
get { return brokerURL; }
set { this.brokerURL = value; }
}
public BrokerInfo[] PeerBrokerInfos
{
get { return peerBrokerInfos; }
set { this.peerBrokerInfos = value; }
}
public string BrokerName
{
get { return brokerName; }
set { this.brokerName = value; }
}
public bool SlaveBroker
{
get { return slaveBroker; }
set { this.slaveBroker = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for BrokerInfo
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class BrokerInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_BrokerInfo = 2;
|
||||
|
||||
BrokerId brokerId;
|
||||
string brokerURL;
|
||||
BrokerInfo[] peerBrokerInfos;
|
||||
string brokerName;
|
||||
bool slaveBroker;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " BrokerId=" + BrokerId
|
||||
+ " BrokerURL=" + BrokerURL
|
||||
+ " PeerBrokerInfos=" + PeerBrokerInfos
|
||||
+ " BrokerName=" + BrokerName
|
||||
+ " SlaveBroker=" + SlaveBroker
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_BrokerInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public BrokerId BrokerId
|
||||
{
|
||||
get { return brokerId; }
|
||||
set { this.brokerId = value; }
|
||||
}
|
||||
|
||||
public string BrokerURL
|
||||
{
|
||||
get { return brokerURL; }
|
||||
set { this.brokerURL = value; }
|
||||
}
|
||||
|
||||
public BrokerInfo[] PeerBrokerInfos
|
||||
{
|
||||
get { return peerBrokerInfos; }
|
||||
set { this.peerBrokerInfos = value; }
|
||||
}
|
||||
|
||||
public string BrokerName
|
||||
{
|
||||
get { return brokerName; }
|
||||
set { this.brokerName = value; }
|
||||
}
|
||||
|
||||
public bool SlaveBroker
|
||||
{
|
||||
get { return slaveBroker; }
|
||||
set { this.slaveBroker = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class ConnectionError : BaseCommand
{
public const byte ID_ConnectionError = 16;
BrokerError exception;
ConnectionId connectionId;
public override string ToString() {
return GetType().Name + "["
+ " Exception=" + Exception
+ " ConnectionId=" + ConnectionId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ConnectionError;
}
// Properties
public BrokerError Exception
{
get { return exception; }
set { this.exception = value; }
}
public ConnectionId ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ConnectionError : BaseCommand
|
||||
{
|
||||
public const byte ID_ConnectionError = 16;
|
||||
|
||||
BrokerError exception;
|
||||
ConnectionId connectionId;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Exception=" + Exception
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ConnectionError;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public BrokerError Exception
|
||||
{
|
||||
get { return exception; }
|
||||
set { this.exception = value; }
|
||||
}
|
||||
|
||||
public ConnectionId ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for ConnectionId
//
//
// 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
//
public class ConnectionId : AbstractCommand, DataStructure
{
public const byte ID_ConnectionId = 120;
string value;
public override int GetHashCode() {
int answer = 0;
answer = (answer * 37) + HashCode(Value);
return answer;
}
public override bool Equals(object that) {
if (that is ConnectionId) {
return Equals((ConnectionId) that);
}
return false;
}
public virtual bool Equals(ConnectionId that) {
if (! Equals(this.Value, that.Value)) return false;
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " Value=" + Value
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ConnectionId;
}
// Properties
public string Value
{
get { return value; }
set { this.value = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConnectionId
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ConnectionId : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_ConnectionId = 120;
|
||||
|
||||
string value;
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
answer = (answer * 37) + HashCode(Value);
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is ConnectionId) {
|
||||
return Equals((ConnectionId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(ConnectionId that) {
|
||||
if (! Equals(this.Value, that.Value)) return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Value=" + Value
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ConnectionId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string Value
|
||||
{
|
||||
get { return value; }
|
||||
set { this.value = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,95 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for ConnectionInfo
//
//
// 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
//
public class ConnectionInfo : BaseCommand
{
public const byte ID_ConnectionInfo = 3;
ConnectionId connectionId;
string clientId;
string password;
string userName;
BrokerId[] brokerPath;
public override string ToString() {
return GetType().Name + "["
+ " ConnectionId=" + ConnectionId
+ " ClientId=" + ClientId
+ " Password=" + Password
+ " UserName=" + UserName
+ " BrokerPath=" + BrokerPath
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ConnectionInfo;
}
// Properties
public ConnectionId ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
public string ClientId
{
get { return clientId; }
set { this.clientId = value; }
}
public string Password
{
get { return password; }
set { this.password = value; }
}
public string UserName
{
get { return userName; }
set { this.userName = value; }
}
public BrokerId[] BrokerPath
{
get { return brokerPath; }
set { this.brokerPath = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConnectionInfo
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ConnectionInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_ConnectionInfo = 3;
|
||||
|
||||
ConnectionId connectionId;
|
||||
string clientId;
|
||||
string password;
|
||||
string userName;
|
||||
BrokerId[] brokerPath;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " ClientId=" + ClientId
|
||||
+ " Password=" + Password
|
||||
+ " UserName=" + UserName
|
||||
+ " BrokerPath=" + BrokerPath
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ConnectionInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ConnectionId ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
public string ClientId
|
||||
{
|
||||
get { return clientId; }
|
||||
set { this.clientId = value; }
|
||||
}
|
||||
|
||||
public string Password
|
||||
{
|
||||
get { return password; }
|
||||
set { this.password = value; }
|
||||
}
|
||||
|
||||
public string UserName
|
||||
{
|
||||
get { return userName; }
|
||||
set { this.userName = value; }
|
||||
}
|
||||
|
||||
public BrokerId[] BrokerPath
|
||||
{
|
||||
get { return brokerPath; }
|
||||
set { this.brokerPath = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,105 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for ConsumerId
//
//
// 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
//
public class ConsumerId : AbstractCommand, DataStructure
{
public const byte ID_ConsumerId = 122;
string connectionId;
long sessionId;
long value;
public override int GetHashCode() {
int answer = 0;
answer = (answer * 37) + HashCode(ConnectionId);
answer = (answer * 37) + HashCode(SessionId);
answer = (answer * 37) + HashCode(Value);
return answer;
}
public override bool Equals(object that) {
if (that is ConsumerId) {
return Equals((ConsumerId) that);
}
return false;
}
public virtual bool Equals(ConsumerId that) {
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
if (! Equals(this.SessionId, that.SessionId)) return false;
if (! Equals(this.Value, that.Value)) return false;
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " ConnectionId=" + ConnectionId
+ " SessionId=" + SessionId
+ " Value=" + Value
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ConsumerId;
}
// Properties
public string ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
public long SessionId
{
get { return sessionId; }
set { this.sessionId = value; }
}
public long Value
{
get { return value; }
set { this.value = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConsumerId
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ConsumerId : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_ConsumerId = 122;
|
||||
|
||||
string connectionId;
|
||||
long sessionId;
|
||||
long value;
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
answer = (answer * 37) + HashCode(ConnectionId);
|
||||
answer = (answer * 37) + HashCode(SessionId);
|
||||
answer = (answer * 37) + HashCode(Value);
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is ConsumerId) {
|
||||
return Equals((ConsumerId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(ConsumerId that) {
|
||||
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
||||
if (! Equals(this.SessionId, that.SessionId)) return false;
|
||||
if (! Equals(this.Value, that.Value)) return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " SessionId=" + SessionId
|
||||
+ " Value=" + Value
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ConsumerId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
public long SessionId
|
||||
{
|
||||
get { return sessionId; }
|
||||
set { this.sessionId = value; }
|
||||
}
|
||||
|
||||
public long Value
|
||||
{
|
||||
get { return value; }
|
||||
set { this.value = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,175 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for ConsumerInfo
//
//
// 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
//
public class ConsumerInfo : BaseCommand
{
public const byte ID_ConsumerInfo = 5;
ConsumerId consumerId;
bool browser;
ActiveMQDestination destination;
int prefetchSize;
int maximumPendingMessageLimit;
bool dispatchAsync;
string selector;
string subcriptionName;
bool noLocal;
bool exclusive;
bool retroactive;
byte priority;
BrokerId[] brokerPath;
BooleanExpression additionalPredicate;
bool networkSubscription;
public override string ToString() {
return GetType().Name + "["
+ " ConsumerId=" + ConsumerId
+ " Browser=" + Browser
+ " Destination=" + Destination
+ " PrefetchSize=" + PrefetchSize
+ " MaximumPendingMessageLimit=" + MaximumPendingMessageLimit
+ " DispatchAsync=" + DispatchAsync
+ " Selector=" + Selector
+ " SubcriptionName=" + SubcriptionName
+ " NoLocal=" + NoLocal
+ " Exclusive=" + Exclusive
+ " Retroactive=" + Retroactive
+ " Priority=" + Priority
+ " BrokerPath=" + BrokerPath
+ " AdditionalPredicate=" + AdditionalPredicate
+ " NetworkSubscription=" + NetworkSubscription
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ConsumerInfo;
}
// Properties
public ConsumerId ConsumerId
{
get { return consumerId; }
set { this.consumerId = value; }
}
public bool Browser
{
get { return browser; }
set { this.browser = value; }
}
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public int PrefetchSize
{
get { return prefetchSize; }
set { this.prefetchSize = value; }
}
public int MaximumPendingMessageLimit
{
get { return maximumPendingMessageLimit; }
set { this.maximumPendingMessageLimit = value; }
}
public bool DispatchAsync
{
get { return dispatchAsync; }
set { this.dispatchAsync = value; }
}
public string Selector
{
get { return selector; }
set { this.selector = value; }
}
public string SubcriptionName
{
get { return subcriptionName; }
set { this.subcriptionName = value; }
}
public bool NoLocal
{
get { return noLocal; }
set { this.noLocal = value; }
}
public bool Exclusive
{
get { return exclusive; }
set { this.exclusive = value; }
}
public bool Retroactive
{
get { return retroactive; }
set { this.retroactive = value; }
}
public byte Priority
{
get { return priority; }
set { this.priority = value; }
}
public BrokerId[] BrokerPath
{
get { return brokerPath; }
set { this.brokerPath = value; }
}
public BooleanExpression AdditionalPredicate
{
get { return additionalPredicate; }
set { this.additionalPredicate = value; }
}
public bool NetworkSubscription
{
get { return networkSubscription; }
set { this.networkSubscription = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConsumerInfo
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ConsumerInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_ConsumerInfo = 5;
|
||||
|
||||
ConsumerId consumerId;
|
||||
bool browser;
|
||||
ActiveMQDestination destination;
|
||||
int prefetchSize;
|
||||
int maximumPendingMessageLimit;
|
||||
bool dispatchAsync;
|
||||
string selector;
|
||||
string subcriptionName;
|
||||
bool noLocal;
|
||||
bool exclusive;
|
||||
bool retroactive;
|
||||
byte priority;
|
||||
BrokerId[] brokerPath;
|
||||
BooleanExpression additionalPredicate;
|
||||
bool networkSubscription;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConsumerId=" + ConsumerId
|
||||
+ " Browser=" + Browser
|
||||
+ " Destination=" + Destination
|
||||
+ " PrefetchSize=" + PrefetchSize
|
||||
+ " MaximumPendingMessageLimit=" + MaximumPendingMessageLimit
|
||||
+ " DispatchAsync=" + DispatchAsync
|
||||
+ " Selector=" + Selector
|
||||
+ " SubcriptionName=" + SubcriptionName
|
||||
+ " NoLocal=" + NoLocal
|
||||
+ " Exclusive=" + Exclusive
|
||||
+ " Retroactive=" + Retroactive
|
||||
+ " Priority=" + Priority
|
||||
+ " BrokerPath=" + BrokerPath
|
||||
+ " AdditionalPredicate=" + AdditionalPredicate
|
||||
+ " NetworkSubscription=" + NetworkSubscription
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ConsumerInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ConsumerId ConsumerId
|
||||
{
|
||||
get { return consumerId; }
|
||||
set { this.consumerId = value; }
|
||||
}
|
||||
|
||||
public bool Browser
|
||||
{
|
||||
get { return browser; }
|
||||
set { this.browser = value; }
|
||||
}
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public int PrefetchSize
|
||||
{
|
||||
get { return prefetchSize; }
|
||||
set { this.prefetchSize = value; }
|
||||
}
|
||||
|
||||
public int MaximumPendingMessageLimit
|
||||
{
|
||||
get { return maximumPendingMessageLimit; }
|
||||
set { this.maximumPendingMessageLimit = value; }
|
||||
}
|
||||
|
||||
public bool DispatchAsync
|
||||
{
|
||||
get { return dispatchAsync; }
|
||||
set { this.dispatchAsync = value; }
|
||||
}
|
||||
|
||||
public string Selector
|
||||
{
|
||||
get { return selector; }
|
||||
set { this.selector = value; }
|
||||
}
|
||||
|
||||
public string SubcriptionName
|
||||
{
|
||||
get { return subcriptionName; }
|
||||
set { this.subcriptionName = value; }
|
||||
}
|
||||
|
||||
public bool NoLocal
|
||||
{
|
||||
get { return noLocal; }
|
||||
set { this.noLocal = value; }
|
||||
}
|
||||
|
||||
public bool Exclusive
|
||||
{
|
||||
get { return exclusive; }
|
||||
set { this.exclusive = value; }
|
||||
}
|
||||
|
||||
public bool Retroactive
|
||||
{
|
||||
get { return retroactive; }
|
||||
set { this.retroactive = value; }
|
||||
}
|
||||
|
||||
public byte Priority
|
||||
{
|
||||
get { return priority; }
|
||||
set { this.priority = value; }
|
||||
}
|
||||
|
||||
public BrokerId[] BrokerPath
|
||||
{
|
||||
get { return brokerPath; }
|
||||
set { this.brokerPath = value; }
|
||||
}
|
||||
|
||||
public BooleanExpression AdditionalPredicate
|
||||
{
|
||||
get { return additionalPredicate; }
|
||||
set { this.additionalPredicate = value; }
|
||||
}
|
||||
|
||||
public bool NetworkSubscription
|
||||
{
|
||||
get { return networkSubscription; }
|
||||
set { this.networkSubscription = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class ControlCommand : BaseCommand
{
public const byte ID_ControlCommand = 14;
string command;
public override string ToString() {
return GetType().Name + "["
+ " Command=" + Command
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ControlCommand;
}
// Properties
public string Command
{
get { return command; }
set { this.command = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ControlCommand : BaseCommand
|
||||
{
|
||||
public const byte ID_ControlCommand = 14;
|
||||
|
||||
string command;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Command=" + Command
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ControlCommand;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string Command
|
||||
{
|
||||
get { return command; }
|
||||
set { this.command = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class DataArrayResponse : Response
{
public const byte ID_DataArrayResponse = 33;
DataStructure[] data;
public override string ToString() {
return GetType().Name + "["
+ " Data=" + Data
+ " ]";
}
public override byte GetDataStructureType() {
return ID_DataArrayResponse;
}
// Properties
public DataStructure[] Data
{
get { return data; }
set { this.data = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class DataArrayResponse : Response
|
||||
{
|
||||
public const byte ID_DataArrayResponse = 33;
|
||||
|
||||
DataStructure[] data;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Data=" + Data
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_DataArrayResponse;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public DataStructure[] Data
|
||||
{
|
||||
get { return data; }
|
||||
set { this.data = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class DataResponse : Response
{
public const byte ID_DataResponse = 32;
DataStructure data;
public override string ToString() {
return GetType().Name + "["
+ " Data=" + Data
+ " ]";
}
public override byte GetDataStructureType() {
return ID_DataResponse;
}
// Properties
public DataStructure Data
{
get { return data; }
set { this.data = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class DataResponse : Response
|
||||
{
|
||||
public const byte ID_DataResponse = 32;
|
||||
|
||||
DataStructure data;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Data=" + Data
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_DataResponse;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public DataStructure Data
|
||||
{
|
||||
get { return data; }
|
||||
set { this.data = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,95 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class DestinationInfo : BaseCommand
{
public const byte ID_DestinationInfo = 8;
ConnectionId connectionId;
ActiveMQDestination destination;
byte operationType;
long timeout;
BrokerId[] brokerPath;
public override string ToString() {
return GetType().Name + "["
+ " ConnectionId=" + ConnectionId
+ " Destination=" + Destination
+ " OperationType=" + OperationType
+ " Timeout=" + Timeout
+ " BrokerPath=" + BrokerPath
+ " ]";
}
public override byte GetDataStructureType() {
return ID_DestinationInfo;
}
// Properties
public ConnectionId ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public byte OperationType
{
get { return operationType; }
set { this.operationType = value; }
}
public long Timeout
{
get { return timeout; }
set { this.timeout = value; }
}
public BrokerId[] BrokerPath
{
get { return brokerPath; }
set { this.brokerPath = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class DestinationInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_DestinationInfo = 8;
|
||||
|
||||
ConnectionId connectionId;
|
||||
ActiveMQDestination destination;
|
||||
byte operationType;
|
||||
long timeout;
|
||||
BrokerId[] brokerPath;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " Destination=" + Destination
|
||||
+ " OperationType=" + OperationType
|
||||
+ " Timeout=" + Timeout
|
||||
+ " BrokerPath=" + BrokerPath
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_DestinationInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ConnectionId ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public byte OperationType
|
||||
{
|
||||
get { return operationType; }
|
||||
set { this.operationType = value; }
|
||||
}
|
||||
|
||||
public long Timeout
|
||||
{
|
||||
get { return timeout; }
|
||||
set { this.timeout = value; }
|
||||
}
|
||||
|
||||
public BrokerId[] BrokerPath
|
||||
{
|
||||
get { return brokerPath; }
|
||||
set { this.brokerPath = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class DiscoveryEvent : AbstractCommand, DataStructure
{
public const byte ID_DiscoveryEvent = 40;
string serviceName;
string brokerName;
public override string ToString() {
return GetType().Name + "["
+ " ServiceName=" + ServiceName
+ " BrokerName=" + BrokerName
+ " ]";
}
public override byte GetDataStructureType() {
return ID_DiscoveryEvent;
}
// Properties
public string ServiceName
{
get { return serviceName; }
set { this.serviceName = value; }
}
public string BrokerName
{
get { return brokerName; }
set { this.brokerName = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class DiscoveryEvent : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_DiscoveryEvent = 40;
|
||||
|
||||
string serviceName;
|
||||
string brokerName;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ServiceName=" + ServiceName
|
||||
+ " BrokerName=" + BrokerName
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_DiscoveryEvent;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string ServiceName
|
||||
{
|
||||
get { return serviceName; }
|
||||
set { this.serviceName = value; }
|
||||
}
|
||||
|
||||
public string BrokerName
|
||||
{
|
||||
get { return brokerName; }
|
||||
set { this.brokerName = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for ExceptionResponse
//
//
// 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
//
public class ExceptionResponse : Response
{
public const byte ID_ExceptionResponse = 31;
BrokerError exception;
public override string ToString() {
return GetType().Name + "["
+ " Exception=" + Exception
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ExceptionResponse;
}
// Properties
public BrokerError Exception
{
get { return exception; }
set { this.exception = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ExceptionResponse
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ExceptionResponse : Response
|
||||
{
|
||||
public const byte ID_ExceptionResponse = 31;
|
||||
|
||||
BrokerError exception;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Exception=" + Exception
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ExceptionResponse;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public BrokerError Exception
|
||||
{
|
||||
get { return exception; }
|
||||
set { this.exception = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class FlushCommand : BaseCommand
{
public const byte ID_FlushCommand = 15;
public override string ToString() {
return GetType().Name + "["
+ " ]";
}
public override byte GetDataStructureType() {
return ID_FlushCommand;
}
// Properties
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class FlushCommand : BaseCommand
|
||||
{
|
||||
public const byte ID_FlushCommand = 15;
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_FlushCommand;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class IntegerResponse : Response
{
public const byte ID_IntegerResponse = 34;
int result;
public override string ToString() {
return GetType().Name + "["
+ " Result=" + Result
+ " ]";
}
public override byte GetDataStructureType() {
return ID_IntegerResponse;
}
// Properties
public int Result
{
get { return result; }
set { this.result = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class IntegerResponse : Response
|
||||
{
|
||||
public const byte ID_IntegerResponse = 34;
|
||||
|
||||
int result;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Result=" + Result
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_IntegerResponse;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public int Result
|
||||
{
|
||||
get { return result; }
|
||||
set { this.result = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class JournalQueueAck : AbstractCommand, DataStructure
{
public const byte ID_JournalQueueAck = 52;
ActiveMQDestination destination;
MessageAck messageAck;
public override string ToString() {
return GetType().Name + "["
+ " Destination=" + Destination
+ " MessageAck=" + MessageAck
+ " ]";
}
public override byte GetDataStructureType() {
return ID_JournalQueueAck;
}
// Properties
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public MessageAck MessageAck
{
get { return messageAck; }
set { this.messageAck = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class JournalQueueAck : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_JournalQueueAck = 52;
|
||||
|
||||
ActiveMQDestination destination;
|
||||
MessageAck messageAck;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Destination=" + Destination
|
||||
+ " MessageAck=" + MessageAck
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_JournalQueueAck;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public MessageAck MessageAck
|
||||
{
|
||||
get { return messageAck; }
|
||||
set { this.messageAck = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,103 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class JournalTopicAck : AbstractCommand, DataStructure
{
public const byte ID_JournalTopicAck = 50;
ActiveMQDestination destination;
MessageId messageId;
long messageSequenceId;
string subscritionName;
string clientId;
TransactionId transactionId;
public override string ToString() {
return GetType().Name + "["
+ " Destination=" + Destination
+ " MessageId=" + MessageId
+ " MessageSequenceId=" + MessageSequenceId
+ " SubscritionName=" + SubscritionName
+ " ClientId=" + ClientId
+ " TransactionId=" + TransactionId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_JournalTopicAck;
}
// Properties
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public MessageId MessageId
{
get { return messageId; }
set { this.messageId = value; }
}
public long MessageSequenceId
{
get { return messageSequenceId; }
set { this.messageSequenceId = value; }
}
public string SubscritionName
{
get { return subscritionName; }
set { this.subscritionName = value; }
}
public string ClientId
{
get { return clientId; }
set { this.clientId = value; }
}
public TransactionId TransactionId
{
get { return transactionId; }
set { this.transactionId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class JournalTopicAck : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_JournalTopicAck = 50;
|
||||
|
||||
ActiveMQDestination destination;
|
||||
MessageId messageId;
|
||||
long messageSequenceId;
|
||||
string subscritionName;
|
||||
string clientId;
|
||||
TransactionId transactionId;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Destination=" + Destination
|
||||
+ " MessageId=" + MessageId
|
||||
+ " MessageSequenceId=" + MessageSequenceId
|
||||
+ " SubscritionName=" + SubscritionName
|
||||
+ " ClientId=" + ClientId
|
||||
+ " TransactionId=" + TransactionId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_JournalTopicAck;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public MessageId MessageId
|
||||
{
|
||||
get { return messageId; }
|
||||
set { this.messageId = value; }
|
||||
}
|
||||
|
||||
public long MessageSequenceId
|
||||
{
|
||||
get { return messageSequenceId; }
|
||||
set { this.messageSequenceId = value; }
|
||||
}
|
||||
|
||||
public string SubscritionName
|
||||
{
|
||||
get { return subscritionName; }
|
||||
set { this.subscritionName = value; }
|
||||
}
|
||||
|
||||
public string ClientId
|
||||
{
|
||||
get { return clientId; }
|
||||
set { this.clientId = value; }
|
||||
}
|
||||
|
||||
public TransactionId TransactionId
|
||||
{
|
||||
get { return transactionId; }
|
||||
set { this.transactionId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class JournalTrace : AbstractCommand, DataStructure
{
public const byte ID_JournalTrace = 53;
string message;
public override string ToString() {
return GetType().Name + "["
+ " Message=" + Message
+ " ]";
}
public override byte GetDataStructureType() {
return ID_JournalTrace;
}
// Properties
public string Message
{
get { return message; }
set { this.message = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class JournalTrace : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_JournalTrace = 53;
|
||||
|
||||
string message;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Message=" + Message
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_JournalTrace;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string Message
|
||||
{
|
||||
get { return message; }
|
||||
set { this.message = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class JournalTransaction : AbstractCommand, DataStructure
{
public const byte ID_JournalTransaction = 54;
TransactionId transactionId;
byte type;
bool wasPrepared;
public override string ToString() {
return GetType().Name + "["
+ " TransactionId=" + TransactionId
+ " Type=" + Type
+ " WasPrepared=" + WasPrepared
+ " ]";
}
public override byte GetDataStructureType() {
return ID_JournalTransaction;
}
// Properties
public TransactionId TransactionId
{
get { return transactionId; }
set { this.transactionId = value; }
}
public byte Type
{
get { return type; }
set { this.type = value; }
}
public bool WasPrepared
{
get { return wasPrepared; }
set { this.wasPrepared = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class JournalTransaction : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_JournalTransaction = 54;
|
||||
|
||||
TransactionId transactionId;
|
||||
byte type;
|
||||
bool wasPrepared;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " TransactionId=" + TransactionId
|
||||
+ " Type=" + Type
|
||||
+ " WasPrepared=" + WasPrepared
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_JournalTransaction;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public TransactionId TransactionId
|
||||
{
|
||||
get { return transactionId; }
|
||||
set { this.transactionId = value; }
|
||||
}
|
||||
|
||||
public byte Type
|
||||
{
|
||||
get { return type; }
|
||||
set { this.type = value; }
|
||||
}
|
||||
|
||||
public bool WasPrepared
|
||||
{
|
||||
get { return wasPrepared; }
|
||||
set { this.wasPrepared = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class KeepAliveInfo : AbstractCommand, Command
{
public const byte ID_KeepAliveInfo = 10;
public override string ToString() {
return GetType().Name + "["
+ " ]";
}
public override byte GetDataStructureType() {
return ID_KeepAliveInfo;
}
// Properties
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class KeepAliveInfo : AbstractCommand, Command
|
||||
{
|
||||
public const byte ID_KeepAliveInfo = 10;
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_KeepAliveInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,95 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class LocalTransactionId : TransactionId
{
public const byte ID_LocalTransactionId = 111;
long value;
ConnectionId connectionId;
public override int GetHashCode() {
int answer = 0;
answer = (answer * 37) + HashCode(Value);
answer = (answer * 37) + HashCode(ConnectionId);
return answer;
}
public override bool Equals(object that) {
if (that is LocalTransactionId) {
return Equals((LocalTransactionId) that);
}
return false;
}
public virtual bool Equals(LocalTransactionId that) {
if (! Equals(this.Value, that.Value)) return false;
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " Value=" + Value
+ " ConnectionId=" + ConnectionId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_LocalTransactionId;
}
// Properties
public long Value
{
get { return value; }
set { this.value = value; }
}
public ConnectionId ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class LocalTransactionId : TransactionId
|
||||
{
|
||||
public const byte ID_LocalTransactionId = 111;
|
||||
|
||||
long value;
|
||||
ConnectionId connectionId;
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
answer = (answer * 37) + HashCode(Value);
|
||||
answer = (answer * 37) + HashCode(ConnectionId);
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is LocalTransactionId) {
|
||||
return Equals((LocalTransactionId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(LocalTransactionId that) {
|
||||
if (! Equals(this.Value, that.Value)) return false;
|
||||
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Value=" + Value
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_LocalTransactionId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public long Value
|
||||
{
|
||||
get { return value; }
|
||||
set { this.value = value; }
|
||||
}
|
||||
|
||||
public ConnectionId ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1,111 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for MessageAck
//
//
// 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
//
public class MessageAck : BaseCommand
{
public const byte ID_MessageAck = 22;
ActiveMQDestination destination;
TransactionId transactionId;
ConsumerId consumerId;
byte ackType;
MessageId firstMessageId;
MessageId lastMessageId;
int messageCount;
public override string ToString() {
return GetType().Name + "["
+ " Destination=" + Destination
+ " TransactionId=" + TransactionId
+ " ConsumerId=" + ConsumerId
+ " AckType=" + AckType
+ " FirstMessageId=" + FirstMessageId
+ " LastMessageId=" + LastMessageId
+ " MessageCount=" + MessageCount
+ " ]";
}
public override byte GetDataStructureType() {
return ID_MessageAck;
}
// Properties
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public TransactionId TransactionId
{
get { return transactionId; }
set { this.transactionId = value; }
}
public ConsumerId ConsumerId
{
get { return consumerId; }
set { this.consumerId = value; }
}
public byte AckType
{
get { return ackType; }
set { this.ackType = value; }
}
public MessageId FirstMessageId
{
get { return firstMessageId; }
set { this.firstMessageId = value; }
}
public MessageId LastMessageId
{
get { return lastMessageId; }
set { this.lastMessageId = value; }
}
public int MessageCount
{
get { return messageCount; }
set { this.messageCount = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for MessageAck
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class MessageAck : BaseCommand
|
||||
{
|
||||
public const byte ID_MessageAck = 22;
|
||||
|
||||
ActiveMQDestination destination;
|
||||
TransactionId transactionId;
|
||||
ConsumerId consumerId;
|
||||
byte ackType;
|
||||
MessageId firstMessageId;
|
||||
MessageId lastMessageId;
|
||||
int messageCount;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Destination=" + Destination
|
||||
+ " TransactionId=" + TransactionId
|
||||
+ " ConsumerId=" + ConsumerId
|
||||
+ " AckType=" + AckType
|
||||
+ " FirstMessageId=" + FirstMessageId
|
||||
+ " LastMessageId=" + LastMessageId
|
||||
+ " MessageCount=" + MessageCount
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_MessageAck;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public TransactionId TransactionId
|
||||
{
|
||||
get { return transactionId; }
|
||||
set { this.transactionId = value; }
|
||||
}
|
||||
|
||||
public ConsumerId ConsumerId
|
||||
{
|
||||
get { return consumerId; }
|
||||
set { this.consumerId = value; }
|
||||
}
|
||||
|
||||
public byte AckType
|
||||
{
|
||||
get { return ackType; }
|
||||
set { this.ackType = value; }
|
||||
}
|
||||
|
||||
public MessageId FirstMessageId
|
||||
{
|
||||
get { return firstMessageId; }
|
||||
set { this.firstMessageId = value; }
|
||||
}
|
||||
|
||||
public MessageId LastMessageId
|
||||
{
|
||||
get { return lastMessageId; }
|
||||
set { this.lastMessageId = value; }
|
||||
}
|
||||
|
||||
public int MessageCount
|
||||
{
|
||||
get { return messageCount; }
|
||||
set { this.messageCount = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,87 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class MessageDispatch : BaseCommand
{
public const byte ID_MessageDispatch = 21;
ConsumerId consumerId;
ActiveMQDestination destination;
Message message;
int redeliveryCounter;
public override string ToString() {
return GetType().Name + "["
+ " ConsumerId=" + ConsumerId
+ " Destination=" + Destination
+ " Message=" + Message
+ " RedeliveryCounter=" + RedeliveryCounter
+ " ]";
}
public override byte GetDataStructureType() {
return ID_MessageDispatch;
}
// Properties
public ConsumerId ConsumerId
{
get { return consumerId; }
set { this.consumerId = value; }
}
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public Message Message
{
get { return message; }
set { this.message = value; }
}
public int RedeliveryCounter
{
get { return redeliveryCounter; }
set { this.redeliveryCounter = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class MessageDispatch : BaseCommand
|
||||
{
|
||||
public const byte ID_MessageDispatch = 21;
|
||||
|
||||
ConsumerId consumerId;
|
||||
ActiveMQDestination destination;
|
||||
Message message;
|
||||
int redeliveryCounter;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConsumerId=" + ConsumerId
|
||||
+ " Destination=" + Destination
|
||||
+ " Message=" + Message
|
||||
+ " RedeliveryCounter=" + RedeliveryCounter
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_MessageDispatch;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ConsumerId ConsumerId
|
||||
{
|
||||
get { return consumerId; }
|
||||
set { this.consumerId = value; }
|
||||
}
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public Message Message
|
||||
{
|
||||
get { return message; }
|
||||
set { this.message = value; }
|
||||
}
|
||||
|
||||
public int RedeliveryCounter
|
||||
{
|
||||
get { return redeliveryCounter; }
|
||||
set { this.redeliveryCounter = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,87 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class MessageDispatchNotification : BaseCommand
{
public const byte ID_MessageDispatchNotification = 90;
ConsumerId consumerId;
ActiveMQDestination destination;
long deliverySequenceId;
MessageId messageId;
public override string ToString() {
return GetType().Name + "["
+ " ConsumerId=" + ConsumerId
+ " Destination=" + Destination
+ " DeliverySequenceId=" + DeliverySequenceId
+ " MessageId=" + MessageId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_MessageDispatchNotification;
}
// Properties
public ConsumerId ConsumerId
{
get { return consumerId; }
set { this.consumerId = value; }
}
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public long DeliverySequenceId
{
get { return deliverySequenceId; }
set { this.deliverySequenceId = value; }
}
public MessageId MessageId
{
get { return messageId; }
set { this.messageId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class MessageDispatchNotification : BaseCommand
|
||||
{
|
||||
public const byte ID_MessageDispatchNotification = 90;
|
||||
|
||||
ConsumerId consumerId;
|
||||
ActiveMQDestination destination;
|
||||
long deliverySequenceId;
|
||||
MessageId messageId;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConsumerId=" + ConsumerId
|
||||
+ " Destination=" + Destination
|
||||
+ " DeliverySequenceId=" + DeliverySequenceId
|
||||
+ " MessageId=" + MessageId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_MessageDispatchNotification;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ConsumerId ConsumerId
|
||||
{
|
||||
get { return consumerId; }
|
||||
set { this.consumerId = value; }
|
||||
}
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public long DeliverySequenceId
|
||||
{
|
||||
get { return deliverySequenceId; }
|
||||
set { this.deliverySequenceId = value; }
|
||||
}
|
||||
|
||||
public MessageId MessageId
|
||||
{
|
||||
get { return messageId; }
|
||||
set { this.messageId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,105 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class MessageId : AbstractCommand, DataStructure
{
public const byte ID_MessageId = 110;
ProducerId producerId;
long producerSequenceId;
long brokerSequenceId;
public override int GetHashCode() {
int answer = 0;
answer = (answer * 37) + HashCode(ProducerId);
answer = (answer * 37) + HashCode(ProducerSequenceId);
answer = (answer * 37) + HashCode(BrokerSequenceId);
return answer;
}
public override bool Equals(object that) {
if (that is MessageId) {
return Equals((MessageId) that);
}
return false;
}
public virtual bool Equals(MessageId that) {
if (! Equals(this.ProducerId, that.ProducerId)) return false;
if (! Equals(this.ProducerSequenceId, that.ProducerSequenceId)) return false;
if (! Equals(this.BrokerSequenceId, that.BrokerSequenceId)) return false;
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " ProducerId=" + ProducerId
+ " ProducerSequenceId=" + ProducerSequenceId
+ " BrokerSequenceId=" + BrokerSequenceId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_MessageId;
}
// Properties
public ProducerId ProducerId
{
get { return producerId; }
set { this.producerId = value; }
}
public long ProducerSequenceId
{
get { return producerSequenceId; }
set { this.producerSequenceId = value; }
}
public long BrokerSequenceId
{
get { return brokerSequenceId; }
set { this.brokerSequenceId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class MessageId : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_MessageId = 110;
|
||||
|
||||
ProducerId producerId;
|
||||
long producerSequenceId;
|
||||
long brokerSequenceId;
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
answer = (answer * 37) + HashCode(ProducerId);
|
||||
answer = (answer * 37) + HashCode(ProducerSequenceId);
|
||||
answer = (answer * 37) + HashCode(BrokerSequenceId);
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is MessageId) {
|
||||
return Equals((MessageId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(MessageId that) {
|
||||
if (! Equals(this.ProducerId, that.ProducerId)) return false;
|
||||
if (! Equals(this.ProducerSequenceId, that.ProducerSequenceId)) return false;
|
||||
if (! Equals(this.BrokerSequenceId, that.BrokerSequenceId)) return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ProducerId=" + ProducerId
|
||||
+ " ProducerSequenceId=" + ProducerSequenceId
|
||||
+ " BrokerSequenceId=" + BrokerSequenceId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_MessageId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ProducerId ProducerId
|
||||
{
|
||||
get { return producerId; }
|
||||
set { this.producerId = value; }
|
||||
}
|
||||
|
||||
public long ProducerSequenceId
|
||||
{
|
||||
get { return producerSequenceId; }
|
||||
set { this.producerSequenceId = value; }
|
||||
}
|
||||
|
||||
public long BrokerSequenceId
|
||||
{
|
||||
get { return brokerSequenceId; }
|
||||
set { this.brokerSequenceId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for NetworkBridgeFilter
//
//
// 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
//
public class NetworkBridgeFilter : AbstractCommand, DataStructure, BooleanExpression
{
public const byte ID_NetworkBridgeFilter = 91;
int networkTTL;
BrokerId networkBrokerId;
public override string ToString() {
return GetType().Name + "["
+ " NetworkTTL=" + NetworkTTL
+ " NetworkBrokerId=" + NetworkBrokerId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_NetworkBridgeFilter;
}
// Properties
public int NetworkTTL
{
get { return networkTTL; }
set { this.networkTTL = value; }
}
public BrokerId NetworkBrokerId
{
get { return networkBrokerId; }
set { this.networkBrokerId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for NetworkBridgeFilter
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class NetworkBridgeFilter : AbstractCommand, DataStructure, BooleanExpression
|
||||
{
|
||||
public const byte ID_NetworkBridgeFilter = 91;
|
||||
|
||||
int networkTTL;
|
||||
BrokerId networkBrokerId;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " NetworkTTL=" + NetworkTTL
|
||||
+ " NetworkBrokerId=" + NetworkBrokerId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_NetworkBridgeFilter;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public int NetworkTTL
|
||||
{
|
||||
get { return networkTTL; }
|
||||
set { this.networkTTL = value; }
|
||||
}
|
||||
|
||||
public BrokerId NetworkBrokerId
|
||||
{
|
||||
get { return networkBrokerId; }
|
||||
set { this.networkBrokerId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,105 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for ProducerId
//
//
// 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
//
public class ProducerId : AbstractCommand, DataStructure
{
public const byte ID_ProducerId = 123;
string connectionId;
long value;
long sessionId;
public override int GetHashCode() {
int answer = 0;
answer = (answer * 37) + HashCode(ConnectionId);
answer = (answer * 37) + HashCode(Value);
answer = (answer * 37) + HashCode(SessionId);
return answer;
}
public override bool Equals(object that) {
if (that is ProducerId) {
return Equals((ProducerId) that);
}
return false;
}
public virtual bool Equals(ProducerId that) {
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
if (! Equals(this.Value, that.Value)) return false;
if (! Equals(this.SessionId, that.SessionId)) return false;
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " ConnectionId=" + ConnectionId
+ " Value=" + Value
+ " SessionId=" + SessionId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ProducerId;
}
// Properties
public string ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
public long Value
{
get { return value; }
set { this.value = value; }
}
public long SessionId
{
get { return sessionId; }
set { this.sessionId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ProducerId
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ProducerId : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_ProducerId = 123;
|
||||
|
||||
string connectionId;
|
||||
long value;
|
||||
long sessionId;
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
answer = (answer * 37) + HashCode(ConnectionId);
|
||||
answer = (answer * 37) + HashCode(Value);
|
||||
answer = (answer * 37) + HashCode(SessionId);
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is ProducerId) {
|
||||
return Equals((ProducerId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(ProducerId that) {
|
||||
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
||||
if (! Equals(this.Value, that.Value)) return false;
|
||||
if (! Equals(this.SessionId, that.SessionId)) return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " Value=" + Value
|
||||
+ " SessionId=" + SessionId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ProducerId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
public long Value
|
||||
{
|
||||
get { return value; }
|
||||
set { this.value = value; }
|
||||
}
|
||||
|
||||
public long SessionId
|
||||
{
|
||||
get { return sessionId; }
|
||||
set { this.sessionId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for ProducerInfo
//
//
// 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
//
public class ProducerInfo : BaseCommand
{
public const byte ID_ProducerInfo = 6;
ProducerId producerId;
ActiveMQDestination destination;
BrokerId[] brokerPath;
public override string ToString() {
return GetType().Name + "["
+ " ProducerId=" + ProducerId
+ " Destination=" + Destination
+ " BrokerPath=" + BrokerPath
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ProducerInfo;
}
// Properties
public ProducerId ProducerId
{
get { return producerId; }
set { this.producerId = value; }
}
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public BrokerId[] BrokerPath
{
get { return brokerPath; }
set { this.brokerPath = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ProducerInfo
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ProducerInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_ProducerInfo = 6;
|
||||
|
||||
ProducerId producerId;
|
||||
ActiveMQDestination destination;
|
||||
BrokerId[] brokerPath;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ProducerId=" + ProducerId
|
||||
+ " Destination=" + Destination
|
||||
+ " BrokerPath=" + BrokerPath
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ProducerInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ProducerId ProducerId
|
||||
{
|
||||
get { return producerId; }
|
||||
set { this.producerId = value; }
|
||||
}
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public BrokerId[] BrokerPath
|
||||
{
|
||||
get { return brokerPath; }
|
||||
set { this.brokerPath = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for RemoveInfo
//
//
// 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
//
public class RemoveInfo : BaseCommand
{
public const byte ID_RemoveInfo = 12;
DataStructure objectId;
public override string ToString() {
return GetType().Name + "["
+ " ObjectId=" + ObjectId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_RemoveInfo;
}
// Properties
public DataStructure ObjectId
{
get { return objectId; }
set { this.objectId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for RemoveInfo
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class RemoveInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_RemoveInfo = 12;
|
||||
|
||||
DataStructure objectId;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ObjectId=" + ObjectId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_RemoveInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public DataStructure ObjectId
|
||||
{
|
||||
get { return objectId; }
|
||||
set { this.objectId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class RemoveSubscriptionInfo : BaseCommand
{
public const byte ID_RemoveSubscriptionInfo = 0;
ConnectionId connectionId;
string subcriptionName;
string clientId;
public override string ToString() {
return GetType().Name + "["
+ " ConnectionId=" + ConnectionId
+ " SubcriptionName=" + SubcriptionName
+ " ClientId=" + ClientId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_RemoveSubscriptionInfo;
}
// Properties
public ConnectionId ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
public string SubcriptionName
{
get { return subcriptionName; }
set { this.subcriptionName = value; }
}
public string ClientId
{
get { return clientId; }
set { this.clientId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class RemoveSubscriptionInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_RemoveSubscriptionInfo = 0;
|
||||
|
||||
ConnectionId connectionId;
|
||||
string subcriptionName;
|
||||
string clientId;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " SubcriptionName=" + SubcriptionName
|
||||
+ " ClientId=" + ClientId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_RemoveSubscriptionInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ConnectionId ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
public string SubcriptionName
|
||||
{
|
||||
get { return subcriptionName; }
|
||||
set { this.subcriptionName = value; }
|
||||
}
|
||||
|
||||
public string ClientId
|
||||
{
|
||||
get { return clientId; }
|
||||
set { this.clientId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for Response
//
//
// 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
//
public class Response : BaseCommand
{
public const byte ID_Response = 30;
short correlationId;
public override string ToString() {
return GetType().Name + "["
+ " CorrelationId=" + CorrelationId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_Response;
}
// Properties
public short CorrelationId
{
get { return correlationId; }
set { this.correlationId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for Response
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class Response : BaseCommand
|
||||
{
|
||||
public const byte ID_Response = 30;
|
||||
|
||||
short correlationId;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " CorrelationId=" + CorrelationId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_Response;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public short CorrelationId
|
||||
{
|
||||
get { return correlationId; }
|
||||
set { this.correlationId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,95 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for SessionId
//
//
// 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
//
public class SessionId : AbstractCommand, DataStructure
{
public const byte ID_SessionId = 121;
string connectionId;
long value;
public override int GetHashCode() {
int answer = 0;
answer = (answer * 37) + HashCode(ConnectionId);
answer = (answer * 37) + HashCode(Value);
return answer;
}
public override bool Equals(object that) {
if (that is SessionId) {
return Equals((SessionId) that);
}
return false;
}
public virtual bool Equals(SessionId that) {
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
if (! Equals(this.Value, that.Value)) return false;
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " ConnectionId=" + ConnectionId
+ " Value=" + Value
+ " ]";
}
public override byte GetDataStructureType() {
return ID_SessionId;
}
// Properties
public string ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
public long Value
{
get { return value; }
set { this.value = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for SessionId
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class SessionId : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_SessionId = 121;
|
||||
|
||||
string connectionId;
|
||||
long value;
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
answer = (answer * 37) + HashCode(ConnectionId);
|
||||
answer = (answer * 37) + HashCode(Value);
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is SessionId) {
|
||||
return Equals((SessionId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(SessionId that) {
|
||||
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
||||
if (! Equals(this.Value, that.Value)) return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " Value=" + Value
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_SessionId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
public long Value
|
||||
{
|
||||
get { return value; }
|
||||
set { this.value = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,63 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// Marshalling code for Open Wire Format for SessionInfo
//
//
// 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
//
public class SessionInfo : BaseCommand
{
public const byte ID_SessionInfo = 4;
SessionId sessionId;
public override string ToString() {
return GetType().Name + "["
+ " SessionId=" + SessionId
+ " ]";
}
public override byte GetDataStructureType() {
return ID_SessionInfo;
}
// Properties
public SessionId SessionId
{
get { return sessionId; }
set { this.sessionId = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for SessionInfo
|
||||
//
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class SessionInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_SessionInfo = 4;
|
||||
|
||||
SessionId sessionId;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " SessionId=" + SessionId
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_SessionInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public SessionId SessionId
|
||||
{
|
||||
get { return sessionId; }
|
||||
set { this.sessionId = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class ShutdownInfo : BaseCommand
{
public const byte ID_ShutdownInfo = 11;
public override string ToString() {
return GetType().Name + "["
+ " ]";
}
public override byte GetDataStructureType() {
return ID_ShutdownInfo;
}
// Properties
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class ShutdownInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_ShutdownInfo = 11;
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_ShutdownInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,87 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class SubscriptionInfo : AbstractCommand, DataStructure
{
public const byte ID_SubscriptionInfo = 55;
string clientId;
ActiveMQDestination destination;
string selector;
string subcriptionName;
public override string ToString() {
return GetType().Name + "["
+ " ClientId=" + ClientId
+ " Destination=" + Destination
+ " Selector=" + Selector
+ " SubcriptionName=" + SubcriptionName
+ " ]";
}
public override byte GetDataStructureType() {
return ID_SubscriptionInfo;
}
// Properties
public string ClientId
{
get { return clientId; }
set { this.clientId = value; }
}
public ActiveMQDestination Destination
{
get { return destination; }
set { this.destination = value; }
}
public string Selector
{
get { return selector; }
set { this.selector = value; }
}
public string SubcriptionName
{
get { return subcriptionName; }
set { this.subcriptionName = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class SubscriptionInfo : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_SubscriptionInfo = 55;
|
||||
|
||||
string clientId;
|
||||
ActiveMQDestination destination;
|
||||
string selector;
|
||||
string subcriptionName;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ClientId=" + ClientId
|
||||
+ " Destination=" + Destination
|
||||
+ " Selector=" + Selector
|
||||
+ " SubcriptionName=" + SubcriptionName
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_SubscriptionInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public string ClientId
|
||||
{
|
||||
get { return clientId; }
|
||||
set { this.clientId = value; }
|
||||
}
|
||||
|
||||
public ActiveMQDestination Destination
|
||||
{
|
||||
get { return destination; }
|
||||
set { this.destination = value; }
|
||||
}
|
||||
|
||||
public string Selector
|
||||
{
|
||||
get { return selector; }
|
||||
set { this.selector = value; }
|
||||
}
|
||||
|
||||
public string SubcriptionName
|
||||
{
|
||||
get { return subcriptionName; }
|
||||
set { this.subcriptionName = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class TransactionId : AbstractCommand, DataStructure
{
public const byte ID_TransactionId = 0;
public override int GetHashCode() {
int answer = 0;
return answer;
}
public override bool Equals(object that) {
if (that is TransactionId) {
return Equals((TransactionId) that);
}
return false;
}
public virtual bool Equals(TransactionId that) {
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " ]";
}
public override byte GetDataStructureType() {
return ID_TransactionId;
}
// Properties
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class TransactionId : AbstractCommand, DataStructure
|
||||
{
|
||||
public const byte ID_TransactionId = 0;
|
||||
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is TransactionId) {
|
||||
return Equals((TransactionId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(TransactionId that) {
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_TransactionId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +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.
*/
using System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class TransactionInfo : BaseCommand
{
public const byte ID_TransactionInfo = 7;
ConnectionId connectionId;
TransactionId transactionId;
byte type;
public override string ToString() {
return GetType().Name + "["
+ " ConnectionId=" + ConnectionId
+ " TransactionId=" + TransactionId
+ " Type=" + Type
+ " ]";
}
public override byte GetDataStructureType() {
return ID_TransactionInfo;
}
// Properties
public ConnectionId ConnectionId
{
get { return connectionId; }
set { this.connectionId = value; }
}
public TransactionId TransactionId
{
get { return transactionId; }
set { this.transactionId = value; }
}
public byte Type
{
get { return type; }
set { this.type = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class TransactionInfo : BaseCommand
|
||||
{
|
||||
public const byte ID_TransactionInfo = 7;
|
||||
|
||||
ConnectionId connectionId;
|
||||
TransactionId transactionId;
|
||||
byte type;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " ConnectionId=" + ConnectionId
|
||||
+ " TransactionId=" + TransactionId
|
||||
+ " Type=" + Type
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_TransactionInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public ConnectionId ConnectionId
|
||||
{
|
||||
get { return connectionId; }
|
||||
set { this.connectionId = value; }
|
||||
}
|
||||
|
||||
public TransactionId TransactionId
|
||||
{
|
||||
get { return transactionId; }
|
||||
set { this.transactionId = value; }
|
||||
}
|
||||
|
||||
public byte Type
|
||||
{
|
||||
get { return type; }
|
||||
set { this.type = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,124 +1,124 @@
|
|||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
using JMS;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for WireFormatInfo
|
||||
//
|
||||
//
|
||||
public class WireFormatInfo : AbstractCommand, Command, MarshallAware
|
||||
{
|
||||
public const byte ID_WireFormatInfo = 1;
|
||||
|
||||
byte[] magic;
|
||||
int version;
|
||||
byte[] marshalledProperties;
|
||||
|
||||
protected static MessagePropertyHelper propertyHelper = new MessagePropertyHelper();
|
||||
private PrimitiveMap properties;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Magic=" + Magic
|
||||
+ " Version=" + Version
|
||||
+ " MarshalledProperties=" + MarshalledProperties
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_WireFormatInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
public byte[] Magic
|
||||
{
|
||||
get { return magic; }
|
||||
set { this.magic = value; }
|
||||
}
|
||||
|
||||
public int Version
|
||||
{
|
||||
get { return version; }
|
||||
set { this.version = value; }
|
||||
}
|
||||
|
||||
public byte[] MarshalledProperties
|
||||
{
|
||||
get { return marshalledProperties; }
|
||||
set { this.marshalledProperties = value; }
|
||||
}
|
||||
|
||||
public IPrimitiveMap Properties
|
||||
{
|
||||
get {
|
||||
if (properties == null)
|
||||
{
|
||||
properties = PrimitiveMap.Unmarshal(MarshalledProperties);
|
||||
}
|
||||
return properties;
|
||||
}
|
||||
}
|
||||
|
||||
public bool StackTraceEnabled
|
||||
{
|
||||
get { return true.Equals(Properties["stackTrace"]) ; }
|
||||
set { Properties["stackTrace"] = value; }
|
||||
}
|
||||
public bool TcpNoDelayEnabled
|
||||
{
|
||||
get { return true.Equals(Properties["tcpNoDelay"]); }
|
||||
set { Properties["tcpNoDelay"] = value; }
|
||||
}
|
||||
public bool PrefixPacketSize
|
||||
{
|
||||
get { return true.Equals(Properties["prefixPacketSize"]); }
|
||||
set { Properties["prefixPacketSize"] = value; }
|
||||
}
|
||||
public bool TightEncodingEnabled
|
||||
{
|
||||
get { return true.Equals(Properties["tightEncodingEnabled"]); }
|
||||
set { Properties["tightEncodingEnabled"] = value; }
|
||||
}
|
||||
|
||||
// MarshallAware interface
|
||||
public override bool IsMarshallAware()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void BeforeMarshall(OpenWireFormat wireFormat)
|
||||
{
|
||||
MarshalledProperties = null;
|
||||
if (properties != null)
|
||||
{
|
||||
MarshalledProperties = properties.Marshal();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
using JMS;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for WireFormatInfo
|
||||
//
|
||||
//
|
||||
public class WireFormatInfo : AbstractCommand, Command, MarshallAware
|
||||
{
|
||||
public const byte ID_WireFormatInfo = 1;
|
||||
|
||||
byte[] magic;
|
||||
int version;
|
||||
byte[] marshalledProperties;
|
||||
|
||||
protected static MessagePropertyHelper propertyHelper = new MessagePropertyHelper();
|
||||
private PrimitiveMap properties;
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " Magic=" + Magic
|
||||
+ " Version=" + Version
|
||||
+ " MarshalledProperties=" + MarshalledProperties
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_WireFormatInfo;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
public byte[] Magic
|
||||
{
|
||||
get { return magic; }
|
||||
set { this.magic = value; }
|
||||
}
|
||||
|
||||
public int Version
|
||||
{
|
||||
get { return version; }
|
||||
set { this.version = value; }
|
||||
}
|
||||
|
||||
public byte[] MarshalledProperties
|
||||
{
|
||||
get { return marshalledProperties; }
|
||||
set { this.marshalledProperties = value; }
|
||||
}
|
||||
|
||||
public IPrimitiveMap Properties
|
||||
{
|
||||
get {
|
||||
if (properties == null)
|
||||
{
|
||||
properties = PrimitiveMap.Unmarshal(MarshalledProperties);
|
||||
}
|
||||
return properties;
|
||||
}
|
||||
}
|
||||
|
||||
public bool StackTraceEnabled
|
||||
{
|
||||
get { return true.Equals(Properties["stackTrace"]) ; }
|
||||
set { Properties["stackTrace"] = value; }
|
||||
}
|
||||
public bool TcpNoDelayEnabled
|
||||
{
|
||||
get { return true.Equals(Properties["tcpNoDelay"]); }
|
||||
set { Properties["tcpNoDelay"] = value; }
|
||||
}
|
||||
public bool PrefixPacketSize
|
||||
{
|
||||
get { return true.Equals(Properties["prefixPacketSize"]); }
|
||||
set { Properties["prefixPacketSize"] = value; }
|
||||
}
|
||||
public bool TightEncodingEnabled
|
||||
{
|
||||
get { return true.Equals(Properties["tightEncoding"]); }
|
||||
set { Properties["tightEncoding"] = value; }
|
||||
}
|
||||
|
||||
// MarshallAware interface
|
||||
public override bool IsMarshallAware()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void BeforeMarshall(OpenWireFormat wireFormat)
|
||||
{
|
||||
MarshalledProperties = null;
|
||||
if (properties != null)
|
||||
{
|
||||
MarshalledProperties = properties.Marshal();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1,105 @@
|
|||
/*
* 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 System;
using System.Collections;
using ActiveMQ.OpenWire;
using ActiveMQ.Commands;
namespace ActiveMQ.Commands
{
//
// 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
//
public class XATransactionId : TransactionId, Xid
{
public const byte ID_XATransactionId = 112;
int formatId;
byte[] globalTransactionId;
byte[] branchQualifier;
public override int GetHashCode() {
int answer = 0;
answer = (answer * 37) + HashCode(FormatId);
answer = (answer * 37) + HashCode(GlobalTransactionId);
answer = (answer * 37) + HashCode(BranchQualifier);
return answer;
}
public override bool Equals(object that) {
if (that is XATransactionId) {
return Equals((XATransactionId) that);
}
return false;
}
public virtual bool Equals(XATransactionId that) {
if (! Equals(this.FormatId, that.FormatId)) return false;
if (! Equals(this.GlobalTransactionId, that.GlobalTransactionId)) return false;
if (! Equals(this.BranchQualifier, that.BranchQualifier)) return false;
return true;
}
public override string ToString() {
return GetType().Name + "["
+ " FormatId=" + FormatId
+ " GlobalTransactionId=" + GlobalTransactionId
+ " BranchQualifier=" + BranchQualifier
+ " ]";
}
public override byte GetDataStructureType() {
return ID_XATransactionId;
}
// Properties
public int FormatId
{
get { return formatId; }
set { this.formatId = value; }
}
public byte[] GlobalTransactionId
{
get { return globalTransactionId; }
set { this.globalTransactionId = value; }
}
public byte[] BranchQualifier
{
get { return branchQualifier; }
set { this.branchQualifier = value; }
}
}
}
|
||||
/*
|
||||
* 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 System;
|
||||
using System.Collections;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.Commands;
|
||||
|
||||
namespace ActiveMQ.Commands
|
||||
{
|
||||
//
|
||||
// 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
|
||||
//
|
||||
public class XATransactionId : TransactionId, Xid
|
||||
{
|
||||
public const byte ID_XATransactionId = 112;
|
||||
|
||||
int formatId;
|
||||
byte[] globalTransactionId;
|
||||
byte[] branchQualifier;
|
||||
|
||||
public override int GetHashCode() {
|
||||
int answer = 0;
|
||||
answer = (answer * 37) + HashCode(FormatId);
|
||||
answer = (answer * 37) + HashCode(GlobalTransactionId);
|
||||
answer = (answer * 37) + HashCode(BranchQualifier);
|
||||
return answer;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override bool Equals(object that) {
|
||||
if (that is XATransactionId) {
|
||||
return Equals((XATransactionId) that);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual bool Equals(XATransactionId that) {
|
||||
if (! Equals(this.FormatId, that.FormatId)) return false;
|
||||
if (! Equals(this.GlobalTransactionId, that.GlobalTransactionId)) return false;
|
||||
if (! Equals(this.BranchQualifier, that.BranchQualifier)) return false;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
public override string ToString() {
|
||||
return GetType().Name + "["
|
||||
+ " FormatId=" + FormatId
|
||||
+ " GlobalTransactionId=" + GlobalTransactionId
|
||||
+ " BranchQualifier=" + BranchQualifier
|
||||
+ " ]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override byte GetDataStructureType() {
|
||||
return ID_XATransactionId;
|
||||
}
|
||||
|
||||
|
||||
// Properties
|
||||
|
||||
public int FormatId
|
||||
{
|
||||
get { return formatId; }
|
||||
set { this.formatId = value; }
|
||||
}
|
||||
|
||||
public byte[] GlobalTransactionId
|
||||
{
|
||||
get { return globalTransactionId; }
|
||||
set { this.globalTransactionId = value; }
|
||||
}
|
||||
|
||||
public byte[] BranchQualifier
|
||||
{
|
||||
get { return branchQualifier; }
|
||||
set { this.branchQualifier = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<project name="OpenWire.Core" default="build">
|
||||
<!--
|
||||
Required properties:
|
||||
* build.dir - (path) root level to build to, assemblies will go in ${build.dir}/bin
|
||||
* build.debug - (true|false) debug build?
|
||||
* current.build.defines - framework-specific build defines
|
||||
-->
|
||||
<target name="build">
|
||||
<!-- build OpenWire.Core -->
|
||||
<csc target="library" define="${current.build.defines}" warnaserror="true" debug="${build.debug}" output="${build.dir}/bin/${project.name}.dll" doc="${build.dir}/bin/${project.name}.xml">
|
||||
<nowarn>
|
||||
<!-- do not report warnings for missing XML comments -->
|
||||
<warning number="1591" />
|
||||
<!-- do not report deprecation warnings -->
|
||||
<warning number="0618" />
|
||||
</nowarn>
|
||||
<sources failonempty="true">
|
||||
<include name="**/*.cs" />
|
||||
<!-- common assembly-level attributes -->
|
||||
<include name="../CommonAssemblyInfo.cs" />
|
||||
</sources>
|
||||
<resources basedir="Resources">
|
||||
<include name="**/*" />
|
||||
</resources>
|
||||
<references>
|
||||
<include name="${build.dir}/bin/log4net.dll"/>
|
||||
<include name="System.Web.dll"/>
|
||||
</references>
|
||||
</csc>
|
||||
</target>
|
||||
</project>
|
|
@ -56,7 +56,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
ActiveMQDestination info = (ActiveMQDestination)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalString1(info.PhysicalName, bs);
|
||||
rc += TightMarshalString1(info.PhysicalName, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ActiveMQDestination info = (ActiveMQDestination)o;
|
||||
TightMarshalString2(info.PhysicalName, dataOut, bs);
|
||||
TightMarshalString2(info.PhysicalName, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,8 +69,8 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
BaseCommand info = (BaseCommand)o;
|
||||
dataOut.Write(info.CommandId);
|
||||
bs.ReadBoolean();
|
||||
dataOut.Write(info.CommandId);
|
||||
bs.ReadBoolean();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
BrokerId info = (BrokerId)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalString1(info.Value, bs);
|
||||
rc += TightMarshalString1(info.Value, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
BrokerId info = (BrokerId)o;
|
||||
TightMarshalString2(info.Value, dataOut, bs);
|
||||
TightMarshalString2(info.Value, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,11 +82,11 @@ namespace ActiveMQ.OpenWire.V1
|
|||
BrokerInfo info = (BrokerInfo)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.BrokerId, bs);
|
||||
rc += TightMarshalString1(info.BrokerURL, bs);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.PeerBrokerInfos, bs);
|
||||
rc += TightMarshalString1(info.BrokerName, bs);
|
||||
bs.WriteBoolean(info.SlaveBroker);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.BrokerId, bs);
|
||||
rc += TightMarshalString1(info.BrokerURL, bs);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.PeerBrokerInfos, bs);
|
||||
rc += TightMarshalString1(info.BrokerName, bs);
|
||||
bs.WriteBoolean(info.SlaveBroker);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -98,11 +98,11 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
BrokerInfo info = (BrokerInfo)o;
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.BrokerId, dataOut, bs);
|
||||
TightMarshalString2(info.BrokerURL, dataOut, bs);
|
||||
TightMarshalObjectArray2(wireFormat, info.PeerBrokerInfos, dataOut, bs);
|
||||
TightMarshalString2(info.BrokerName, dataOut, bs);
|
||||
bs.ReadBoolean();
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.BrokerId, dataOut, bs);
|
||||
TightMarshalString2(info.BrokerURL, dataOut, bs);
|
||||
TightMarshalObjectArray2(wireFormat, info.PeerBrokerInfos, dataOut, bs);
|
||||
TightMarshalString2(info.BrokerName, dataOut, bs);
|
||||
bs.ReadBoolean();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,8 +68,8 @@ namespace ActiveMQ.OpenWire.V1
|
|||
ConnectionError info = (ConnectionError)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalBrokerError1(wireFormat, info.Exception, bs);
|
||||
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.ConnectionId, bs);
|
||||
rc += TightMarshalBrokerError1(wireFormat, info.Exception, bs);
|
||||
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.ConnectionId, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -81,8 +81,8 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConnectionError info = (ConnectionError)o;
|
||||
TightMarshalBrokerError2(wireFormat, info.Exception, dataOut, bs);
|
||||
TightMarshalNestedObject2(wireFormat, (DataStructure)info.ConnectionId, dataOut, bs);
|
||||
TightMarshalBrokerError2(wireFormat, info.Exception, dataOut, bs);
|
||||
TightMarshalNestedObject2(wireFormat, (DataStructure)info.ConnectionId, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
ConnectionId info = (ConnectionId)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalString1(info.Value, bs);
|
||||
rc += TightMarshalString1(info.Value, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConnectionId info = (ConnectionId)o;
|
||||
TightMarshalString2(info.Value, dataOut, bs);
|
||||
TightMarshalString2(info.Value, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,11 +82,11 @@ namespace ActiveMQ.OpenWire.V1
|
|||
ConnectionInfo info = (ConnectionInfo)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.ConnectionId, bs);
|
||||
rc += TightMarshalString1(info.ClientId, bs);
|
||||
rc += TightMarshalString1(info.Password, bs);
|
||||
rc += TightMarshalString1(info.UserName, bs);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.BrokerPath, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.ConnectionId, bs);
|
||||
rc += TightMarshalString1(info.ClientId, bs);
|
||||
rc += TightMarshalString1(info.Password, bs);
|
||||
rc += TightMarshalString1(info.UserName, bs);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.BrokerPath, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -98,11 +98,11 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConnectionInfo info = (ConnectionInfo)o;
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.ConnectionId, dataOut, bs);
|
||||
TightMarshalString2(info.ClientId, dataOut, bs);
|
||||
TightMarshalString2(info.Password, dataOut, bs);
|
||||
TightMarshalString2(info.UserName, dataOut, bs);
|
||||
TightMarshalObjectArray2(wireFormat, info.BrokerPath, dataOut, bs);
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.ConnectionId, dataOut, bs);
|
||||
TightMarshalString2(info.ClientId, dataOut, bs);
|
||||
TightMarshalString2(info.Password, dataOut, bs);
|
||||
TightMarshalString2(info.UserName, dataOut, bs);
|
||||
TightMarshalObjectArray2(wireFormat, info.BrokerPath, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,9 +69,9 @@ namespace ActiveMQ.OpenWire.V1
|
|||
ConsumerId info = (ConsumerId)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalString1(info.ConnectionId, bs);
|
||||
rc += TightMarshalLong1(wireFormat, info.SessionId, bs);
|
||||
rc += TightMarshalLong1(wireFormat, info.Value, bs);
|
||||
rc += TightMarshalString1(info.ConnectionId, bs);
|
||||
rc += TightMarshalLong1(wireFormat, info.SessionId, bs);
|
||||
rc += TightMarshalLong1(wireFormat, info.Value, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -83,9 +83,9 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConsumerId info = (ConsumerId)o;
|
||||
TightMarshalString2(info.ConnectionId, dataOut, bs);
|
||||
TightMarshalLong2(wireFormat, info.SessionId, dataOut, bs);
|
||||
TightMarshalLong2(wireFormat, info.Value, dataOut, bs);
|
||||
TightMarshalString2(info.ConnectionId, dataOut, bs);
|
||||
TightMarshalLong2(wireFormat, info.SessionId, dataOut, bs);
|
||||
TightMarshalLong2(wireFormat, info.Value, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,18 +92,18 @@ namespace ActiveMQ.OpenWire.V1
|
|||
ConsumerInfo info = (ConsumerInfo)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.ConsumerId, bs);
|
||||
bs.WriteBoolean(info.Browser);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.Destination, bs);
|
||||
bs.WriteBoolean(info.DispatchAsync);
|
||||
rc += TightMarshalString1(info.Selector, bs);
|
||||
rc += TightMarshalString1(info.SubcriptionName, bs);
|
||||
bs.WriteBoolean(info.NoLocal);
|
||||
bs.WriteBoolean(info.Exclusive);
|
||||
bs.WriteBoolean(info.Retroactive);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.ConsumerId, bs);
|
||||
bs.WriteBoolean(info.Browser);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.Destination, bs);
|
||||
bs.WriteBoolean(info.DispatchAsync);
|
||||
rc += TightMarshalString1(info.Selector, bs);
|
||||
rc += TightMarshalString1(info.SubcriptionName, bs);
|
||||
bs.WriteBoolean(info.NoLocal);
|
||||
bs.WriteBoolean(info.Exclusive);
|
||||
bs.WriteBoolean(info.Retroactive);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.BrokerPath, bs);
|
||||
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.AdditionalPredicate, bs);
|
||||
bs.WriteBoolean(info.NetworkSubscription);
|
||||
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.AdditionalPredicate, bs);
|
||||
bs.WriteBoolean(info.NetworkSubscription);
|
||||
|
||||
return rc + 9;
|
||||
}
|
||||
|
@ -115,21 +115,21 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ConsumerInfo info = (ConsumerInfo)o;
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.ConsumerId, dataOut, bs);
|
||||
bs.ReadBoolean();
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.Destination, dataOut, bs);
|
||||
dataOut.Write(info.PrefetchSize);
|
||||
dataOut.Write(info.MaximumPendingMessageLimit);
|
||||
bs.ReadBoolean();
|
||||
TightMarshalString2(info.Selector, dataOut, bs);
|
||||
TightMarshalString2(info.SubcriptionName, dataOut, bs);
|
||||
bs.ReadBoolean();
|
||||
bs.ReadBoolean();
|
||||
bs.ReadBoolean();
|
||||
dataOut.Write(info.Priority);
|
||||
TightMarshalObjectArray2(wireFormat, info.BrokerPath, dataOut, bs);
|
||||
TightMarshalNestedObject2(wireFormat, (DataStructure)info.AdditionalPredicate, dataOut, bs);
|
||||
bs.ReadBoolean();
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.ConsumerId, dataOut, bs);
|
||||
bs.ReadBoolean();
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.Destination, dataOut, bs);
|
||||
dataOut.Write(info.PrefetchSize);
|
||||
dataOut.Write(info.MaximumPendingMessageLimit);
|
||||
bs.ReadBoolean();
|
||||
TightMarshalString2(info.Selector, dataOut, bs);
|
||||
TightMarshalString2(info.SubcriptionName, dataOut, bs);
|
||||
bs.ReadBoolean();
|
||||
bs.ReadBoolean();
|
||||
bs.ReadBoolean();
|
||||
dataOut.Write(info.Priority);
|
||||
TightMarshalObjectArray2(wireFormat, info.BrokerPath, dataOut, bs);
|
||||
TightMarshalNestedObject2(wireFormat, (DataStructure)info.AdditionalPredicate, dataOut, bs);
|
||||
bs.ReadBoolean();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
ControlCommand info = (ControlCommand)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalString1(info.Command, bs);
|
||||
rc += TightMarshalString1(info.Command, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
ControlCommand info = (ControlCommand)o;
|
||||
TightMarshalString2(info.Command, dataOut, bs);
|
||||
TightMarshalString2(info.Command, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
DataArrayResponse info = (DataArrayResponse)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.Data, bs);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.Data, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
DataArrayResponse info = (DataArrayResponse)o;
|
||||
TightMarshalObjectArray2(wireFormat, info.Data, dataOut, bs);
|
||||
TightMarshalObjectArray2(wireFormat, info.Data, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
DataResponse info = (DataResponse)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.Data, bs);
|
||||
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.Data, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
DataResponse info = (DataResponse)o;
|
||||
TightMarshalNestedObject2(wireFormat, (DataStructure)info.Data, dataOut, bs);
|
||||
TightMarshalNestedObject2(wireFormat, (DataStructure)info.Data, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,10 +82,10 @@ namespace ActiveMQ.OpenWire.V1
|
|||
DestinationInfo info = (DestinationInfo)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.ConnectionId, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.Destination, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.ConnectionId, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.Destination, bs);
|
||||
rc += TightMarshalLong1(wireFormat, info.Timeout, bs);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.BrokerPath, bs);
|
||||
rc += TightMarshalObjectArray1(wireFormat, info.BrokerPath, bs);
|
||||
|
||||
return rc + 1;
|
||||
}
|
||||
|
@ -97,11 +97,11 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
DestinationInfo info = (DestinationInfo)o;
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.ConnectionId, dataOut, bs);
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.Destination, dataOut, bs);
|
||||
dataOut.Write(info.OperationType);
|
||||
TightMarshalLong2(wireFormat, info.Timeout, dataOut, bs);
|
||||
TightMarshalObjectArray2(wireFormat, info.BrokerPath, dataOut, bs);
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.ConnectionId, dataOut, bs);
|
||||
TightMarshalCachedObject2(wireFormat, (DataStructure)info.Destination, dataOut, bs);
|
||||
dataOut.Write(info.OperationType);
|
||||
TightMarshalLong2(wireFormat, info.Timeout, dataOut, bs);
|
||||
TightMarshalObjectArray2(wireFormat, info.BrokerPath, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,8 +68,8 @@ namespace ActiveMQ.OpenWire.V1
|
|||
DiscoveryEvent info = (DiscoveryEvent)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalString1(info.ServiceName, bs);
|
||||
rc += TightMarshalString1(info.BrokerName, bs);
|
||||
rc += TightMarshalString1(info.ServiceName, bs);
|
||||
rc += TightMarshalString1(info.BrokerName, bs);
|
||||
|
||||
return rc + 0;
|
||||
}
|
||||
|
@ -81,8 +81,8 @@ namespace ActiveMQ.OpenWire.V1
|
|||
base.TightMarshal2(wireFormat, o, dataOut, bs);
|
||||
|
||||
DiscoveryEvent info = (DiscoveryEvent)o;
|
||||
TightMarshalString2(info.ServiceName, dataOut, bs);
|
||||
TightMarshalString2(info.BrokerName, dataOut, bs);
|
||||
TightMarshalString2(info.ServiceName, dataOut, bs);
|
||||
TightMarshalString2(info.BrokerName, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue