All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jive.erlang.EVar

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

public abstract class EVar
extends Object
EVar is an abstract superclass for Erlang variables. EInteger, EString, EAtom, EFloat, ETuple, EList, EBinary and EProcess are subclasses of EVar.

Author:
Kaj Nygren (kaj@medialab.ericsson.se), Joakim Grebenö (jocke@erix.ericsson.se)
See Also:
EInteger, EString, EAtom, EFloat, ETuple, EList, EProcess, EBinary, EReference, EPort, EPid

Variable Index

 o EATOM
 o EBINARY
 o EFLOAT
 o EINTEGER
 o ELIST
 o EPID
 o EPORT
 o EPROCESS
 o EREFERENCE
 o ESTRING
 o ETUPLE
 o type
The type of this Variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY, EREFERENCE, EPORT, EPID

Constructor Index

 o EVar()

Method Index

 o concat(byte[], byte[])
Concatenates two byte arrays into one large array.
 o intToBytes(int, byte[], int)
Packs an integer into a byte array.
 o pack()
Called to pack the variable into a byte array.
 o type()
Returns the type of this variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY, EREFERENCE, EPORT, EPID

Variables

 o ESTRING
 public static final byte ESTRING
 o ELIST
 public static final byte ELIST
 o ETUPLE
 public static final byte ETUPLE
 o EATOM
 public static final byte EATOM
 o EINTEGER
 public static final byte EINTEGER
 o EPROCESS
 public static final byte EPROCESS
 o EFLOAT
 public static final byte EFLOAT
 o EBINARY
 public static final byte EBINARY
 o EREFERENCE
 public static final byte EREFERENCE
 o EPORT
 public static final byte EPORT
 o EPID
 public static final byte EPID
 o type
 protected byte type
The type of this Variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY, EREFERENCE, EPORT, EPID

Constructors

 o EVar
 public EVar()

Methods

 o pack
 public abstract byte[] pack()
Called to pack the variable into a byte array.

Note:Must be overridden in subclasses.

 o type
 public byte type()
Returns the type of this variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY, EREFERENCE, EPORT, EPID

 o concat
 public static byte[] concat(byte src1[],
                             byte src2[])
Concatenates two byte arrays into one large array.

 o intToBytes
 public static void intToBytes(int val,
                               byte buffer[],
                               int start)
Packs an integer into a byte array.


All Packages  Class Hierarchy  This Package  Previous  Next  Index