Tabnine Logo
PartialCommandMarshaller.tightMarshalByteArray2
Code IndexAdd Tabnine to your IDE (free)

How to use
tightMarshalByteArray2
method
in
org.apache.activemq.openwire.v3.PartialCommandMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.PartialCommandMarshaller.tightMarshalByteArray2 (Showing top 4 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);
  PartialCommand info = (PartialCommand)o;
  dataOut.writeInt(info.getCommandId());
  tightMarshalByteArray2(info.getData(), 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);
  PartialCommand info = (PartialCommand)o;
  dataOut.writeInt(info.getCommandId());
  tightMarshalByteArray2(info.getData(), 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);
  PartialCommand info = (PartialCommand)o;
  dataOut.writeInt(info.getCommandId());
  tightMarshalByteArray2(info.getData(), 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);
  PartialCommand info = (PartialCommand)o;
  dataOut.writeInt(info.getCommandId());
  tightMarshalByteArray2(info.getData(), dataOut, bs);
}
org.apache.activemq.openwire.v3PartialCommandMarshallertightMarshalByteArray2

Popular methods of PartialCommandMarshaller

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ImageIO (javax.imageio)
  • Top plugins for WebStorm
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