Documentation of 'edu.rit.pj.cluster.Message' Java class
Message
edu.rit.pj.cluster

Class Message

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable
    Direct Known Subclasses:
    JobBackendMessage, JobFrontendMessage, JobSchedulerMessage


    public abstract class Message
    extends java.lang.Object
    implements java.io.Externalizable
    Class Message is the abstract base class for a message sent to a process in the PJ cluster middleware.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int FILE_READ_DATA
      The message tag for a message containing data read from a file.
      static int FILE_WRITE_DATA
      The message tag for a message containing data to write to a file.
      static int FROM_JOB_BACKEND
      The message tag for a message from a job backend process.
      static int FROM_JOB_FRONTEND
      The message tag for a message from a job frontend process.
      static int FROM_JOB_LAUNCHER
      The message tag for a message from a job launcher process.
      static int FROM_JOB_SCHEDULER
      The message tag for a message from a job scheduler process.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Message()
      Construct a new message.
      Message(int theTag)
      Construct a new message with the given message tag.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getTag()
      Get the message tag to use when sending this message.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.io.Externalizable

        readExternal, writeExternal
    • Field Detail

      • FROM_JOB_BACKEND

        public static final int FROM_JOB_BACKEND
        The message tag for a message from a job backend process.
        See Also:
        Constant Field Values
      • FROM_JOB_FRONTEND

        public static final int FROM_JOB_FRONTEND
        The message tag for a message from a job frontend process.
        See Also:
        Constant Field Values
      • FROM_JOB_LAUNCHER

        public static final int FROM_JOB_LAUNCHER
        The message tag for a message from a job launcher process.
        See Also:
        Constant Field Values
      • FROM_JOB_SCHEDULER

        public static final int FROM_JOB_SCHEDULER
        The message tag for a message from a job scheduler process.
        See Also:
        Constant Field Values
      • FILE_WRITE_DATA

        public static final int FILE_WRITE_DATA
        The message tag for a message containing data to write to a file.
        See Also:
        Constant Field Values
      • FILE_READ_DATA

        public static final int FILE_READ_DATA
        The message tag for a message containing data read from a file.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Message

        public Message()
        Construct a new message.
      • Message

        public Message(int theTag)
        Construct a new message with the given message tag.
        Parameters:
        theTag - Message tag to use when sending this message.
    • Method Detail

      • getTag

        public int getTag()
        Get the message tag to use when sending this message.
        Returns:
        Message tag.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.