Tabnine Logo
ConnectionInfoMarshaller.tightMarshalObjectArray1
Code IndexAdd Tabnine to your IDE (free)

How to use
tightMarshalObjectArray1
method
in
org.apache.activemq.openwire.v2.ConnectionInfoMarshaller

Best Java code snippets using org.apache.activemq.openwire.v2.ConnectionInfoMarshaller.tightMarshalObjectArray1 (Showing top 4 results out of 315)

origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConnectionInfo info = (ConnectionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalString1(info.getPassword(), bs);
  rc += tightMarshalString1(info.getUserName(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
  bs.writeBoolean(info.isBrokerMasterConnector());
  bs.writeBoolean(info.isManageable());
  bs.writeBoolean(info.isClientMaster());
  return rc + 0;
}
origin: pierre/meteo

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  ConnectionInfo info = (ConnectionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalString1(info.getPassword(), bs);
  rc += tightMarshalString1(info.getUserName(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
  bs.writeBoolean(info.isBrokerMasterConnector());
  bs.writeBoolean(info.isManageable());
  bs.writeBoolean(info.isClientMaster());
  return rc + 0;
}
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 {
  ConnectionInfo info = (ConnectionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalString1(info.getPassword(), bs);
  rc += tightMarshalString1(info.getUserName(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
  bs.writeBoolean(info.isBrokerMasterConnector());
  bs.writeBoolean(info.isManageable());
  bs.writeBoolean(info.isClientMaster());
  return rc + 0;
}
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 {
  ConnectionInfo info = (ConnectionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getConnectionId(), bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalString1(info.getPassword(), bs);
  rc += tightMarshalString1(info.getUserName(), bs);
  rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
  bs.writeBoolean(info.isBrokerMasterConnector());
  bs.writeBoolean(info.isManageable());
  bs.writeBoolean(info.isClientMaster());
  return rc + 0;
}
org.apache.activemq.openwire.v2ConnectionInfoMarshallertightMarshalObjectArray1

Popular methods of ConnectionInfoMarshaller

  • looseMarshalCachedObject
  • looseMarshalObjectArray
  • looseMarshalString
  • looseUnmarsalCachedObject
  • looseUnmarsalNestedObject
  • looseUnmarshalString
  • tightMarshalCachedObject1
  • tightMarshalCachedObject2
  • tightMarshalObjectArray2
  • tightMarshalString1
  • tightMarshalString2
  • tightUnmarsalCachedObject
  • tightMarshalString2,
  • tightUnmarsalCachedObject,
  • tightUnmarsalNestedObject,
  • tightUnmarshalString

Popular in Java

  • Parsing JSON documents to java classes using gson
  • putExtra (Intent)
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 12 Jupyter Notebook extensions
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