public synchronized static void send(String processName, Message message,
boolean isFirst)
{
// 1. Select process from registered process list
BaseProcess process = getRegisteredProcess(processName);
if (process == null)
{
System.out.println("Message sent to an unregistered Process: "
+ processName);
} else
{
// 2. Put message in process's messageQueue
process.putMessage(message);
if (isFirst)
{
// 3. Put this Process in Scheduler's processQueue
RequestScheduler.setProcess(process);
} else