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

How to use
tightMarshalByteSequence2
method
in
org.apache.activemq.openwire.v2.WireFormatInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v2.WireFormatInfoMarshaller.tightMarshalByteSequence2 (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);
  WireFormatInfo info = (WireFormatInfo)o;
  tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
  dataOut.writeInt(info.getVersion());
  tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
  info.afterMarshall(wireFormat);
}
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);
  WireFormatInfo info = (WireFormatInfo)o;
  tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
  dataOut.writeInt(info.getVersion());
  tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
  info.afterMarshall(wireFormat);
}
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);
  WireFormatInfo info = (WireFormatInfo)o;
  tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
  dataOut.writeInt(info.getVersion());
  tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
  info.afterMarshall(wireFormat);
}
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);
  WireFormatInfo info = (WireFormatInfo)o;
  tightMarshalConstByteArray2(info.getMagic(), dataOut, bs, 8);
  dataOut.writeInt(info.getVersion());
  tightMarshalByteSequence2(info.getMarshalledProperties(), dataOut, bs);
  info.afterMarshall(wireFormat);
}
org.apache.activemq.openwire.v2WireFormatInfoMarshallertightMarshalByteSequence2

Popular methods of WireFormatInfoMarshaller

  • looseMarshalByteSequence
  • looseMarshalConstByteArray
  • looseUnmarshalByteSequence
  • looseUnmarshalConstByteArray
  • tightMarshalByteSequence1
  • tightMarshalConstByteArray1
  • tightMarshalConstByteArray2
  • tightUnmarshalByteSequence
  • tightUnmarshalConstByteArray

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JButton (javax.swing)
  • 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