Tabnine Logo
NetworkBridgeFilterMarshaller
Code IndexAdd Tabnine to your IDE (free)

How to use
NetworkBridgeFilterMarshaller
in
org.apache.activemq.openwire.v4

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

    NetworkBridgeFilter info = (NetworkBridgeFilter)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getNetworkTTL());
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getNetworkBrokerId(), 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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(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 {
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getNetworkBrokerId(), bs);
  return rc + 4;
}
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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  dataOut.writeInt(info.getNetworkTTL());
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut, bs);
}
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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) tightUnmarsalCachedObject(wireFormat, 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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  dataOut.writeInt(info.getNetworkTTL());
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getNetworkBrokerId(), 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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
}
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 {
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getNetworkBrokerId(), bs);
  return rc + 4;
}
origin: pierre/meteo

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

    NetworkBridgeFilter info = (NetworkBridgeFilter)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getNetworkTTL());
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut);

  }
}
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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  dataOut.writeInt(info.getNetworkTTL());
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut, bs);
}
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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, 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 looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
  super.looseUnmarshal(wireFormat, o, dataIn);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getNetworkBrokerId(), bs);
  return rc + 4;
}
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 {

    NetworkBridgeFilter info = (NetworkBridgeFilter)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getNetworkTTL());
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut);

  }
}
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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  dataOut.writeInt(info.getNetworkTTL());
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut, bs);
}
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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
}
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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
}
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 {
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getNetworkBrokerId(), bs);
  return rc + 4;
}
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 {

    NetworkBridgeFilter info = (NetworkBridgeFilter)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getNetworkTTL());
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getNetworkBrokerId(), dataOut);

  }
}
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);
  NetworkBridgeFilter info = (NetworkBridgeFilter)o;
  info.setNetworkTTL(dataIn.readInt());
  info.setNetworkBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
}
org.apache.activemq.openwire.v4NetworkBridgeFilterMarshaller

Javadoc

Marshalling code for Open Wire Format for NetworkBridgeFilterMarshaller 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
  • looseUnmarsalCachedObject
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightUnmarsalCachedObject

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top plugins for Android Studio
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