Tabnine Logo
LocalTransactionIdMarshaller
Code IndexAdd Tabnine to your IDE (free)

How to use
LocalTransactionIdMarshaller
in
org.apache.activemq.openwire.v4

Best Java code snippets using org.apache.activemq.openwire.v4.LocalTransactionIdMarshaller (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 {

    LocalTransactionId info = (LocalTransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), 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);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setConnectionId((org.apache.activemq.command.ConnectionId) looseUnmarsalCachedObject(wireFormat, 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 {
  LocalTransactionId info = (LocalTransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
  return rc + 0;
}
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);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, 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);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), 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);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, 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);
  LocalTransactionId info = (LocalTransactionId)o;
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConnectionId(), dataOut, bs);
}
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 {
  LocalTransactionId info = (LocalTransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
  return rc + 0;
}
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 {

    LocalTransactionId info = (LocalTransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);

  }
}
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);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, 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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setConnectionId((org.apache.activemq.command.ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
}
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: 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 {
  LocalTransactionId info = (LocalTransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
  return rc + 0;
}
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 {

    LocalTransactionId info = (LocalTransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);

  }
}
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);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setConnectionId((org.apache.activemq.command.ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
}
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);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setConnectionId((org.apache.activemq.command.ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
}
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);
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  LocalTransactionId info = (LocalTransactionId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
  return rc + 0;
}
origin: pierre/meteo

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

    LocalTransactionId info = (LocalTransactionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);

  }
}
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);
  LocalTransactionId info = (LocalTransactionId)o;
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setConnectionId((org.apache.activemq.command.ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
}
org.apache.activemq.openwire.v4LocalTransactionIdMarshaller

Javadoc

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

  • looseMarshalCachedObject
  • looseMarshalLong
  • looseUnmarsalCachedObject
  • looseUnmarshalLong
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalLong1
  • tightMarshalLong2
  • tightUnmarsalCachedObject
  • tightUnmarshalLong

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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