edu.rit.pj.cluster
Class Message
- java.lang.Object
-
- edu.rit.pj.cluster.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.ExternalizableClass 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 intFILE_READ_DATAThe message tag for a message containing data read from a file.static intFILE_WRITE_DATAThe message tag for a message containing data to write to a file.static intFROM_JOB_BACKENDThe message tag for a message from a job backend process.static intFROM_JOB_FRONTENDThe message tag for a message from a job frontend process.static intFROM_JOB_LAUNCHERThe message tag for a message from a job launcher process.static intFROM_JOB_SCHEDULERThe 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 intgetTag()Get the message tag to use when sending this message.
-
-
-
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
-
-
DMelt 3.0 © DataMelt by jWork.ORG