congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MessageAckMarshaller.tightMarshalNestedObject1
Code IndexAdd Tabnine to your IDE (free)

How to use
tightMarshalNestedObject1
method
in
org.apache.activemq.openwire.v4.MessageAckMarshaller

Best Java code snippets using org.apache.activemq.openwire.v4.MessageAckMarshaller.tightMarshalNestedObject1 (Showing top 4 results out of 315)

origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  MessageAck info = (MessageAck)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getFirstMessageId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getLastMessageId(), bs);
  return rc + 5;
}
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 {
  MessageAck info = (MessageAck)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getFirstMessageId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getLastMessageId(), bs);
  return rc + 5;
}
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 {
  MessageAck info = (MessageAck)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getFirstMessageId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getLastMessageId(), bs);
  return rc + 5;
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  MessageAck info = (MessageAck)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getTransactionId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getFirstMessageId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getLastMessageId(), bs);
  return rc + 5;
}
org.apache.activemq.openwire.v4MessageAckMarshallertightMarshalNestedObject1

Popular methods of MessageAckMarshaller

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

Popular in Java

  • Finding current android device location
  • putExtra (Intent)
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Permission (java.security)
    Legacy security code; do not use.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Notification (javax.management)
  • JOptionPane (javax.swing)
  • 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