Class MessageSubject
- java.lang.Object
-
- org.onosproject.store.cluster.messaging.MessageSubject
-
public final class MessageSubject extends java.lang.Object
Representation of a message subject. Cluster messages have associated subjects that dictate how they get handled on the receiving side.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageSubject()
MessageSubject(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
java.lang.String
value()
-
-
-
Method Detail
-
value
public java.lang.String value()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-