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

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

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

origin: apache/activemq

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  ConsumerInfo info = (ConsumerInfo)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  bs.readBoolean();
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  dataOut.writeInt(info.getPrefetchSize());
  dataOut.writeInt(info.getMaximumPendingMessageLimit());
  bs.readBoolean();
  tightMarshalString2(info.getSelector(), dataOut, bs);
  tightMarshalString2(info.getSubscriptionName(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  dataOut.writeByte(info.getPriority());
  tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getAdditionalPredicate(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  tightMarshalObjectArray2(wireFormat, info.getNetworkConsumerPath(), dataOut, bs);
}
origin: pierre/meteo

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  ConsumerInfo info = (ConsumerInfo)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  bs.readBoolean();
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  dataOut.writeInt(info.getPrefetchSize());
  dataOut.writeInt(info.getMaximumPendingMessageLimit());
  bs.readBoolean();
  tightMarshalString2(info.getSelector(), dataOut, bs);
  tightMarshalString2(info.getSubscriptionName(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  dataOut.writeByte(info.getPriority());
  tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getAdditionalPredicate(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  tightMarshalObjectArray2(wireFormat, info.getNetworkConsumerPath(), dataOut, bs);
}
origin: org.apache.activemq/activemq-all

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  ConsumerInfo info = (ConsumerInfo)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  bs.readBoolean();
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  dataOut.writeInt(info.getPrefetchSize());
  dataOut.writeInt(info.getMaximumPendingMessageLimit());
  bs.readBoolean();
  tightMarshalString2(info.getSelector(), dataOut, bs);
  tightMarshalString2(info.getSubscriptionName(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  dataOut.writeByte(info.getPriority());
  tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getAdditionalPredicate(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  tightMarshalObjectArray2(wireFormat, info.getNetworkConsumerPath(), dataOut, bs);
}
origin: org.apache.activemq/activemq-osgi

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  ConsumerInfo info = (ConsumerInfo)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  bs.readBoolean();
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  dataOut.writeInt(info.getPrefetchSize());
  dataOut.writeInt(info.getMaximumPendingMessageLimit());
  bs.readBoolean();
  tightMarshalString2(info.getSelector(), dataOut, bs);
  tightMarshalString2(info.getSubscriptionName(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  dataOut.writeByte(info.getPriority());
  tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getAdditionalPredicate(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  tightMarshalObjectArray2(wireFormat, info.getNetworkConsumerPath(), dataOut, bs);
}
org.apache.activemq.openwire.v4ConsumerInfoMarshallertightMarshalCachedObject2

Popular methods of ConsumerInfoMarshaller

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

Popular in Java

  • Making http requests using okhttp
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • CodeWhisperer alternatives
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