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

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

Best Java code snippets using org.apache.activemq.openwire.v2.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.v2DestinationInfoMarshallerlooseUnmarshalLong

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
  • getSystemService (Context)
  • setContentView (Activity)
  • startActivity (Activity)
  • Menu (java.awt)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Table (org.hibernate.mapping)
    A relational table
  • Option (scala)
  • Top plugins for WebStorm
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