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

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • 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 {

    DataArrayResponse info = (DataArrayResponse)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalObjectArray(wireFormat, info.getData(), 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);
  DataArrayResponse info = (DataArrayResponse)o;
  if (dataIn.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.DataStructure value[] = new org.apache.activemq.command.DataStructure[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.DataStructure) looseUnmarsalNestedObject(wireFormat,dataIn);
    }
    info.setData(value);
  }
  else {
    info.setData(null);
  }
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  DataArrayResponse info = (DataArrayResponse)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getData(), 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);
  DataArrayResponse info = (DataArrayResponse)o;
  tightMarshalObjectArray2(wireFormat, info.getData(), 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);
  DataArrayResponse info = (DataArrayResponse)o;
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.DataStructure value[] = new org.apache.activemq.command.DataStructure[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.DataStructure) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setData(value);
  }
  else {
    info.setData(null);
  }
}
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);
  DataArrayResponse info = (DataArrayResponse)o;
  tightMarshalObjectArray2(wireFormat, info.getData(), 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);
  DataArrayResponse info = (DataArrayResponse)o;
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.DataStructure value[] = new org.apache.activemq.command.DataStructure[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.DataStructure) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setData(value);
  }
  else {
    info.setData(null);
  }
}
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 {
  DataArrayResponse info = (DataArrayResponse)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getData(), 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 {

    DataArrayResponse info = (DataArrayResponse)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalObjectArray(wireFormat, info.getData(), dataOut);

  }
}
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);
  DataArrayResponse info = (DataArrayResponse)o;
  tightMarshalObjectArray2(wireFormat, info.getData(), 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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  DataArrayResponse info = (DataArrayResponse)o;
  if (dataIn.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.DataStructure value[] = new org.apache.activemq.command.DataStructure[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.DataStructure) looseUnmarsalNestedObject(wireFormat,dataIn);
    }
    info.setData(value);
  }
  else {
    info.setData(null);
  }
}
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);
  DataArrayResponse info = (DataArrayResponse)o;
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.DataStructure value[] = new org.apache.activemq.command.DataStructure[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.DataStructure) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setData(value);
  }
  else {
    info.setData(null);
  }
}
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 {
  DataArrayResponse info = (DataArrayResponse)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getData(), 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 {

    DataArrayResponse info = (DataArrayResponse)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalObjectArray(wireFormat, info.getData(), dataOut);

  }
}
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);
  DataArrayResponse info = (DataArrayResponse)o;
  tightMarshalObjectArray2(wireFormat, info.getData(), 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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  DataArrayResponse info = (DataArrayResponse)o;
  if (dataIn.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.DataStructure value[] = new org.apache.activemq.command.DataStructure[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.DataStructure) looseUnmarsalNestedObject(wireFormat,dataIn);
    }
    info.setData(value);
  }
  else {
    info.setData(null);
  }
}
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);
  DataArrayResponse info = (DataArrayResponse)o;
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.DataStructure value[] = new org.apache.activemq.command.DataStructure[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.DataStructure) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setData(value);
  }
  else {
    info.setData(null);
  }
}
origin: pierre/meteo

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

    DataArrayResponse info = (DataArrayResponse)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalObjectArray(wireFormat, info.getData(), 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);
  DataArrayResponse info = (DataArrayResponse)o;
  if (dataIn.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.DataStructure value[] = new org.apache.activemq.command.DataStructure[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.DataStructure) looseUnmarsalNestedObject(wireFormat,dataIn);
    }
    info.setData(value);
  }
  else {
    info.setData(null);
  }
}
org.apache.activemq.openwire.v4DataArrayResponseMarshaller

Javadoc

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

  • looseMarshalObjectArray
  • looseUnmarsalNestedObject
  • tightMarshalObjectArray1
  • tightMarshalObjectArray2
  • tightUnmarsalNestedObject

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Menu (java.awt)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • JTextField (javax.swing)
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