com.ericsson.otp.ic
Class Ref

java.lang.Object
  extended by com.ericsson.otp.erlang.OtpErlangObject
      extended by com.ericsson.otp.erlang.OtpErlangRef
          extended by com.ericsson.otp.ic.Ref
All Implemented Interfaces:
java.io.Serializable, java.lang.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:
Serialized Form

Constructor Summary
Ref(com.ericsson.otp.erlang.OtpInputStream buf)
           
Ref(com.ericsson.otp.erlang.OtpSelf self)
           
Ref(java.lang.String node, int[] ids, int creation)
           
Ref(java.lang.String node, int id, int creation)
          Old style Ref costructor.
 
Method Summary
 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 Detail

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(java.lang.String node,
           int id,
           int creation)
Old style Ref costructor. Costructs an Ref that coresponds to the old erlang Ref type.


Ref

public Ref(java.lang.String node,
           int[] ids,
           int creation)
Method Detail

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

Copyright © 1991-2007 Ericsson AB