nathan.middleware
Class Dispatcher

java.lang.Object
  extended by nathan.middleware.Dispatcher

public class Dispatcher
extends java.lang.Object

Dispatcher is used call call the correct method on the skeleton of the remote object. By using reflection the correct method is located on the skeleton object.

Author:
Nathan Balon
Advance Operating Systems CIS 578
University of Michigan Dearborn
Remote Method Invocation Middleware Project

Constructor Summary
Dispatcher()
           
 
Method Summary
 Message dispatchMessage(Message message)
          dispatch the message calls the correct method of the skeleton class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dispatcher

public Dispatcher()
Method Detail

dispatchMessage

public Message dispatchMessage(Message message)
dispatch the message calls the correct method of the skeleton class.

Parameters:
message - The message to be passed to the skeleton.
Returns:
Message The message returned from the skeleton.