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.v4.ConsumerInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v4.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());
  rc += tightMarshalObjectArray1(wireFormat, info.getNetworkConsumerPath(), bs);
  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());
  rc += tightMarshalObjectArray1(wireFormat, info.getNetworkConsumerPath(), bs);
  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());
  rc += tightMarshalObjectArray1(wireFormat, info.getNetworkConsumerPath(), bs);
  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());
  rc += tightMarshalObjectArray1(wireFormat, info.getNetworkConsumerPath(), bs);
  return rc + 9;
}
org.apache.activemq.openwire.v4ConsumerInfoMarshallertightMarshalNestedObject1

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

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • startActivity (Activity)
  • onRequestPermissionsResult (Fragment)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 15 Vim Plugins
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