Tabnine Logo
MessageDispatchMarshaller.tightMarshalCachedObject2
Code IndexAdd Tabnine to your IDE (free)

How to use
tightMarshalCachedObject2
method
in
org.apache.activemq.openwire.v2.MessageDispatchMarshaller

Best Java code snippets using org.apache.activemq.openwire.v2.MessageDispatchMarshaller.tightMarshalCachedObject2 (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);
  MessageDispatch info = (MessageDispatch)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessage(), dataOut, bs);
  dataOut.writeInt(info.getRedeliveryCounter());
}
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);
  MessageDispatch info = (MessageDispatch)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessage(), dataOut, bs);
  dataOut.writeInt(info.getRedeliveryCounter());
}
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);
  MessageDispatch info = (MessageDispatch)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessage(), dataOut, bs);
  dataOut.writeInt(info.getRedeliveryCounter());
}
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);
  MessageDispatch info = (MessageDispatch)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessage(), dataOut, bs);
  dataOut.writeInt(info.getRedeliveryCounter());
}
org.apache.activemq.openwire.v2MessageDispatchMarshallertightMarshalCachedObject2

Popular methods of MessageDispatchMarshaller

  • looseMarshalCachedObject
  • looseMarshalNestedObject
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • tightMarshalCachedObject1
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightUnmarsalCachedObject
  • tightUnmarsalNestedObject

Popular in Java

  • Running tasks concurrently on multiple threads
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ plugins
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