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

How to use
tightMarshal2
method
in
org.apache.activemq.openwire.v2.TransactionIdMarshaller

Best Java code snippets using org.apache.activemq.openwire.v2.TransactionIdMarshaller.tightMarshal2 (Showing top 8 results out of 315)

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: 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);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, 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: 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 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);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, 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 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);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, 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);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
}
org.apache.activemq.openwire.v2TransactionIdMarshallertightMarshal2

Javadoc

Write a object instance to data output stream

Popular methods of TransactionIdMarshaller

  • looseMarshal
    Write the booleans that this object uses to a BooleanStream
  • looseUnmarshal
    Un-marshal an object instance from the data input stream
  • tightMarshal1
    Write the booleans that this object uses to a BooleanStream
  • tightUnmarshal
    Un-marshal an object instance from the data input stream

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 15 Vim Plugins
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