Package com.isode.mhfcm
Class CircuitStatus
java.lang.Object
com.isode.mhfcm.CircuitStatus
Object used to represent circuit status.
- Since:
- 16.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDifferent types of CircuitStatus message. -
Method Summary
Modifier and TypeMethodDescriptionDetermine the status associated with this CircuitStatusstatic CircuitStatus.StatusDetermine the Status enum for a particular code stringDetermine the time of the last state change.toString()
-
Method Details
-
getStatus
Determine the status associated with this CircuitStatus- Returns:
- a type. Will never be null.
-
getTimeOfChange
Determine the time of the last state change. ForDATA_BEING_RECEIVED, this is the time of the start of transmission. For all other status values, this is the time of the end of transmission.- Returns:
- the time of the last state change
-
getStatus
Determine the Status enum for a particular code string- Parameters:
c- the code string (must not be null)- Returns:
- a Status enum corresponding to the specified code, or null if there is no matching Status
-
toString
-