Class Port

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public final class Port
    extends com.ericsson.otp.erlang.OtpErlangPort
    Port class mapps the built-in erlang type port, a process port.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Port​(com.ericsson.otp.erlang.OtpInputStream buf)  
      Port​(java.lang.String node, int id, int creation)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equal​(Port _port)
      Comparisson method for Port.
      • Methods inherited from class com.ericsson.otp.erlang.OtpErlangPort

        creation, encode, equals, id, node, toString
      • Methods inherited from class com.ericsson.otp.erlang.OtpErlangObject

        bind, clone, decode, hashCode, match
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Port

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

        public Port​(java.lang.String node,
                    int id,
                    int creation)
    • Method Detail

      • equal

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