Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
D
G
I
O
P
R
S
T
A
add(Person)
- Method in class
PersonsDictionary
Adds the person to the dictionary.
B
BUSY
- Static variable in class
Person
D
delete(String)
- Method in class
PersonsDictionary
Removes the person from the dictionary.
G
getByName(String)
- Method in class
PersonsDictionary
Returns the person with the specified name.
getName()
- Method in class
Person
Returns the name of the person
I
INVISIBLE
- Static variable in class
Person
O
OFFLINE
- Static variable in class
Person
ONLINE
- Static variable in class
Person
P
Person
- class
Person
.
A Person object can communicate with other Persons.
Person(String)
- Constructor for class
Person
Creates a new person.
PersonsDictionary
- class
PersonsDictionary
.
Implements a dictionary of persons
PersonsDictionary(File)
- Constructor for class
PersonsDictionary
Constructs the dictionary from the file.
PersonsDictionary(String)
- Constructor for class
PersonsDictionary
Constructs the dictionary from the string.
R
receiveMessage(Person, String)
- Method in class
Person
Receives a message from a peer.
S
sendMessage(Person, String)
- Method in class
Person
Attempts to send a message to a peer.
setStatus(int)
- Method in class
Person
Changes the status of the person.
setStatus(String)
- Method in class
Person
Changes the status of the person.
T
toFile(File)
- Method in class
PersonsDictionary
Writes the contents of the dictionary into a specified file.
toShortString()
- Method in class
Person
Returns a single line representation of the person.
toString()
- Method in class
Person
Returns a String representation of the person.
toString()
- Method in class
PersonsDictionary
Returns representation of the dictionary as a string.
A
B
D
G
I
O
P
R
S
T
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES