A {@code ServiceMessage} is a message sent by {@code ClusterManager} to {@code GridNode}s registered with it, using the {@code ServiceTopic}. Service messages may be sent to notify various types of information to the {@code GridNode}, specified by {@link ServiceMessageType}.
The main categories of ServiceMessages as of current implementation is
- Job Messages (Start, End, Cancel)
- Cluster Messages (Shutdown of {@code ClusterManager})
This class implements {@link Externalizable} interface, instead of {@link Serializable}to improve performance in communications, by reducing the data transfer amount and serialization time [Grosso, W. 2001. "Java RMI", Section 10.7.1].
@author Yohan Liyanage
@version 1.0