Class jtalkd

Class jtalkd

Object
   |
   +----Thread
           |
           +----jtalkd

public class jtalkd
extends Thread

Variable Index

 o DEBUG
 o talkMode

Constructor Index

 o jtalkd(boolean)

Method Index

 o announce()
 o bytecmp(byte[], byte[])
 o delete(pendingRequestNode)
Classic delete from a linked list
 o deleteInvite(int)
Delete the invitation with id 'id_num'
 o findMatch()
Look in the PendingRequests for an invitation that matches the current request looking for an invitation
 o findRequest()
Look for an identical request, as opposed to a complimentary one as findMatch does
 o findUser()
Checks if the user is 'logged on'
 o insertEntry(boolean)
Insert a new entry into the top of the list and create new id
 o main(String[])
 o newID()
Generate a unique non-zero sequence number
 o print_mesg()
 o processRequest()
 o run()
 o startDeamon()
 o stopDeamon()

Variables

 o DEBUG
public boolean DEBUG
 o talkMode
public static int talkMode

Constructors

 o jtalkd
public jtalkd(boolean DEBUG)

Methods

 o announce
public void announce()
 o bytecmp
public int bytecmp(byte first,
                   byte second)
 o delete
public void delete(pendingRequestNode ptr)
Classic delete from a linked list

 o deleteInvite
public int deleteInvite(int id_num)
Delete the invitation with id 'id_num'

 o findMatch
public pendingRequestNode findMatch()
Look in the PendingRequests for an invitation that matches the current request looking for an invitation

 o findRequest
public pendingRequestNode findRequest()
Look for an identical request, as opposed to a complimentary one as findMatch does

 o findUser
public int findUser()
Checks if the user is 'logged on'

 o insertEntry
public void insertEntry(boolean show)
Insert a new entry into the top of the list and create new id

 o main
public static void main(String[] args)
 o newID
public int newID()
Generate a unique non-zero sequence number

 o print_mesg
public void print_mesg()
 o processRequest
public void processRequest()
 o run
public void run()
Overrides:
run in class Thread
 o startDeamon
public void startDeamon()
 o stopDeamon
public void stopDeamon()