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

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

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

    ProducerId info = (ProducerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), 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);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setSessionId(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 {
  ProducerId info = (ProducerId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getConnectionId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getValue(), bs);
  rc += tightMarshalLong1(wireFormat, info.getSessionId(), bs);
  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);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(tightUnmarshalString(dataIn, bs));
  info.setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setSessionId(tightUnmarshalLong(wireFormat, dataIn, bs));
}
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);
  ProducerId info = (ProducerId)o;
  tightMarshalString2(info.getConnectionId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getSessionId(), 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);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(tightUnmarshalString(dataIn, bs));
  info.setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setSessionId(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);
  ProducerId info = (ProducerId)o;
  tightMarshalString2(info.getConnectionId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getSessionId(), dataOut, 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 {

    ProducerId info = (ProducerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), dataOut);

  }
}
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 {
  ProducerId info = (ProducerId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getConnectionId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getValue(), bs);
  rc += tightMarshalLong1(wireFormat, info.getSessionId(), bs);
  return rc + 0;
}
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);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(tightUnmarshalString(dataIn, bs));
  info.setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setSessionId(tightUnmarshalLong(wireFormat, dataIn, 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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setSessionId(looseUnmarshalLong(wireFormat, dataIn));
}
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);
  ProducerId info = (ProducerId)o;
  tightMarshalString2(info.getConnectionId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getSessionId(), dataOut, 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 {

    ProducerId info = (ProducerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), dataOut);

  }
}
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 {
  ProducerId info = (ProducerId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getConnectionId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getValue(), bs);
  rc += tightMarshalLong1(wireFormat, info.getSessionId(), bs);
  return rc + 0;
}
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);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(tightUnmarshalString(dataIn, bs));
  info.setValue(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setSessionId(tightUnmarshalLong(wireFormat, dataIn, 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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setSessionId(looseUnmarshalLong(wireFormat, dataIn));
}
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);
  ProducerId info = (ProducerId)o;
  tightMarshalString2(info.getConnectionId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getSessionId(), dataOut, 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 {

    ProducerId info = (ProducerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), dataOut);

  }
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ProducerId info = (ProducerId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getConnectionId(), bs);
  rc += tightMarshalLong1(wireFormat, info.getValue(), bs);
  rc += tightMarshalLong1(wireFormat, info.getSessionId(), bs);
  return rc + 0;
}
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);
  ProducerId info = (ProducerId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
  info.setSessionId(looseUnmarshalLong(wireFormat, dataIn));
}
org.apache.activemq.openwire.v3ProducerIdMarshaller

Javadoc

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

  • looseMarshalLong
  • looseMarshalString
  • looseUnmarshalLong
  • looseUnmarshalString
  • tightMarshalLong1
  • tightMarshalLong2
  • tightMarshalString1
  • tightMarshalString2
  • tightUnmarshalLong
  • tightUnmarshalString

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • setContentView (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JPanel (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top 15 Vim 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