Codota Logo
ConsumerIdMarshaller
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • 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 {

    ConsumerId info = (ConsumerId)o;

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

    ConsumerId info = (ConsumerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), 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);
  ConsumerId info = (ConsumerId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setSessionId(looseUnmarshalLong(wireFormat, dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
}
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);
  ConsumerId info = (ConsumerId)o;
  info.setConnectionId(tightUnmarshalString(dataIn, bs));
  info.setSessionId(tightUnmarshalLong(wireFormat, dataIn, bs));
  info.setValue(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);
  ConsumerId info = (ConsumerId)o;
  tightMarshalString2(info.getConnectionId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getSessionId(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getValue(), dataOut, bs);
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConsumerId info = (ConsumerId)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getConnectionId(), bs);
  rc+=tightMarshalLong1(wireFormat, info.getSessionId(), bs);
  rc+=tightMarshalLong1(wireFormat, info.getValue(), bs);
  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 {

    ConsumerId info = (ConsumerId)o;

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

    ConsumerId info = (ConsumerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), 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);
  ConsumerId info = (ConsumerId)o;
  info.setConnectionId(looseUnmarshalString(dataIn));
  info.setSessionId(looseUnmarshalLong(wireFormat, dataIn));
  info.setValue(looseUnmarshalLong(wireFormat, dataIn));
}
org.apache.activemq.openwire.v4ConsumerIdMarshaller

Javadoc

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

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
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