Class jtalkd
Class jtalkd
Object
|
+----Thread
|
+----jtalkd
- public class jtalkd
- extends Thread
-
DEBUG
-
-
talkMode
-
-
jtalkd(boolean)
-
-
announce()
-
-
bytecmp(byte[], byte[])
-
-
delete(pendingRequestNode)
- Classic delete from a linked list
-
deleteInvite(int)
- Delete the invitation with id 'id_num'
-
findMatch()
- Look in the PendingRequests for an invitation that matches the current
request looking for an invitation
-
findRequest()
- Look for an identical request, as opposed to a complimentary
one as findMatch does
-
findUser()
- Checks if the user is 'logged on'
-
insertEntry(boolean)
- Insert a new entry into the top of the list and create new id
-
main(String[])
-
-
newID()
- Generate a unique non-zero sequence number
-
print_mesg()
-
-
processRequest()
-
-
run()
-
-
startDeamon()
-
-
stopDeamon()
-
DEBUG
public boolean DEBUG
talkMode
public static int talkMode
jtalkd
public jtalkd(boolean DEBUG)
announce
public void announce()
bytecmp
public int bytecmp(byte first,
byte second)
delete
public void delete(pendingRequestNode ptr)
- Classic delete from a linked list
deleteInvite
public int deleteInvite(int id_num)
- Delete the invitation with id 'id_num'
findMatch
public pendingRequestNode findMatch()
- Look in the PendingRequests for an invitation that matches the current
request looking for an invitation
findRequest
public pendingRequestNode findRequest()
- Look for an identical request, as opposed to a complimentary
one as findMatch does
findUser
public int findUser()
- Checks if the user is 'logged on'
insertEntry
public void insertEntry(boolean show)
- Insert a new entry into the top of the list and create new id
main
public static void main(String[] args)
newID
public int newID()
- Generate a unique non-zero sequence number
print_mesg
public void print_mesg()
processRequest
public void processRequest()
run
public void run()
- Overrides:
- run in class Thread
startDeamon
public void startDeamon()
stopDeamon
public void stopDeamon()