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

How to use
looseUnmarshalLong
method
in
org.apache.activemq.openwire.v3.DestinationInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.DestinationInfoMarshaller.looseUnmarshalLong (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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  DestinationInfo info = (DestinationInfo)o;
  info.setConnectionId((org.apache.activemq.command.ConnectionId)looseUnmarsalCachedObject(wireFormat,
                                               dataIn));
  info
    .setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalCachedObject(
                                                  wireFormat,
                                                  dataIn));
  info.setOperationType(dataIn.readByte());
  info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
  if (dataIn.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)looseUnmarsalNestedObject(wireFormat, dataIn);
    }
    info.setBrokerPath(value);
  } else {
    info.setBrokerPath(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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  DestinationInfo info = (DestinationInfo)o;
  info.setConnectionId((org.apache.activemq.command.ConnectionId)looseUnmarsalCachedObject(wireFormat,
                                               dataIn));
  info
    .setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalCachedObject(
                                                  wireFormat,
                                                  dataIn));
  info.setOperationType(dataIn.readByte());
  info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
  if (dataIn.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)looseUnmarsalNestedObject(wireFormat, dataIn);
    }
    info.setBrokerPath(value);
  } else {
    info.setBrokerPath(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);
  DestinationInfo info = (DestinationInfo)o;
  info.setConnectionId((org.apache.activemq.command.ConnectionId)looseUnmarsalCachedObject(wireFormat,
                                               dataIn));
  info
    .setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalCachedObject(
                                                  wireFormat,
                                                  dataIn));
  info.setOperationType(dataIn.readByte());
  info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
  if (dataIn.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)looseUnmarsalNestedObject(wireFormat, dataIn);
    }
    info.setBrokerPath(value);
  } else {
    info.setBrokerPath(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);
  DestinationInfo info = (DestinationInfo)o;
  info.setConnectionId((org.apache.activemq.command.ConnectionId)looseUnmarsalCachedObject(wireFormat,
                                               dataIn));
  info
    .setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalCachedObject(
                                                  wireFormat,
                                                  dataIn));
  info.setOperationType(dataIn.readByte());
  info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
  if (dataIn.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)looseUnmarsalNestedObject(wireFormat, dataIn);
    }
    info.setBrokerPath(value);
  } else {
    info.setBrokerPath(null);
  }
}
org.apache.activemq.openwire.v3DestinationInfoMarshallerlooseUnmarshalLong

Popular methods of DestinationInfoMarshaller

  • looseMarshalCachedObject
  • looseMarshalLong
  • looseMarshalObjectArray
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalLong1
  • tightMarshalLong2
  • tightMarshalObjectArray1
  • tightMarshalObjectArray2
  • tightUnmarsalCachedObject
  • tightMarshalObjectArray2,
  • tightUnmarsalCachedObject,
  • tightUnmarsalNestedObject,
  • tightUnmarshalLong

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • BoxLayout (javax.swing)
  • Option (scala)
  • Sublime Text for Python
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