Class Ref

java.lang.Object
com.ericsson.otp.erlang.OtpErlangObject
com.ericsson.otp.erlang.OtpErlangRef
com.ericsson.otp.ic.Ref
All Implemented Interfaces:
Serializable, Cloneable

public final class Ref extends com.ericsson.otp.erlang.OtpErlangRef
Ref class mapps the built-in erlang type Ref, a message reference.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Ref(com.ericsson.otp.erlang.OtpInputStream buf)
     
    Ref(com.ericsson.otp.erlang.OtpSelf self)
     
    Ref(String node, int[] ids, int creation)
     
    Ref(String node, int id, int creation)
    Old style Ref costructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equal(Ref _ref)
    Comparisson method for Ref.

    Methods inherited from class com.ericsson.otp.erlang.OtpErlangRef

    clone, creation, encode, equals, id, ids, isNewRef, node, toString

    Methods inherited from class com.ericsson.otp.erlang.OtpErlangObject

    bind, decode, hashCode, match

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Ref

      public Ref(com.ericsson.otp.erlang.OtpSelf self)
    • Ref

      public Ref(com.ericsson.otp.erlang.OtpInputStream buf) throws com.ericsson.otp.erlang.OtpErlangDecodeException
      Throws:
      com.ericsson.otp.erlang.OtpErlangDecodeException
    • Ref

      public Ref(String node, int id, int creation)
      Old style Ref costructor. Costructs an Ref that coresponds to the old erlang Ref type.
    • Ref

      public Ref(String node, int[] ids, int creation)
  • Method Details

    • equal

      public boolean equal(Ref _ref)
      Comparisson method for Ref.
      Returns:
      true if the input Ref value equals the value of the current object, false otherwize