tom | 1d416c5 | 2014-09-29 20:55:24 -0700 | [diff] [blame] | 1 | package org.onlab.onos.store.cluster.messaging; |
2 | |||||
3 | /** | ||||
4 | * Representation of a message subject. | ||||
5 | */ | ||||
6 | public enum MessageSubject { | ||||
7 | |||||
8 | /** Represents a first greeting message. */ | ||||
9 | HELLO, | ||||
10 | |||||
tom | d33e640 | 2014-09-30 03:14:43 -0700 | [diff] [blame^] | 11 | /** Signifies node's intent to leave the cluster. */ |
12 | GOODBYE, | ||||
13 | |||||
tom | 1d416c5 | 2014-09-29 20:55:24 -0700 | [diff] [blame] | 14 | /** Signifies a heart-beat message. */ |
15 | ECHO | ||||
16 | |||||
17 | } |