Tabnine Logo
BaseDataStreamMarshaller.looseMarshal
Code IndexAdd Tabnine to your IDE (free)

How to use
looseMarshal
method
in
org.apache.activemq.openwire.v3.BaseDataStreamMarshaller

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

    super.looseMarshal(wireFormat, o, dataOut);

  }
}
origin: apache/activemq

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

    BaseCommand info = (BaseCommand)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getCommandId());
    dataOut.writeBoolean(info.isResponseRequired());

  }
}
origin: apache/activemq

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

    ActiveMQDestination info = (ActiveMQDestination)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getPhysicalName(), dataOut);

  }
}
origin: apache/activemq

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

    ConnectionId info = (ConnectionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getValue(), dataOut);

  }
}
origin: apache/activemq

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

    BrokerId info = (BrokerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getValue(), dataOut);

  }
}
origin: apache/activemq

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

    JournalTrace info = (JournalTrace)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getMessage(), dataOut);

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

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

    PartialCommand info = (PartialCommand)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getCommandId());
    looseMarshalByteArray(wireFormat, info.getData(), dataOut);

  }
}
origin: apache/activemq

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

    JournalTransaction info = (JournalTransaction)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);
    dataOut.writeByte(info.getType());
    dataOut.writeBoolean(info.getWasPrepared());

  }
}
origin: apache/activemq

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

    SessionId info = (SessionId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);

  }
}
origin: apache/activemq

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

    JournalQueueAck info = (JournalQueueAck)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageAck(), dataOut);

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

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

    WireFormatInfo info = (WireFormatInfo)o;

    info.beforeMarshall(wireFormat);

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalConstByteArray(wireFormat, info.getMagic(), dataOut, 8);
    dataOut.writeInt(info.getVersion());
    looseMarshalByteSequence(wireFormat, info.getMarshalledProperties(), dataOut);

  }
}
origin: apache/activemq

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

    ProducerId info = (ProducerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), dataOut);

  }
}
origin: apache/activemq

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

    MessageId info = (MessageId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getProducerId(), dataOut);
    looseMarshalLong(wireFormat, info.getProducerSequenceId(), dataOut);
    looseMarshalLong(wireFormat, info.getBrokerSequenceId(), dataOut);

  }
}
origin: apache/activemq

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

    ConsumerId info = (ConsumerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);

  }
}
origin: apache/activemq

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

    SubscriptionInfo info = (SubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalString(info.getSelector(), dataOut);
    looseMarshalString(info.getSubscriptionName(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut);

  }
}
origin: apache/activemq

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

    JournalTopicAck info = (JournalTopicAck)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);
    looseMarshalLong(wireFormat, info.getMessageSequenceId(), dataOut);
    looseMarshalString(info.getSubscritionName(), dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);

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

    PartialCommand info = (PartialCommand)o;

    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeInt(info.getCommandId());
    looseMarshalByteArray(wireFormat, info.getData(), dataOut);

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

    ConsumerId info = (ConsumerId)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getConnectionId(), dataOut);
    looseMarshalLong(wireFormat, info.getSessionId(), dataOut);
    looseMarshalLong(wireFormat, info.getValue(), dataOut);

  }
}
org.apache.activemq.openwire.v3BaseDataStreamMarshallerlooseMarshal

Popular methods of BaseDataStreamMarshaller

  • createThrowable
  • looseMarshalNestedObject
  • looseMarshalString
  • looseMarshalThrowable
  • looseUnmarsalThrowable
  • looseUnmarshal
  • looseUnmarshalString
  • tightMarshal1
  • tightMarshal2
  • tightMarshalNestedObject1
  • tightMarshalNestedObject2
  • tightMarshalString1
  • tightMarshalNestedObject2,
  • tightMarshalString1,
  • tightMarshalString2,
  • tightMarshalThrowable1,
  • tightMarshalThrowable2,
  • tightUnmarsalThrowable,
  • tightUnmarshal,
  • tightUnmarshalString,
  • toLong

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • JCheckBox (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • 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