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

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • 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 {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: apache/activemq

info.setBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
info.setBrokerURL(looseUnmarshalString(dataIn));
  org.apache.activemq.command.BrokerInfo value[] = new org.apache.activemq.command.BrokerInfo[size];
  for( int i=0; i < size; i++ ) {
    value[i] = (org.apache.activemq.command.BrokerInfo) looseUnmarsalNestedObject(wireFormat,dataIn);
  info.setPeerBrokerInfos(null);
info.setBrokerName(looseUnmarshalString(dataIn));
info.setSlaveBroker(dataIn.readBoolean());
info.setMasterBroker(dataIn.readBoolean());
info.setDuplexConnection(dataIn.readBoolean());
info.setNetworkConnection(dataIn.readBoolean());
info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
info.setNetworkProperties(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 {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), 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);
  BrokerInfo info = (BrokerInfo)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs);
  tightMarshalString2(info.getBrokerURL(), dataOut, bs);
  tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
  tightMarshalString2(info.getBrokerName(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
  tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
  tightMarshalString2(info.getNetworkProperties(), dataOut, 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);
  BrokerInfo info = (BrokerInfo)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs);
  tightMarshalString2(info.getBrokerURL(), dataOut, bs);
  tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
  tightMarshalString2(info.getBrokerName(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
  tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
  tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
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 {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), 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);
  BrokerInfo info = (BrokerInfo)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs);
  tightMarshalString2(info.getBrokerURL(), dataOut, bs);
  tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
  tightMarshalString2(info.getBrokerName(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
  tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
  tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}
origin: pierre/meteo

info.setBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
info.setBrokerURL(looseUnmarshalString(dataIn));
  org.apache.activemq.command.BrokerInfo value[] = new org.apache.activemq.command.BrokerInfo[size];
  for( int i=0; i < size; i++ ) {
    value[i] = (org.apache.activemq.command.BrokerInfo) looseUnmarsalNestedObject(wireFormat,dataIn);
  info.setPeerBrokerInfos(null);
info.setBrokerName(looseUnmarshalString(dataIn));
info.setSlaveBroker(dataIn.readBoolean());
info.setMasterBroker(dataIn.readBoolean());
info.setDuplexConnection(dataIn.readBoolean());
info.setNetworkConnection(dataIn.readBoolean());
info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
info.setNetworkProperties(looseUnmarshalString(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 {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
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 {

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
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);
  BrokerInfo info = (BrokerInfo)o;
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getBrokerId(), dataOut, bs);
  tightMarshalString2(info.getBrokerURL(), dataOut, bs);
  tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
  tightMarshalString2(info.getBrokerName(), dataOut, bs);
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  bs.readBoolean();
  tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
  tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
  tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}
origin: org.apache.activemq/activemq-all

info.setBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
info.setBrokerURL(looseUnmarshalString(dataIn));
  org.apache.activemq.command.BrokerInfo value[] = new org.apache.activemq.command.BrokerInfo[size];
  for( int i=0; i < size; i++ ) {
    value[i] = (org.apache.activemq.command.BrokerInfo) looseUnmarsalNestedObject(wireFormat,dataIn);
  info.setPeerBrokerInfos(null);
info.setBrokerName(looseUnmarshalString(dataIn));
info.setSlaveBroker(dataIn.readBoolean());
info.setMasterBroker(dataIn.readBoolean());
info.setDuplexConnection(dataIn.readBoolean());
info.setNetworkConnection(dataIn.readBoolean());
info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
info.setNetworkProperties(looseUnmarshalString(dataIn));
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 {
  BrokerInfo info = (BrokerInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getBrokerId(), bs);
  rc += tightMarshalString1(info.getBrokerURL(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
  rc += tightMarshalString1(info.getBrokerName(), bs);
  bs.writeBoolean(info.isSlaveBroker());
  bs.writeBoolean(info.isMasterBroker());
  bs.writeBoolean(info.isFaultTolerantConfiguration());
  bs.writeBoolean(info.isDuplexConnection());
  bs.writeBoolean(info.isNetworkConnection());
  rc+=tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
  rc += tightMarshalString1(info.getNetworkProperties(), bs);
  return rc + 0;
}
origin: pierre/meteo

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

    BrokerInfo info = (BrokerInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);

  }
}
origin: org.apache.activemq/activemq-osgi

info.setBrokerId((org.apache.activemq.command.BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
info.setBrokerURL(looseUnmarshalString(dataIn));
  org.apache.activemq.command.BrokerInfo value[] = new org.apache.activemq.command.BrokerInfo[size];
  for( int i=0; i < size; i++ ) {
    value[i] = (org.apache.activemq.command.BrokerInfo) looseUnmarsalNestedObject(wireFormat,dataIn);
  info.setPeerBrokerInfos(null);
info.setBrokerName(looseUnmarshalString(dataIn));
info.setSlaveBroker(dataIn.readBoolean());
info.setMasterBroker(dataIn.readBoolean());
info.setDuplexConnection(dataIn.readBoolean());
info.setNetworkConnection(dataIn.readBoolean());
info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
info.setNetworkProperties(looseUnmarshalString(dataIn));
org.apache.activemq.openwire.v4BrokerInfoMarshaller

Javadoc

Marshalling code for Open Wire Format for BrokerInfoMarshaller 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
  • looseMarshalObjectArray
  • looseMarshalString
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • looseUnmarshalLong
  • looseUnmarshalString
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalLong1
  • tightMarshalLong2
  • tightMarshalLong1,
  • tightMarshalLong2,
  • tightMarshalObjectArray1,
  • tightMarshalObjectArray2,
  • tightMarshalString1,
  • tightMarshalString2,
  • tightUnmarsalCachedObject,
  • tightUnmarsalNestedObject,
  • tightUnmarshalLong,
  • tightUnmarshalString

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • requestLocationUpdates (LocationManager)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • JFrame (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
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