A B C D E F G H I L M N O P R S T

S

sendMessage(Message) - Method in class nathan.middleware.ClientCommunication
Send a message to the server.
sendMessage(Message) - Method in class nathan.middleware.FrontEndHandler
sendMessage returns the results of a remote invocation to the client.
sendMessage(Message) - Method in class nathan.middleware.ServerCommunicationHandler
Returns a message back to the client.
Server - Class in nathan.middleware
ServerApplication starts the remote object so the client can call the remote methods on the object.

To start the server: Server requires the arguments [Object Name] [Registry IP] [Registry Port] [Server Port].
Object name is the name to be used for the remote object.
Registry Ip is the ip address of the registry the server will use to bind the object.
Registry port is the port number that registry is listening on.
Server port is the port number which the server will listen on.
Server() - Constructor for class nathan.middleware.Server
 
ServerCommunication - Class in nathan.middleware
ServerCommunication creates a coomunication module to handle request from the client by creating new threads of the type ServerCommunicationHandler to handle the communication.
ServerCommunication(int) - Constructor for class nathan.middleware.ServerCommunication
Create a new ServerCommunication instance.
ServerCommunicationHandler - Class in nathan.middleware
ServerCommunicationHandler is used to create a new thread to handle message from the client.
setAddress(String) - Method in interface nathan.middleware.Student
set the address for the student
setAddress(String) - Method in class nathan.middleware.StudentImpl
 
setAge(int) - Method in interface nathan.middleware.Student
set the age of the student
setAge(int) - Method in class nathan.middleware.StudentImpl
 
setArguments(Vector) - Method in class nathan.middleware.Message
Set the arguments to be passed to the remote method.
setCourseIGrade(char) - Method in interface nathan.middleware.Grade
Set the grade for course I.
setCourseIGrade(char) - Method in class nathan.middleware.GradeImpl
 
setCourseIIGrade(char) - Method in interface nathan.middleware.Grade
Set the grade for course II.
setCourseIIGrade(char) - Method in class nathan.middleware.GradeImpl
 
setCourseIIIGrade(char) - Method in interface nathan.middleware.Grade
Set the grade for course III.
setCourseIIIGrade(char) - Method in class nathan.middleware.GradeImpl
 
setFrontEnd(InetAddress, int) - Method in class nathan.middleware.RemoteObjectMapping
Sets the front end address
setFrontEndAddress(InetAddress) - Method in class nathan.middleware.RemoteObjectMapping
Sets the address of the Front end.
setFrontEndPort(int) - Method in class nathan.middleware.RemoteObjectMapping
Sets the port number for the front end.
setGrade() - Method in class nathan.middleware.Client
Sets the grade of a student on the server.
setGrade(Grade) - Method in interface nathan.middleware.Student
set the grades of the student
setGrade(Grade) - Method in class nathan.middleware.StudentImpl
set the grades of the student
setGrade(String, Grade) - Method in interface nathan.middleware.StudentList
setGrade set the grade for a student
setGrade(String, Grade) - Method in class nathan.middleware.StudentListImpl
setGrade set the grade for a student
setGrade(Message) - Method in class nathan.middleware.StudentListImplSkeleton
 
setGrade(String, Grade) - Method in class nathan.middleware.StudentListImplStub
 
setImplementationClass(String) - Method in class nathan.middleware.RemoteObjectReference
Set the implemetation class.
setMessageID(int) - Method in class nathan.middleware.Message
Sets the Message ID
setMessageType(int) - Method in class nathan.middleware.Message
Set the message type.
setMessageType(int) - Method in class nathan.middleware.RegistryMessage
Set the type of message.
setMethodName(String) - Method in class nathan.middleware.Message
Set the method name to be called remotely.
setName(String) - Method in interface nathan.middleware.Student
set the name of the student
setName(String) - Method in class nathan.middleware.StudentImpl
 
setObjectName(String) - Method in class nathan.middleware.RegistryMessage
Set the name of the object to bind.
setObjectToBind(Object) - Method in class nathan.middleware.RegistryMessage
Set the object to bind to the registry.
setPortToBind(int) - Method in class nathan.middleware.RegistryMessage
Set the port number to bind.
setProgram(String) - Method in interface nathan.middleware.Student
set the program of the student
setProgram(String) - Method in class nathan.middleware.StudentImpl
 
setRegistryInfo(String, int) - Method in class nathan.middleware.FrontEnd
Set the information about the registry that the replication manager will use.
setRemoteObjectReference(RemoteObjectReference) - Method in class nathan.middleware.Message
Set the RemoteObjectReference.
setReplicated(boolean) - Method in class nathan.middleware.RemoteObjectMapping
Sets if repilication is used.
setReplicatedObject(Vector<Student>) - Method in interface nathan.middleware.StudentList
Set the student list
setReplicatedObject(Vector<Student>) - Method in class nathan.middleware.StudentListImpl
 
setReplicatedObject(Message) - Method in class nathan.middleware.StudentListImplSkeleton
 
setReplicatedObject(Vector) - Method in class nathan.middleware.StudentListImplStub
 
setReplicatedObjects(Vector<RemoteObjectReference>) - Method in class nathan.middleware.RemoteObjectMapping
Set the replicated objects.
setStudentNumber(String) - Method in interface nathan.middleware.Student
set the student number for the student
setStudentNumber(String) - Method in class nathan.middleware.StudentImpl
 
size() - Method in class nathan.middleware.RemoteObjectMapping
Returns the number of replicated objects managed by the frontend.
start() - Method in class nathan.middleware.FrontEndHandler
Starts a new thread of execution.
StubSkeletonGenerator - Class in nathan.middleware
The program then generates a stub and a skeleton for the middleware system.

To run the application: SubSkeletonGenerator [Class Name] [Interface Name]

Class name is the name of the class to generate the stubs and skeletons for.
Interface name is the name of the Interface that the stub will implement.

A sample of how run the StubSkeletonGenerator is:

java nathan/middleware/StubSkeletonGenerator nathan.middleware.StudentListImpl nathan.middleware.StudentList
Student - Interface in nathan.middleware
Interface for a student.
StudentFactory - Class in nathan.middleware
StudentFactory is used to create a new student by reading in the users input from the terminal then set all of the attributes for the student.
StudentImpl - Class in nathan.middleware
The implementation class for Student Interface.
StudentImpl() - Constructor for class nathan.middleware.StudentImpl
Creates a new intance of StudentImpl
StudentImpl(String, String, int, String, String) - Constructor for class nathan.middleware.StudentImpl
Creates a new instance of StudentImpl
StudentList - Interface in nathan.middleware
Student List Interface
StudentListImpl - Class in nathan.middleware
The implementation class for the StudentList.
StudentListImpl() - Constructor for class nathan.middleware.StudentListImpl
Creates a new instance of StudentListImpl
StudentListImplFactory() - Method in class nathan.middleware.StudentListImplStub
 
StudentListImplSkeleton - Class in nathan.middleware
 
StudentListImplSkeleton(RemoteObjectReference, Object) - Constructor for class nathan.middleware.StudentListImplSkeleton
 
StudentListImplStub - Class in nathan.middleware
 
StudentListImplStub(RemoteObjectReference) - Constructor for class nathan.middleware.StudentListImplStub
 

A B C D E F G H I L M N O P R S T