A C D E F G I L M N Q R S U V

A

addMessage(Message) - Method in class UserAccountServerSide
Adds a message obtained from the link to a specified User account object
REQUIRES:
MODIFIES:
EFFECTS: Returns the user password
authorization(UserAccountClientSide) - Static method in class Server
Checks if passed argument exists in the collection and whether passwords agree

C

changePassword(String) - Method in class UserAccountClientSide
Changes the old password with the newly password
changeQuota(int) - Method in class UserAccountClientSide
Chnages the quota of the user account
clear() - Method in class Link
 
collissionOccured() - Method in class Link
 
compareTo(Object) - Method in class Message
Compares the sender IDs.
createAccount(Vector) - Static method in class ServerAccountManager
Creates new UserAccount by collecting necessary information from the user (i.o.

D

dequeue() - Method in interface QueueInterface
Dequeues and returns the next available element on this queue.
dequeue() - Method in class VectorQueue
 

E

elements - Variable in class VectorQueue
The vector used for storage.
enqueue(Object) - Method in interface QueueInterface
Enqueues the given element on this queue.
enqueue(Object) - Method in class VectorQueue
 

F

front() - Method in interface QueueInterface
Returns the next available element on this queue.
front() - Method in class VectorQueue
 

G

getLinkAccess() - Method in class Node
Provides the requestor with the Link
getLinkAccess() - Method in class RunningNode
Provides the access to the link
getMessage() - Method in class RawMail
Returns the message object
getNodeDescription() - Method in class Node
Defines Node's description
REQUIRES:
MODIFIES:
EFFECTS:
getNodeDescription() - Method in class RunningNode
Provides the general information about node
REQUIRES:
MODIFIES: System.out
EFFECTS: Displays the general information about node
getNodeID() - Method in class RunningNode
Provides the Node ID
getPassword() - Method in class UserAccountClientSide
Returns the user password
getUserAccount() - Method in class RawMail
Returns the UserAccountClientSide object
getUserAccount() - Method in class UserAccountServerSide
Returns a UserAccountClientSide object
getUserID() - Method in class UserAccountClientSide
Returns the user ID
getUserName() - Method in class UserAccountClientSide
Returns the user name
getUserQuota() - Method in class UserAccountClientSide
Returns the user password

I

insert(Object) - Method in class Link
 
isEmpty() - Method in interface QueueInterface
Returns whether or not this queue structure is empty.
isEmpty() - Method in class VectorQueue
 

L

Link - class Link.
 
Link() - Constructor for class Link
 
LinkSniffer - class LinkSniffer.
To be deployed
LinkSniffer() - Constructor for class LinkSniffer
Creates new LinkSniffer

M

main(String[]) - Static method in class SendApp
 
main(String[]) - Static method in class Server
 
Message - class Message.
 
Message(String, int, int) - Constructor for class Message
Creates new Message

REQUIRES:
MODIFIES: this
EFFECTS: Sets the necessary object fields
msgGetFrom() - Method in class Message
Provides the sender's ID field of the given message
msgGetSize() - Method in class Message
Provides the size field of the message
msgGetText() - Method in class Message
Provides the text field of the message
msgGetTo() - Method in class Message
Provides thre receiver's ID field of the given message

N

Node - class Node.
A node might be a workstation on the LAN.
Node() - Constructor for class Node
 

Q

QUEUE_SIZE - Static variable in interface SendDrvInterface
 
QueueInterface - interface QueueInterface.
Interface specifying the behavior for a queue.

R

RawMail - class RawMail.
 
RawMail(Message, UserAccountClientSide) - Constructor for class RawMail
Creates new RawMail
receivers() - Method in class RunningNode
Initializes ReceiveMail simulation
REQUIRES:
MODIFIES:
EFFECTS: Initializes receive mail application procedures
RecvApp - class RecvApp.
Defines the behavior of the ReceiveMail application
RecvApp() - Constructor for class RecvApp
Default constructor
RecvDrv - class RecvDrv.
Defines the behavior of the ReceiveMail Driver
RecvDrv() - Constructor for class RecvDrv
Default constructor for the RecvDrv
RecvDrvGetFromLink() - Method in class RecvDrv
Obtains a message from the link
recvMessage() - Method in class RecvApp
Prints out the received message from the Link on System.out
REQUIRES:
MODIFIES: System.out
EFFECTS: Prints out the message and message-related information
releaseUserAccountInfo(String) - Static method in class SendApp
 
RESERVED_NODE - Static variable in interface ServerInterface
 
retrieve() - Method in class Link
 
RunningNode - class RunningNode.
 
RunningNode() - Constructor for class RunningNode
Default Constructor
RunningNode(UserAccountClientSide, Link) - Constructor for class RunningNode
Creates new RunningNode

S

SendApp - class SendApp.
 
SendApp(UserAccountClientSide) - Constructor for class SendApp
Creates new SendApp
SendDrv - class SendDrv.
 
SendDrv() - Constructor for class SendDrv
Creates new SendDrv
sendDrvAcceptMode() - Method in class SendDrv
Checks whether object can accept more messages
sendDrvGet(RawMail) - Method in class SendDrv
Adds the passed Message to the object
SendDrvInterface - interface SendDrvInterface.
 
sendDrvSend() - Method in class SendDrv
Sends out a message with a prior error checking (checks whether link is garbled or not) If link is garbled retries to send message in 5 seconds.
senders() - Method in class RunningNode
Initializes SendMail simulation
REQUIRES:
MODIFIES:
EFFECTS: Initializes send mail application procedures
sendMessage() - Method in class SendApp
Creates and sends out a new messages (error checks on the availability of driver to accept outgoing message
REQUIRES:
MODIFIES: System.out, this
EFFECTS: Passes the message to the carrier performing carrier related error checking.
Server - class Server.
 
ServerAccountManager - class ServerAccountManager.
 
ServerAccountManager() - Constructor for class ServerAccountManager
Creates new ServerAccountManager
REQUIRES:
MODIFIES:
EFFECTS:
ServerInterface - interface ServerInterface.
 
setNodeLink(Link) - Method in class Node
Sets up the Link
size() - Method in class Link
 
size() - Method in interface QueueInterface
Returns the size of this queue structure.
size() - Method in class VectorQueue
 

U

UserAccountClientSide - class UserAccountClientSide.
Class UserAccount defines the functionality of the generic user account by setting username, password or quota (if necessary constructor is used) Class UserAccount is supposed to be used only within Server
UserAccountClientSide(String, String, int, int) - Constructor for class UserAccountClientSide
Creates a new UserAccountClientSide object
UserAccountServerSide - class UserAccountServerSide.
 
UserAccountServerSide(String, String, int, int) - Constructor for class UserAccountServerSide
Creates new UserAccountServerSide

V

VectorQueue - class VectorQueue.
Queue implementation using a Vector as its underlying data structure.
VectorQueue() - Constructor for class VectorQueue
 

A C D E F G I L M N Q R S U V