1 18 19 package org.apache.activemq.openwire.v3; 20 21 import java.io.DataInput ; 22 import java.io.DataOutput ; 23 import java.io.IOException ; 24 25 import org.apache.activemq.openwire.*; 26 import org.apache.activemq.command.*; 27 28 29 30 41 public class FlushCommandMarshaller extends BaseCommandMarshaller { 42 43 47 public byte getDataStructureType() { 48 return FlushCommand.DATA_STRUCTURE_TYPE; 49 } 50 51 54 public DataStructure createObject() { 55 return new FlushCommand(); 56 } 57 58 65 public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException { 66 super.tightUnmarshal(wireFormat, o, dataIn, bs); 67 68 } 69 70 71 74 public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException { 75 76 int rc = super.tightMarshal1(wireFormat, o, bs); 77 78 return rc + 0; 79 } 80 81 88 public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException { 89 super.tightMarshal2(wireFormat, o, dataOut, bs); 90 91 } 92 93 100 public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException { 101 super.looseUnmarshal(wireFormat, o, dataIn); 102 103 } 104 105 106 109 public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException { 110 111 super.looseMarshal(wireFormat, o, dataOut); 112 113 } 114 } 115 | Popular Tags |