congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
BaseCommandMarshaller.looseMarshal
Code IndexAdd Tabnine to your IDE (free)

How to use
looseMarshal
method
in
org.apache.activemq.openwire.v3.BaseCommandMarshaller

Best Java code snippets using org.apache.activemq.openwire.v3.BaseCommandMarshaller.looseMarshal (Showing top 20 results out of 315)

origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    super.looseMarshal(wireFormat, o, dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    super.looseMarshal(wireFormat, o, dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    super.looseMarshal(wireFormat, o, dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    Response info = (Response)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getCorrelationId());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ReplayCommand info = (ReplayCommand)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getFirstNakNumber());
    dataOut.writeInt(info.getLastNakNumber());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    RemoveInfo info = (RemoveInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getObjectId(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ControlCommand info = (ControlCommand)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getCommand(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    SessionInfo info = (SessionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getSessionId(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConnectionControl info = (ConnectionControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ProducerAck info = (ProducerAck)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
    dataOut.writeInt(info.getSize());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConsumerControl info = (ConsumerControl)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    TransactionInfo info = (TransactionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
    dataOut.writeByte(info.getType());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ConnectionError info = (ConnectionError)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalThrowable(wireFormat, info.getException(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    ProducerInfo info = (ProducerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
    dataOut.writeBoolean(info.isDispatchAsync());
    dataOut.writeInt(info.getWindowSize());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageDispatch info = (MessageDispatch)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessage(), dataOut);
    dataOut.writeInt(info.getRedeliveryCounter());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    RemoveSubscriptionInfo info = (RemoveSubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
    looseMarshalString(info.getSubscriptionName(), dataOut);
    looseMarshalString(info.getClientId(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    DestinationInfo info = (DestinationInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageAck info = (MessageAck)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    dataOut.writeByte(info.getAckType());
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getFirstMessageId(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getLastMessageId(), dataOut);
    dataOut.writeInt(info.getMessageCount());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessageDispatchNotification info = (MessageDispatchNotification)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalLong(wireFormat, info.getDeliverySequenceId(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    MessagePull info = (MessagePull)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConsumerId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalString(info.getCorrelationId(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);

  }
}
org.apache.activemq.openwire.v3BaseCommandMarshallerlooseMarshal

Javadoc

Write the booleans that this object uses to a BooleanStream

Popular methods of BaseCommandMarshaller

  • looseUnmarshal
    Un-marshal an object instance from the data input stream
  • 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

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Collectors (java.util.stream)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Table (org.hibernate.mapping)
    A relational table
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • PhpStorm for WordPress
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