Codota Logo
MessageDispatchNotificationMarshaller
Code IndexAdd Codota to your IDE (free)

How to use
MessageDispatchNotificationMarshaller
in
org.apache.activemq.openwire.v2

Best Java code snippets using org.apache.activemq.openwire.v2.MessageDispatchNotificationMarshaller (Showing top 16 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
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

/**
 * 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);
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  info.setConsumerId((org.apache.activemq.command.ConsumerId)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setDeliverySequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setMessageId((org.apache.activemq.command.MessageId)looseUnmarsalNestedObject(wireFormat, dataIn));
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalLong1(wireFormat, info.getDeliverySequenceId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write a object instance to data output stream
 * 
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getDeliverySequenceId(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
}
origin: org.apache.activemq/activemq-all

/**
 * Write a object instance to data output stream
 * 
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getDeliverySequenceId(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
}
origin: org.apache.activemq/activemq-all

  /**
   * 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: org.apache.activemq/activemq-osgi

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalLong1(wireFormat, info.getDeliverySequenceId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
  return rc + 0;
}
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);
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  info.setConsumerId((org.apache.activemq.command.ConsumerId)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setDeliverySequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setMessageId((org.apache.activemq.command.MessageId)looseUnmarsalNestedObject(wireFormat, dataIn));
}
origin: org.apache.activemq/activemq-osgi

/**
 * Write a object instance to data output stream
 * 
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getDeliverySequenceId(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
}
origin: org.apache.activemq/activemq-osgi

  /**
   * 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: org.apache.activemq/activemq-all

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalLong1(wireFormat, info.getDeliverySequenceId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
  return rc + 0;
}
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);
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  info.setConsumerId((org.apache.activemq.command.ConsumerId)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setDeliverySequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setMessageId((org.apache.activemq.command.MessageId)looseUnmarsalNestedObject(wireFormat, dataIn));
}
origin: pierre/meteo

/**
 * Write a object instance to data output stream
 * 
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getConsumerId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalLong2(wireFormat, info.getDeliverySequenceId(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getMessageId(), dataOut, bs);
}
origin: pierre/meteo

  /**
   * 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: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConsumerId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalLong1(wireFormat, info.getDeliverySequenceId(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getMessageId(), bs);
  return rc + 0;
}
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);
  MessageDispatchNotification info = (MessageDispatchNotification)o;
  info.setConsumerId((org.apache.activemq.command.ConsumerId)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalCachedObject(wireFormat, dataIn));
  info.setDeliverySequenceId(looseUnmarshalLong(wireFormat, dataIn));
  info.setMessageId((org.apache.activemq.command.MessageId)looseUnmarsalNestedObject(wireFormat, dataIn));
}
org.apache.activemq.openwire.v2MessageDispatchNotificationMarshaller

Javadoc

Marshalling code for Open Wire Format for MessageDispatchNotificationMarshaller NOTE!: This file is auto generated - do not modify! if you need to make a change, please see the modify the groovy scripts in the under src/gram/script and then use maven openwire:generate to regenerate this file.

Most used methods

  • looseMarshalCachedObject
  • looseMarshalLong
  • looseMarshalNestedObject
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • looseUnmarshalLong
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalLong1
  • tightMarshalLong2
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightMarshalNestedObject1,
  • tightMarshalNestedObject2,
  • tightUnmarsalCachedObject,
  • tightUnmarsalNestedObject,
  • tightUnmarshalLong

Popular in Java

  • Making http post requests using okhttp
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now