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

How to use
tightMarshalNestedObject1
method
in
org.apache.activemq.openwire.v3.ConsumerInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.ConsumerInfoMarshaller.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 {
  ConsumerInfo info = (ConsumerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isBrowser());
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isDispatchAsync());
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubscriptionName(), bs);
  bs.writeBoolean(info.isNoLocal());
  bs.writeBoolean(info.isExclusive());
  bs.writeBoolean(info.isRetroactive());
  rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getAdditionalPredicate(), bs);
  bs.writeBoolean(info.isNetworkSubscription());
  bs.writeBoolean(info.isOptimizedAcknowledge());
  bs.writeBoolean(info.isNoRangeAcks());
  return rc + 9;
}
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 {
  ConsumerInfo info = (ConsumerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isBrowser());
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isDispatchAsync());
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubscriptionName(), bs);
  bs.writeBoolean(info.isNoLocal());
  bs.writeBoolean(info.isExclusive());
  bs.writeBoolean(info.isRetroactive());
  rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getAdditionalPredicate(), bs);
  bs.writeBoolean(info.isNetworkSubscription());
  bs.writeBoolean(info.isOptimizedAcknowledge());
  bs.writeBoolean(info.isNoRangeAcks());
  return rc + 9;
}
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 {
  ConsumerInfo info = (ConsumerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isBrowser());
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isDispatchAsync());
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubscriptionName(), bs);
  bs.writeBoolean(info.isNoLocal());
  bs.writeBoolean(info.isExclusive());
  bs.writeBoolean(info.isRetroactive());
  rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getAdditionalPredicate(), bs);
  bs.writeBoolean(info.isNetworkSubscription());
  bs.writeBoolean(info.isOptimizedAcknowledge());
  bs.writeBoolean(info.isNoRangeAcks());
  return rc + 9;
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerInfo info = (ConsumerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isBrowser());
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  bs.writeBoolean(info.isDispatchAsync());
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubscriptionName(), bs);
  bs.writeBoolean(info.isNoLocal());
  bs.writeBoolean(info.isExclusive());
  bs.writeBoolean(info.isRetroactive());
  rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getAdditionalPredicate(), bs);
  bs.writeBoolean(info.isNetworkSubscription());
  bs.writeBoolean(info.isOptimizedAcknowledge());
  bs.writeBoolean(info.isNoRangeAcks());
  return rc + 9;
}
org.apache.activemq.openwire.v3ConsumerInfoMarshallertightMarshalNestedObject1

Popular methods of ConsumerInfoMarshaller

  • looseMarshalCachedObject
  • looseMarshalNestedObject
  • looseMarshalObjectArray
  • looseMarshalString
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • looseUnmarshalString
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalNestedObject2
  • tightMarshalObjectArray1
  • tightMarshalObjectArray2
  • tightMarshalObjectArray1,
  • tightMarshalObjectArray2,
  • tightMarshalString1,
  • tightMarshalString2,
  • tightUnmarsalCachedObject,
  • tightUnmarsalNestedObject,
  • tightUnmarshalString

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • setContentView (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JCheckBox (javax.swing)
  • JFileChooser (javax.swing)
  • JFrame (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 17 Plugins for Android Studio
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