congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
XATransactionIdMarshaller
Code IndexAdd Tabnine to your IDE (free)

How to use
XATransactionIdMarshaller
in
org.apache.activemq.openwire.v2

Best Java code snippets using org.apache.activemq.openwire.v2.XATransactionIdMarshaller (Showing top 20 results out of 315)

origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}
origin: apache/activemq

/**
 * 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, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(looseUnmarshalByteArray(dataIn));
  info.setBranchQualifier(looseUnmarshalByteArray(dataIn));
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}
origin: apache/activemq

/**
 * 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, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(tightUnmarshalByteArray(dataIn, bs));
  info.setBranchQualifier(tightUnmarshalByteArray(dataIn, bs));
}
origin: apache/activemq

/**
 * 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, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}
origin: org.apache.activemq/activemq-all

/**
 * 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, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(tightUnmarshalByteArray(dataIn, bs));
  info.setBranchQualifier(tightUnmarshalByteArray(dataIn, bs));
}
origin: pierre/meteo

/**
 * 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, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}
origin: pierre/meteo

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}
origin: org.apache.activemq/activemq-all

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}
origin: org.apache.activemq/activemq-all

/**
 * 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, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(looseUnmarshalByteArray(dataIn));
  info.setBranchQualifier(looseUnmarshalByteArray(dataIn));
}
origin: org.apache.activemq/activemq-osgi

/**
 * 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, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(tightUnmarshalByteArray(dataIn, bs));
  info.setBranchQualifier(tightUnmarshalByteArray(dataIn, bs));
}
origin: org.apache.activemq/activemq-all

/**
 * 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, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}
origin: org.apache.activemq/activemq-all

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}
origin: org.apache.activemq/activemq-osgi

/**
 * 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, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(looseUnmarshalByteArray(dataIn));
  info.setBranchQualifier(looseUnmarshalByteArray(dataIn));
}
origin: pierre/meteo

/**
 * 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, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(tightUnmarshalByteArray(dataIn, bs));
  info.setBranchQualifier(tightUnmarshalByteArray(dataIn, bs));
}
origin: org.apache.activemq/activemq-osgi

/**
 * 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, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  XATransactionId info = (XATransactionId)o;
  dataOut.writeInt(info.getFormatId());
  tightMarshalByteArray2(info.getGlobalTransactionId(), dataOut, bs);
  tightMarshalByteArray2(info.getBranchQualifier(), dataOut, bs);
}
origin: org.apache.activemq/activemq-osgi

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    XATransactionId info = (XATransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFormatId());
    looseMarshalByteArray(wireFormat, info.getGlobalTransactionId(), dataOut);
    looseMarshalByteArray(wireFormat, info.getBranchQualifier(), dataOut);

  }
}
origin: org.apache.activemq/activemq-osgi

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  XATransactionId info = (XATransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalByteArray1(info.getGlobalTransactionId(), bs);
  rc += tightMarshalByteArray1(info.getBranchQualifier(), bs);
  return rc + 4;
}
origin: pierre/meteo

/**
 * 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, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  XATransactionId info = (XATransactionId)o;
  info.setFormatId(dataIn.readInt());
  info.setGlobalTransactionId(looseUnmarshalByteArray(dataIn));
  info.setBranchQualifier(looseUnmarshalByteArray(dataIn));
}
org.apache.activemq.openwire.v2XATransactionIdMarshaller

Javadoc

Marshalling code for Open Wire Format for XATransactionIdMarshaller 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.

Most used methods

  • looseMarshalByteArray
  • looseUnmarshalByteArray
  • tightMarshalByteArray1
  • tightMarshalByteArray2
  • tightUnmarshalByteArray

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Reference (javax.naming)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Option (scala)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now