Tabnine Logo
MessageIdMarshaller
Code IndexAdd Tabnine to your IDE (free)

How to use
MessageIdMarshaller
in
org.apache.activemq.openwire.v3

Best Java code snippets using org.apache.activemq.openwire.v3.MessageIdMarshaller (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 {

    MessageId info = (MessageId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
    looseMarshalLong(wireFormat, info.getProducerSequenceId(), dataOut);
    looseMarshalLong(wireFormat, info.getBrokerSequenceId(), dataOut);

  }
}
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);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setProducerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setBrokerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  MessageId info = (MessageId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getProducerSequenceId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getBrokerSequenceId(), bs);
  return rc + 0;
}
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);
  MessageId info = (MessageId)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getProducerSequenceId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getBrokerSequenceId(), dataOut, bs);
}
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);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId)tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setProducerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setBrokerSequenceId(tightUnmarshalLong(wireFormat, dataIn, 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);
  MessageId info = (MessageId)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getProducerSequenceId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getBrokerSequenceId(), dataOut, bs);
}
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);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId)tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setProducerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setBrokerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
}
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 {

    MessageId info = (MessageId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
    looseMarshalLong(wireFormat, info.getProducerSequenceId(), dataOut);
    looseMarshalLong(wireFormat, info.getBrokerSequenceId(), dataOut);

  }
}
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);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setProducerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setBrokerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
}
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 {
  MessageId info = (MessageId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getProducerSequenceId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getBrokerSequenceId(), bs);
  return rc + 0;
}
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);
  MessageId info = (MessageId)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getProducerSequenceId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getBrokerSequenceId(), dataOut, bs);
}
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);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId)tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setProducerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setBrokerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
}
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 {

    MessageId info = (MessageId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
    looseMarshalLong(wireFormat, info.getProducerSequenceId(), dataOut);
    looseMarshalLong(wireFormat, info.getBrokerSequenceId(), dataOut);

  }
}
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);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setProducerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setBrokerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  MessageId info = (MessageId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getProducerSequenceId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getBrokerSequenceId(), bs);
  return rc + 0;
}
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);
  MessageId info = (MessageId)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getProducerId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getProducerSequenceId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getBrokerSequenceId(), dataOut, bs);
}
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);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId)tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setProducerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setBrokerSequenceId(tightUnmarshalLong(wireFormat, dataIn, bs));
}
origin: pierre/meteo

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

    MessageId info = (MessageId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
    looseMarshalLong(wireFormat, info.getProducerSequenceId(), dataOut);
    looseMarshalLong(wireFormat, info.getBrokerSequenceId(), dataOut);

  }
}
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);
  MessageId info = (MessageId)o;
  info.setProducerId((org.apache.activemq.command.ProducerId)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setProducerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setBrokerSequenceId(looseUnmarshalLong(wireFormat, dataIn));
}
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 {
  MessageId info = (MessageId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getProducerId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getProducerSequenceId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getBrokerSequenceId(), bs);
  return rc + 0;
}
org.apache.activemq.openwire.v3MessageIdMarshaller

Javadoc

Marshalling code for Open Wire Format for MessageIdMarshaller 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

  • looseMarshalCachedObject
  • looseMarshalLong
  • looseUnmarsalCachedObject
  • looseUnmarshalLong
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalLong1
  • tightMarshalLong2
  • tightUnmarsalCachedObject
  • tightUnmarshalLong

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Permission (java.security)
    Legacy security code; do not use.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Top Vim 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