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

How to use
ActiveMQBlobMessageMarshaller
in
org.apache.activemq.openwire.v4

Best Java code snippets using org.apache.activemq.openwire.v4.ActiveMQBlobMessageMarshaller (Showing top 20 results out of 315)

origin: apache/activemq

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

    ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getRemoteBlobUrl(), dataOut);
    looseMarshalString(info.getMimeType(), dataOut);
    dataOut.writeBoolean(info.isDeletedByBroker());

  }
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  info.setRemoteBlobUrl(looseUnmarshalString(dataIn));
  info.setMimeType(looseUnmarshalString(dataIn));
  info.setDeletedByBroker(dataIn.readBoolean());
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getRemoteBlobUrl(), bs);
  rc += tightMarshalString1(info.getMimeType(), bs);
  bs.writeBoolean(info.isDeletedByBroker());
  return rc + 0;
}
origin: apache/activemq

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  info.setRemoteBlobUrl(tightUnmarshalString(dataIn, bs));
  info.setMimeType(tightUnmarshalString(dataIn, bs));
  info.setDeletedByBroker(bs.readBoolean());
}
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);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  tightMarshalString2(info.getRemoteBlobUrl(), dataOut, bs);
  tightMarshalString2(info.getMimeType(), dataOut, bs);
  bs.readBoolean();
}
origin: pierre/meteo

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  info.setRemoteBlobUrl(tightUnmarshalString(dataIn, bs));
  info.setMimeType(tightUnmarshalString(dataIn, bs));
  info.setDeletedByBroker(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);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  tightMarshalString2(info.getRemoteBlobUrl(), dataOut, bs);
  tightMarshalString2(info.getMimeType(), dataOut, bs);
  bs.readBoolean();
}
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 {
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getRemoteBlobUrl(), bs);
  rc += tightMarshalString1(info.getMimeType(), bs);
  bs.writeBoolean(info.isDeletedByBroker());
  return rc + 0;
}
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 {

    ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getRemoteBlobUrl(), dataOut);
    looseMarshalString(info.getMimeType(), dataOut);
    dataOut.writeBoolean(info.isDeletedByBroker());

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

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  info.setRemoteBlobUrl(tightUnmarshalString(dataIn, bs));
  info.setMimeType(tightUnmarshalString(dataIn, bs));
  info.setDeletedByBroker(bs.readBoolean());
}
origin: org.apache.activemq/activemq-all

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  info.setRemoteBlobUrl(looseUnmarshalString(dataIn));
  info.setMimeType(looseUnmarshalString(dataIn));
  info.setDeletedByBroker(dataIn.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);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  tightMarshalString2(info.getRemoteBlobUrl(), dataOut, bs);
  tightMarshalString2(info.getMimeType(), dataOut, bs);
  bs.readBoolean();
}
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 {
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getRemoteBlobUrl(), bs);
  rc += tightMarshalString1(info.getMimeType(), bs);
  bs.writeBoolean(info.isDeletedByBroker());
  return rc + 0;
}
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 {

    ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getRemoteBlobUrl(), dataOut);
    looseMarshalString(info.getMimeType(), dataOut);
    dataOut.writeBoolean(info.isDeletedByBroker());

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

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  info.setRemoteBlobUrl(tightUnmarshalString(dataIn, bs));
  info.setMimeType(tightUnmarshalString(dataIn, bs));
  info.setDeletedByBroker(bs.readBoolean());
}
origin: pierre/meteo

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  info.setRemoteBlobUrl(looseUnmarshalString(dataIn));
  info.setMimeType(looseUnmarshalString(dataIn));
  info.setDeletedByBroker(dataIn.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);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  tightMarshalString2(info.getRemoteBlobUrl(), dataOut, bs);
  tightMarshalString2(info.getMimeType(), dataOut, bs);
  bs.readBoolean();
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getRemoteBlobUrl(), bs);
  rc += tightMarshalString1(info.getMimeType(), bs);
  bs.writeBoolean(info.isDeletedByBroker());
  return rc + 0;
}
origin: pierre/meteo

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

    ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getRemoteBlobUrl(), dataOut);
    looseMarshalString(info.getMimeType(), dataOut);
    dataOut.writeBoolean(info.isDeletedByBroker());

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

/**
 * Un-marshal an object instance from the data input stream
 *
 * @param o the object to un-marshal
 * @param dataIn the data input stream to build the object from
 * @throws IOException
 */
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ActiveMQBlobMessage info = (ActiveMQBlobMessage)o;
  info.setRemoteBlobUrl(looseUnmarshalString(dataIn));
  info.setMimeType(looseUnmarshalString(dataIn));
  info.setDeletedByBroker(dataIn.readBoolean());
}
org.apache.activemq.openwire.v4ActiveMQBlobMessageMarshaller

Javadoc

Marshalling code for Open Wire Format for ActiveMQBlobMessageMarshaller NOTE!: This file is auto generated - do not modify! if you need to make a change, please see the modify the groovy scripts in the under src/gram/script and then use maven openwire:generate to regenerate this file.

Most used methods

  • looseMarshalString
  • looseUnmarshalString
  • tightMarshalString1
  • tightMarshalString2
  • tightUnmarshalString

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • JCheckBox (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top plugins for WebStorm
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