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

How to use
looseUnmarshal
method
in
org.apache.activemq.openwire.v2.ResponseMarshaller

Best Java code snippets using org.apache.activemq.openwire.v2.ResponseMarshaller.looseUnmarshal (Showing top 16 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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  IntegerResponse info = (IntegerResponse)o;
  info.setResult(dataIn.readInt());
}
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);
  ExceptionResponse info = (ExceptionResponse)o;
  info.setException((java.lang.Throwable) looseUnmarsalThrowable(wireFormat, dataIn));
}
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);
  DataResponse info = (DataResponse)o;
  info.setData((org.apache.activemq.command.DataStructure) looseUnmarsalNestedObject(wireFormat, dataIn));
}
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: 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);
  IntegerResponse info = (IntegerResponse)o;
  info.setResult(dataIn.readInt());
}
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);
  IntegerResponse info = (IntegerResponse)o;
  info.setResult(dataIn.readInt());
}
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);
  IntegerResponse info = (IntegerResponse)o;
  info.setResult(dataIn.readInt());
}
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);
  ExceptionResponse info = (ExceptionResponse)o;
  info.setException((java.lang.Throwable) looseUnmarsalThrowable(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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  DataResponse info = (DataResponse)o;
  info.setData((org.apache.activemq.command.DataStructure) looseUnmarsalNestedObject(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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  DataResponse info = (DataResponse)o;
  info.setData((org.apache.activemq.command.DataStructure) looseUnmarsalNestedObject(wireFormat, dataIn));
}
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);
  ExceptionResponse info = (ExceptionResponse)o;
  info.setException((java.lang.Throwable) looseUnmarsalThrowable(wireFormat, dataIn));
}
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);
  DataResponse info = (DataResponse)o;
  info.setData((org.apache.activemq.command.DataStructure) looseUnmarsalNestedObject(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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  ExceptionResponse info = (ExceptionResponse)o;
  info.setException((java.lang.Throwable) looseUnmarsalThrowable(wireFormat, dataIn));
}
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: 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: 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.v2ResponseMarshallerlooseUnmarshal

Javadoc

Un-marshal an object instance from the data input stream

Popular methods of ResponseMarshaller

  • looseMarshal
    Write the booleans that this object uses to a BooleanStream
  • tightMarshal1
    Write the booleans that this object uses to a BooleanStream
  • tightMarshal2
    Write a object instance to data output stream
  • tightUnmarshal
    Un-marshal an object instance from the data input stream

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JButton (javax.swing)
  • 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