Tabnine Logo
ConsumerInfoMarshaller.tightMarshalString1
Code IndexAdd Tabnine to your IDE (free)

How to use
tightMarshalString1
method
in
org.apache.activemq.openwire.v4.ConsumerInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v4.ConsumerInfoMarshaller.tightMarshalString1 (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.v4ConsumerInfoMarshallertightMarshalString1

Popular methods of ConsumerInfoMarshaller

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

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Path (java.nio.file)
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JFileChooser (javax.swing)
  • Top Vim 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