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

How to use
ConsumerControlMarshaller
in
org.apache.activemq.openwire.v2

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

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
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);
  ConsumerControl info = (ConsumerControl)o;
  info.setClose(dataIn.readBoolean());
  info.setConsumerId((org.apache.activemq.command.ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
  info.setPrefetch(dataIn.readInt());
  info.setFlush(dataIn.readBoolean());
  info.setStart(dataIn.readBoolean());
  info.setStop(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 {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
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);
  ConsumerControl info = (ConsumerControl)o;
  info.setClose(bs.readBoolean());
  info.setConsumerId((org.apache.activemq.command.ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
  info.setPrefetch(dataIn.readInt());
  info.setFlush(bs.readBoolean());
  info.setStart(bs.readBoolean());
  info.setStop(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);
  ConsumerControl info = (ConsumerControl)o;
  bs.readBoolean();
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  dataOut.writeInt(info.getPrefetch());
  bs.readBoolean();
  bs.readBoolean();
  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 tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ConsumerControl info = (ConsumerControl)o;
  info.setClose(bs.readBoolean());
  info.setConsumerId((org.apache.activemq.command.ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
  info.setPrefetch(dataIn.readInt());
  info.setFlush(bs.readBoolean());
  info.setStart(bs.readBoolean());
  info.setStop(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);
  ConsumerControl info = (ConsumerControl)o;
  bs.readBoolean();
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  dataOut.writeInt(info.getPrefetch());
  bs.readBoolean();
  bs.readBoolean();
  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 {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
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 {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
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);
  ConsumerControl info = (ConsumerControl)o;
  info.setClose(bs.readBoolean());
  info.setConsumerId((org.apache.activemq.command.ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
  info.setPrefetch(dataIn.readInt());
  info.setFlush(bs.readBoolean());
  info.setStart(bs.readBoolean());
  info.setStop(bs.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);
  ConsumerControl info = (ConsumerControl)o;
  bs.readBoolean();
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  dataOut.writeInt(info.getPrefetch());
  bs.readBoolean();
  bs.readBoolean();
  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);
  ConsumerControl info = (ConsumerControl)o;
  info.setClose(dataIn.readBoolean());
  info.setConsumerId((org.apache.activemq.command.ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
  info.setPrefetch(dataIn.readInt());
  info.setFlush(dataIn.readBoolean());
  info.setStart(dataIn.readBoolean());
  info.setStop(dataIn.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 {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
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 {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
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);
  ConsumerControl info = (ConsumerControl)o;
  info.setClose(bs.readBoolean());
  info.setConsumerId((org.apache.activemq.command.ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
  info.setPrefetch(dataIn.readInt());
  info.setFlush(bs.readBoolean());
  info.setStart(bs.readBoolean());
  info.setStop(bs.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);
  ConsumerControl info = (ConsumerControl)o;
  bs.readBoolean();
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  dataOut.writeInt(info.getPrefetch());
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
}
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);
  ConsumerControl info = (ConsumerControl)o;
  info.setClose(dataIn.readBoolean());
  info.setConsumerId((org.apache.activemq.command.ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
  info.setPrefetch(dataIn.readInt());
  info.setFlush(dataIn.readBoolean());
  info.setStart(dataIn.readBoolean());
  info.setStop(dataIn.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 {
  ConsumerControl info = (ConsumerControl)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  bs.writeBoolean(info.isClose());
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  bs.writeBoolean(info.isFlush());
  bs.writeBoolean(info.isStart());
  bs.writeBoolean(info.isStop());
  return rc + 4;
}
origin: pierre/meteo

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

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
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);
  ConsumerControl info = (ConsumerControl)o;
  info.setClose(dataIn.readBoolean());
  info.setConsumerId((org.apache.activemq.command.ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
  info.setPrefetch(dataIn.readInt());
  info.setFlush(dataIn.readBoolean());
  info.setStart(dataIn.readBoolean());
  info.setStop(dataIn.readBoolean());
}
org.apache.activemq.openwire.v2ConsumerControlMarshaller

Javadoc

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

  • looseMarshalNestedObject
  • looseUnmarsalNestedObject
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightUnmarsalNestedObject

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • getContentResolver (Context)
  • getSystemService (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • 14 Best Plugins for Eclipse
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