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

How to use
DiscoveryEventMarshaller
in
org.apache.activemq.openwire.v3

Best Java code snippets using org.apache.activemq.openwire.v3.DiscoveryEventMarshaller (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 {

    DiscoveryEvent info = (DiscoveryEvent)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getServiceName(), dataOut);
    looseMarshalString(info.getBrokerName(), 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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(looseUnmarshalString(dataIn));
  info.setBrokerName(looseUnmarshalString(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 {
  DiscoveryEvent info = (DiscoveryEvent)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getServiceName(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  return rc + 0;
}
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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(tightUnmarshalString(dataIn, bs));
  info.setBrokerName(tightUnmarshalString(dataIn, bs));
}
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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  tightMarshalString2(info.getServiceName(), dataOut, bs);
  tightMarshalString2(info.getBrokerName(), dataOut, bs);
}
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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(tightUnmarshalString(dataIn, bs));
  info.setBrokerName(tightUnmarshalString(dataIn, 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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  tightMarshalString2(info.getServiceName(), dataOut, bs);
  tightMarshalString2(info.getBrokerName(), 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 {

    DiscoveryEvent info = (DiscoveryEvent)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getServiceName(), dataOut);
    looseMarshalString(info.getBrokerName(), 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 {
  DiscoveryEvent info = (DiscoveryEvent)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getServiceName(), bs);
  rc += tightMarshalString1(info.getBrokerName(), 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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(looseUnmarshalString(dataIn));
  info.setBrokerName(looseUnmarshalString(dataIn));
}
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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(tightUnmarshalString(dataIn, bs));
  info.setBrokerName(tightUnmarshalString(dataIn, bs));
}
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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  tightMarshalString2(info.getServiceName(), dataOut, bs);
  tightMarshalString2(info.getBrokerName(), 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 {

    DiscoveryEvent info = (DiscoveryEvent)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getServiceName(), dataOut);
    looseMarshalString(info.getBrokerName(), 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 {
  DiscoveryEvent info = (DiscoveryEvent)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getServiceName(), bs);
  rc += tightMarshalString1(info.getBrokerName(), 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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(looseUnmarshalString(dataIn));
  info.setBrokerName(looseUnmarshalString(dataIn));
}
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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(tightUnmarshalString(dataIn, bs));
  info.setBrokerName(tightUnmarshalString(dataIn, bs));
}
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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  tightMarshalString2(info.getServiceName(), dataOut, bs);
  tightMarshalString2(info.getBrokerName(), 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 {

    DiscoveryEvent info = (DiscoveryEvent)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getServiceName(), dataOut);
    looseMarshalString(info.getBrokerName(), 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 {
  DiscoveryEvent info = (DiscoveryEvent)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getServiceName(), bs);
  rc += tightMarshalString1(info.getBrokerName(), 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);
  DiscoveryEvent info = (DiscoveryEvent)o;
  info.setServiceName(looseUnmarshalString(dataIn));
  info.setBrokerName(looseUnmarshalString(dataIn));
}
org.apache.activemq.openwire.v3DiscoveryEventMarshaller

Javadoc

Marshalling code for Open Wire Format for DiscoveryEventMarshaller 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

  • looseMarshalString
  • looseUnmarshalString
  • tightMarshalString1
  • tightMarshalString2
  • tightUnmarshalString

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • BoxLayout (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Github Copilot alternatives
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