congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ConnectionInfoMarshaller.looseMarshalCachedObject
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.apache.activemq.openwire.v2.ConnectionInfoMarshaller.looseMarshalCachedObject (Showing top 4 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 {

    ConnectionInfo info = (ConnectionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalString(info.getPassword(), dataOut);
    looseMarshalString(info.getUserName(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
    dataOut.writeBoolean(info.isBrokerMasterConnector());
    dataOut.writeBoolean(info.isManageable());
    dataOut.writeBoolean(info.isClientMaster());

  }
}
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 {

    ConnectionInfo info = (ConnectionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalString(info.getPassword(), dataOut);
    looseMarshalString(info.getUserName(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
    dataOut.writeBoolean(info.isBrokerMasterConnector());
    dataOut.writeBoolean(info.isManageable());
    dataOut.writeBoolean(info.isClientMaster());

  }
}
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 {

    ConnectionInfo info = (ConnectionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalString(info.getPassword(), dataOut);
    looseMarshalString(info.getUserName(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
    dataOut.writeBoolean(info.isBrokerMasterConnector());
    dataOut.writeBoolean(info.isManageable());
    dataOut.writeBoolean(info.isClientMaster());

  }
}
origin: pierre/meteo

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

    ConnectionInfo info = (ConnectionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getConnectionId(), dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalString(info.getPassword(), dataOut);
    looseMarshalString(info.getUserName(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
    dataOut.writeBoolean(info.isBrokerMasterConnector());
    dataOut.writeBoolean(info.isManageable());
    dataOut.writeBoolean(info.isClientMaster());

  }
}
org.apache.activemq.openwire.v2ConnectionInfoMarshallerlooseMarshalCachedObject

Popular methods of ConnectionInfoMarshaller

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

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • startActivity (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JCheckBox (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now