All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jive.erlang.EPort

java.lang.Object
   |
   +----jive.erlang.EVar
           |
           +----jive.erlang.EPort

public class EPort
extends EVar
EPort is a class that encapsulates an Erlang Port.

Author:
Kaj Nygren (kaj@medialab.ericsson.se), Kent Boortz (kent@erlang.ericsson.se)

Constructor Index

 o EPort()
Initiates the port type.
 o EPort(byte[])
Creates an Erlang Port with the a given byte array.

Method Index

 o length()
Returns the length of the Erlang Port.
 o pack()
Packs the Erlang Port into a byte array.
 o value()
Returns the integer value of this Erlang Port.

Constructors

 o EPort
 public EPort()
Initiates the port type.

 o EPort
 public EPort(byte data[])
Creates an Erlang Port with the a given byte array.

Methods

 o value
 public byte[] value()
Returns the integer value of this Erlang Port.

 o length
 public int length()
Returns the length of the Erlang Port.

 o pack
 public byte[] pack()
Packs the Erlang Port into a byte array. Used when sending the port to an Erlang server.

Overrides:
pack in class EVar

All Packages  Class Hierarchy  This Package  Previous  Next  Index