Codota Logo
MessageAckMarshaller.looseMarshalNestedObject
Code IndexAdd Codota to your IDE (free)

How to use
looseMarshalNestedObject
method
in
org.apache.activemq.openwire.v3.MessageAckMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.MessageAckMarshaller.looseMarshalNestedObject (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageAck info = (MessageAck)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeByte(info.getAckType());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getLastMessageId(), dataOut);
    dataOut.writeInt(info.getMessageCount());

  }
}
origin: pierre/meteo

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageAck info = (MessageAck)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeByte(info.getAckType());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getLastMessageId(), dataOut);
    dataOut.writeInt(info.getMessageCount());

  }
}
origin: org.apache.activemq/activemq-all

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageAck info = (MessageAck)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeByte(info.getAckType());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getLastMessageId(), dataOut);
    dataOut.writeInt(info.getMessageCount());

  }
}
origin: org.apache.activemq/activemq-osgi

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageAck info = (MessageAck)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeByte(info.getAckType());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getLastMessageId(), dataOut);
    dataOut.writeInt(info.getMessageCount());

  }
}
org.apache.activemq.openwire.v3MessageAckMarshallerlooseMarshalNestedObject

Popular methods of MessageAckMarshaller

  • looseMarshalCachedObject
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightUnmarsalCachedObject
  • tightUnmarsalNestedObject

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSharedPreferences (Context)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • String (java.lang)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now