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)
-
EPort()
-
Initiates the port type.
-
EPort(byte[])
- Creates an Erlang Port with the a given byte array.
-
length()
-
Returns the length of the Erlang Port.
-
pack()
-
Packs the Erlang Port into a byte array.
-
value()
-
Returns the integer value of this Erlang Port.
EPort
public EPort()
- Initiates the port type.
EPort
public EPort(byte data[])
- Creates an Erlang Port with the a given byte array.
value
public byte[] value()
- Returns the integer value of this Erlang Port.
length
public int length()
- Returns the length of the Erlang Port.
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