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

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

Best Java code snippets using org.apache.activemq.openwire.v2.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());
  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: 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: 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.v2ConsumerInfoMarshallertightMarshalString1

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
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Collectors (java.util.stream)
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 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