All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

apply(EAtom, EAtom, EList). Method in class jive.erlang.ESock
Performs an Erlang apply.
apply(String, String, EList). Method in class jive.erlang.ESock
Performs an Erlang apply.

C

concat(byte[], byte[]). Static method in class jive.erlang.EVar
Concatenates two byte arrays into one large array.
connect(). Method in class jive.erlang.EApplet
This method connect the Applet to the Erlang Jive server.
connect(). Method in class jive.erlang.EApplication
This method connect the Application to the Erlang Jive server.
connect(). Method in class jive.erlang.EReceiver
Connects the client to the server.
connect(). Method in class jive.erlang.ESock
This method opens a socket connection to the port on the server and returns the socket.
connected(). Method in class jive.erlang.EApplet
This method checks whether the Applet is connected to the Erlang Jive server or not.
connected(). Method in class jive.erlang.EApplication
This method checks whether the application is connected to the Erlang Jive server or not.
connected(). Method in class jive.erlang.EReceiver
Returns whether or not the client is connected to the server.

D

Deliverer(). Constructor for class jive.erlang.Deliverer
Deliverer(byte[]). Constructor for class jive.erlang.Deliverer
Creates a new Deliverer that will send a message through a socket.
disconnect(). Method in class jive.erlang.EApplet
This method disconnect the Applet from the Erlang Jive server.
disconnect(). Method in class jive.erlang.EApplication
This method disconnect the Application from the Erlang Jive server.
disconnect(). Method in class jive.erlang.EReceiver
Disconnects the client from the server.

E

EApplet(). Constructor for class jive.erlang.EApplet
EApplication(String, int). Constructor for class jive.erlang.EApplication
This method will initialize the Jive client.
EAPPLY. Static variable in class jive.erlang.ESock
EATOM. Static variable in class jive.erlang.EVar
EAtom(). Constructor for class jive.erlang.EAtom
Initiates the atom type.
EAtom(String). Constructor for class jive.erlang.EAtom
Creates an Erlang Atom with a value given by eString.
EBINARY. Static variable in class jive.erlang.EVar
EBinary(). Constructor for class jive.erlang.EBinary
Initiates the binary type.
EBinary(byte[]). Constructor for class jive.erlang.EBinary
Creates an Erlang Binary with the a given byte array.
EFLOAT. Static variable in class jive.erlang.EVar
EFloat(double). Constructor for class jive.erlang.EFloat
Creates an Erlang Float with the a given double value.
EINTEGER. Static variable in class jive.erlang.EVar
EInteger(int). Constructor for class jive.erlang.EInteger
Creates an Erlang Integer with the given integer value.
elementAt(int). Method in class jive.erlang.EList
Returns the EVar at the specified index.
elementAt(int). Method in class jive.erlang.ETuple
Returns the EVar at the specified index.
elements(). Method in class jive.erlang.EList
Returns an enumeration of the EVars in this list.
elements(). Method in class jive.erlang.ETuple
Returns an enumeration of the EVars in this tuple.
ELIST. Static variable in class jive.erlang.EVar
EList(). Constructor for class jive.erlang.EList
Creates an empty list.
EList(EVar). Constructor for class jive.erlang.EList
Creates a list with 1 element.
EList(EVar, EVar). Constructor for class jive.erlang.EList
Creates a list with 2 elements.
EList(EVar, EVar, EVar). Constructor for class jive.erlang.EList
Creates a list with 3 elements.
EList(EVar, EVar, EVar, EVar). Constructor for class jive.erlang.EList
Creates a list with 4 elements.
EList(EVar, EVar, EVar, EVar, EVar). Constructor for class jive.erlang.EList
Creates a list with 5 elements.
EList(EVar, EVar, EVar, EVar, EVar, EVar). Constructor for class jive.erlang.EList
Creates a list with 6 elements.
EList(EVar[]). Constructor for class jive.erlang.EList
Creates a list from an array of EVar elements.
ENEW_CLIENT. Static variable in class jive.erlang.ESock
EPID. Static variable in class jive.erlang.EVar
EPid(). Constructor for class jive.erlang.EPid
Initiates the pid type.
EPid(byte[]). Constructor for class jive.erlang.EPid
Creates an Erlang Pid with the a given byte array.
EPORT. Static variable in class jive.erlang.EVar
EPort(). Constructor for class jive.erlang.EPort
Initiates the port type.
EPort(byte[]). Constructor for class jive.erlang.EPort
Creates an Erlang Port with the a given byte array.
EPROCESS. Static variable in class jive.erlang.EVar
EProcess(EAtom, EAtom, EList). Constructor for class jive.erlang.EProcess
Spawns a new Erlang process and creates a Process class representing the Erlang Pid.
EProcess(int). Constructor for class jive.erlang.EProcess
Create a EProcess wrapper around a given Pid value.
EProcess(String, String, EList). Constructor for class jive.erlang.EProcess
Spawns a new Erlang process and creates a Process class representing the Erlang Pid.
equals(Object). Method in class jive.erlang.EAtom
Compares this EAtom with another EAtom Two EAtoms are equal if their respective Java strings are equal.
equals(Object). Method in class jive.erlang.EFloat
Compares this object to the specified object.
equals(Object). Method in class jive.erlang.EInteger
Compares this object to the specified object.
equals(Object). Method in class jive.erlang.EString
Compares this EString with another EString.
EREFERENCE. Static variable in class jive.erlang.EVar
EReference(). Constructor for class jive.erlang.EReference
Initiates the reference type.
EReference(byte[]). Constructor for class jive.erlang.EReference
Creates an Erlang Reference with the a given byte array.
ESEND. Static variable in class jive.erlang.ESock
ESock(String, int). Constructor for class jive.erlang.ESock
Creates an ESock object that communicates with a given host and port.
ESPAWN. Static variable in class jive.erlang.ESock
ESTRING. Static variable in class jive.erlang.EVar
EString(). Constructor for class jive.erlang.EString
Creates an empty Erlang String.
EString(String). Constructor for class jive.erlang.EString
Creates an Erlang String with the contents of eString.
ETUPLE. Static variable in class jive.erlang.EVar
ETuple(). Constructor for class jive.erlang.ETuple
Creates an empty tuple.
ETuple(EVar). Constructor for class jive.erlang.ETuple
Creates a tuple with 1 element.
ETuple(EVar, EVar). Constructor for class jive.erlang.ETuple
Creates a tuple with 2 elements.
ETuple(EVar, EVar, EVar). Constructor for class jive.erlang.ETuple
Creates a tuple with 3 elements.
ETuple(EVar, EVar, EVar, EVar). Constructor for class jive.erlang.ETuple
Creates a tuple with 4 elements.
ETuple(EVar, EVar, EVar, EVar, EVar). Constructor for class jive.erlang.ETuple
Creates a tuple with 5 elements.
ETuple(EVar, EVar, EVar, EVar, EVar, EVar). Constructor for class jive.erlang.ETuple
Creates a tuple with 6 elements.
ETuple(EVar[]). Constructor for class jive.erlang.ETuple
Creates a tuple from an array of EVar elements.
EVar(). Constructor for class jive.erlang.EVar

G

getAtom(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang atom and returns an EAtom object containing the atom.
getBinary(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang binary and returns a EBinary object containing the binary.
getError(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an error message and throws a JiveException with a given message

If the tag parameter is true it will expect an EERROR tag first in the stream, otherwise it will assume that the stream contains a valid error message.

getESock(). Method in class jive.erlang.EApplet
Returns the ESock object used for socket communication with the Erlang Jive server.
getESock(). Method in class jive.erlang.EApplication
Returns the ESock object used for socket communication with the Erlang Jive server.
getESock(). Method in class jive.erlang.ERuntime
Returns the current ESock object used to communicate with the Jive server.
getFloat(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang float and returns an EFloat object containing the float.
getHost(). Method in class jive.erlang.ESock
Returns the host of the Jive server.
getInteger(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang integer and returns an EInteger object containing the integer.
getList(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang list and returns a EList object containing the list.
getPid(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang pid and returns a EPid object containing the pid.
getPort(). Method in class jive.erlang.ESock
Returns the port of the Jive server.
getPort(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang port and returns a EPort object containing the port.
getProcess(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang pid-id and returns a EProcess object containing the pid-id.
getReference(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang reference and returns a EReference object containing the reference.
getRuntime(). Static method in class jive.erlang.ERuntime
Returns the runtime environment.
getString(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang string and returns an EString object containing the string.
getTuple(boolean). Method in class jive.erlang.Unpacker
This method parses the input stream for an Erlang tuple and returns a ETuple object containing the tuple.

H

hashCode(). Method in class jive.erlang.EAtom
Returns a hashcode for this EAtom.
hashCode(). Method in class jive.erlang.EFloat
Returns a hashcode for this EFloat (Code taken from Double class).
hashCode(). Method in class jive.erlang.EInteger
Returns a hashcode for this EInteger.
hashCode(). Method in class jive.erlang.EString
Returns a hashcode for this EString.

I

init(). Method in class jive.erlang.EApplet
This method will initialize the Jive client.
init(Socket, Unpacker, EProcess). Method in class jive.erlang.EReceiver
Called from the ESock object when the socket connection has been opened.
initReceiver(EReceiver). Method in class jive.erlang.ESock
This method is called when initiating the EReceiver.
intToBytes(int, byte[], int). Static method in class jive.erlang.EVar
Packs an integer into a byte array.

J

JiveException(). Constructor for class jive.erlang.JiveException
Constructs a JiveException with no details of why it was constructed.
JiveException(String). Constructor for class jive.erlang.JiveException
Constructs a JiveException with a message specifying why it was created.
JiveIOException(). Constructor for class jive.erlang.JiveIOException
Constructs a JiveIOException with no details on why it was constructed.
JiveIOException(String). Constructor for class jive.erlang.JiveIOException
Constructs a JiveIOException with a message specifying why it was created.
JiveSecurityException(). Constructor for class jive.erlang.JiveSecurityException
Constructs a JiveSecurityException with no details on why it was constructed.
JiveSecurityException(String). Constructor for class jive.erlang.JiveSecurityException
Constructs a JiveSecurity Exception with a message specifying why it was created.

L

length(). Method in class jive.erlang.EAtom
Returns the length of this atom.
length(). Method in class jive.erlang.EBinary
Returns the length of the Erlang Binary.
length(). Method in class jive.erlang.EList
Returns the number of EVars in this list.
length(). Method in class jive.erlang.EPid
Returns the length of the Erlang Pid.
length(). Method in class jive.erlang.EPort
Returns the length of the Erlang Port.
length(). Method in class jive.erlang.EReference
Returns the length of the Erlang Reference.
length(). Method in class jive.erlang.EString
Returns the length of the string.
length(). Method in class jive.erlang.ETuple
Returns the number of EVars in this tuple.

P

pack(). Method in class jive.erlang.EAtom
Packs the Erlang Atom into a byte array.
pack(). Method in class jive.erlang.EBinary
Packs the Erlang Binary into a byte array.
pack(). Method in class jive.erlang.EFloat
Packs the Erlang Float into a byte array.
pack(). Method in class jive.erlang.EInteger
Packs the Erlang String into a byte array.
pack(). Method in class jive.erlang.EList
Packs the Erlang List into a byte array.
pack(). Method in class jive.erlang.EPid
Packs the Erlang Pid into a byte array.
pack(). Method in class jive.erlang.EPort
Packs the Erlang Port into a byte array.
pack(). Method in class jive.erlang.EProcess
Packs the Pid value into a byte array.
pack(). Method in class jive.erlang.EReference
Packs the Erlang Reference into a byte array.
pack(). Method in class jive.erlang.EString
Packs the Erlang String into a byte array.
pack(). Method in class jive.erlang.ETuple
Packs the Erlang tuple into a byte array.
pack(). Method in class jive.erlang.EVar
Called to pack the variable into a byte array.
parseExpression(). Method in class jive.erlang.Unpacker
This method parses an expression from the input stream and returns the expression as an EVar object.
parseMessage(). Method in class jive.erlang.Unpacker
Parses a message sent from the Erlang server to a client.
parseReply(). Method in class jive.erlang.Unpacker
Parses a reply sent from the Erlang server to a client.
print(byte[]). Method in class jive.erlang.ESock
Just for debugging!

R

receive(EVar). Method in interface jive.erlang.EReceive
receiver(). Method in class jive.erlang.EApplet
Returns the EReceiver object used for registering objects which should be called from Erlang.
receiver(). Method in class jive.erlang.EApplication
Returns the EReceiver object used for registering objects which should be called from Erlang.
register(EReceive). Method in class jive.erlang.EReceiver
Registers an EReceive object.
remove(EInteger). Method in class jive.erlang.EReceiver
Unregisters an EReceive object given the corresponding EInteger targetID.
remove(EReceive). Method in class jive.erlang.EReceiver
Unregisters an EReceive object.
run(). Method in class jive.erlang.Deliverer
This method is executed by the sender thread.
run(). Method in class jive.erlang.EReceiver
The main loop of this thread.

S

s. Variable in class jive.erlang.Unpacker
self(). Method in class jive.erlang.EApplet
Returns the EProcess representing the client's peer Erlang process.
self(). Method in class jive.erlang.EApplication
Returns the EProcess representing the client's peer Erlang process.
self(). Method in class jive.erlang.EReceiver
Returns the EProcess that represents the Erlang process that sends messages to this client.
send(EProcess, EVar). Method in class jive.erlang.ESock
Sends a message asynchronously to an Erlang process.
send(EVar). Method in class jive.erlang.EProcess
Sends a message to the Erlang Process represented by this EProcess class.
setESock(String, int). Method in class jive.erlang.ERuntime
Create a new ESock class that communicates with a given host and port.
setValue(int). Method in class jive.erlang.EProcess
Sets the internal pid-id value.
spawn(EAtom, EAtom, EList). Method in class jive.erlang.ESock
Spawns a new Erlang process, result is a EProcess representing the Erlang PID
spawn(String, String, EList). Method in class jive.erlang.ESock
Spawns a new Erlang process.
start(). Method in class jive.erlang.EApplet
This method will be called everytime the Applet is started.
stop(). Method in class jive.erlang.EApplet
This method will be called everytime the Applet is stopped.

T

toID(EReceive). Method in class jive.erlang.EReceiver
Converts an EReceive target to the corresponding targetID.
toTarget(EInteger). Method in class jive.erlang.EReceiver
Converts an EInteger targetID to the corresponding EReceive target.
type. Variable in class jive.erlang.EVar
The type of this Variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY, EREFERENCE, EPORT, EPID
type(). Method in class jive.erlang.EVar
Returns the type of this variable.
Possible types are: EINTEGER, ESTRING, EATOM, EFLOAT, ELIST, ETUPLE, EPROCESS, EBINARY, EREFERENCE, EPORT, EPID

U

Unpacker(InputStream, EReceiver). Constructor for class jive.erlang.Unpacker
Creates an Unpacker that parses messages from the Erlang side and deliver them to a receiver on the Java side.
unsignedValue(). Method in class jive.erlang.EInteger
Returns the (unsigned) long value of this Erlang Integer.

V

value(). Method in class jive.erlang.EAtom
Returns the Java string representing the Atom.
value(). Method in class jive.erlang.EBinary
Returns the integer value of this Erlang Binary.
value(). Method in class jive.erlang.EFloat
Returns the double value of this Erlang Float.
value(). Method in class jive.erlang.EInteger
Returns the integer value of this Erlang Integer.
value(). Method in class jive.erlang.EList
Returns this list as an array of EVar elements.
value(). Method in class jive.erlang.EPid
Returns the integer value of this Erlang Pid.
value(). Method in class jive.erlang.EPort
Returns the integer value of this Erlang Port.
value(). Method in class jive.erlang.EProcess
Returns the Pid value representing the Erlang Pid.
value(). Method in class jive.erlang.EReference
Returns the integer value of this Erlang Reference.
value(). Method in class jive.erlang.EString
Returns a Java string version of the Erlang String.
value(). Method in class jive.erlang.ETuple
Returns this tuple as an array of EVar elements.