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

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

Best Java code snippets using org.apache.activemq.openwire.v2.ConsumerInfoMarshaller.tightMarshalObjectArray2 (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();
}
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();
}
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();
}
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();
}
org.apache.activemq.openwire.v2ConsumerInfoMarshallertightMarshalObjectArray2

Popular methods of ConsumerInfoMarshaller

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

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ImageIO (javax.imageio)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • 21 Best IntelliJ 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