Class SerializableIr

  • All Implemented Interfaces:
    java.io.Serializable

    @Experimental(SCHEMAS)
    public final class SerializableIr
    extends java.lang.Object
    implements java.io.Serializable
    A wrapper around Ir that fulfils Java's Serializable contract.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SerializableIr fromIr​(uk.co.real_logic.sbe.ir.Ir ir)
      Creates a new instance from ir.
      uk.co.real_logic.sbe.ir.Ir ir()
      Returns the underlying Ir.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fromIr

        public static SerializableIr fromIr​(uk.co.real_logic.sbe.ir.Ir ir)
        Creates a new instance from ir.
        Parameters:
        ir - the Ir to create the instance from
        Returns:
        a new SerializableIr that contains ir
      • ir

        public uk.co.real_logic.sbe.ir.Ir ir()
        Returns the underlying Ir.

        Modifications made to the returned value, such as through Ir.addMessage(long, List), will be reflected in this instance.

        Returns:
        the underlying Ir