congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ProducerInfoMarshaller.tightUnmarsalCachedObject
Code IndexAdd Tabnine to your IDE (free)

How to use
tightUnmarsalCachedObject
method
in
org.apache.activemq.openwire.v4.ProducerInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v4.ProducerInfoMarshaller.tightUnmarsalCachedObject (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);
  ProducerInfo info = (ProducerInfo)o;
  info.setProducerId((org.apache.activemq.command.ProducerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.BrokerId value[] = new org.apache.activemq.command.BrokerId[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.BrokerId) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setBrokerPath(value);
  }
  else {
    info.setBrokerPath(null);
  }
  info.setDispatchAsync(bs.readBoolean());
  info.setWindowSize(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 tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ProducerInfo info = (ProducerInfo)o;
  info.setProducerId((org.apache.activemq.command.ProducerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.BrokerId value[] = new org.apache.activemq.command.BrokerId[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.BrokerId) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setBrokerPath(value);
  }
  else {
    info.setBrokerPath(null);
  }
  info.setDispatchAsync(bs.readBoolean());
  info.setWindowSize(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 tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
  super.tightUnmarshal(wireFormat, o, dataIn, bs);
  ProducerInfo info = (ProducerInfo)o;
  info.setProducerId((org.apache.activemq.command.ProducerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.BrokerId value[] = new org.apache.activemq.command.BrokerId[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.BrokerId) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setBrokerPath(value);
  }
  else {
    info.setBrokerPath(null);
  }
  info.setDispatchAsync(bs.readBoolean());
  info.setWindowSize(dataIn.readInt());
}
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);
  ProducerInfo info = (ProducerInfo)o;
  info.setProducerId((org.apache.activemq.command.ProducerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
  if (bs.readBoolean()) {
    short size = dataIn.readShort();
    org.apache.activemq.command.BrokerId value[] = new org.apache.activemq.command.BrokerId[size];
    for( int i=0; i < size; i++ ) {
      value[i] = (org.apache.activemq.command.BrokerId) tightUnmarsalNestedObject(wireFormat,dataIn, bs);
    }
    info.setBrokerPath(value);
  }
  else {
    info.setBrokerPath(null);
  }
  info.setDispatchAsync(bs.readBoolean());
  info.setWindowSize(dataIn.readInt());
}
org.apache.activemq.openwire.v4ProducerInfoMarshallertightUnmarsalCachedObject

Popular methods of ProducerInfoMarshaller

  • looseMarshalCachedObject
  • looseMarshalObjectArray
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalObjectArray1
  • tightMarshalObjectArray2
  • tightUnmarsalNestedObject

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • startActivity (Activity)
  • getSystemService (Context)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Path (java.nio.file)
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top Sublime Text 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