Tabnine Logo
DataArrayResponseMarshaller.tightUnmarsalNestedObject
Code IndexAdd Tabnine to your IDE (free)

How to use
tightUnmarsalNestedObject
method
in
org.apache.activemq.openwire.v3.DataArrayResponseMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.DataArrayResponseMarshaller.tightUnmarsalNestedObject (Showing top 4 results out of 315)

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

/**
 * 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

/**
 * 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

/**
 * 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);
  }
}
org.apache.activemq.openwire.v3DataArrayResponseMarshallertightUnmarsalNestedObject

Popular methods of DataArrayResponseMarshaller

  • looseMarshalObjectArray
  • looseUnmarsalNestedObject
  • tightMarshalObjectArray1
  • tightMarshalObjectArray2

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JComboBox (javax.swing)
  • JPanel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top PhpStorm 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