Package org.scictrl.csshell
Class Status
java.lang.Object
org.scictrl.csshell.Status
Connection Status descriptor.
- Author:
- igor@scictrl.com
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static final Status
fromStates
(Status.State... states) fromStates.int
getCode()
Getter for the fieldcode
.boolean
isSet
(Status.State state) isSet.set
(Status.State state) set.toString()
unset
(Status.State state) unset.
-
Field Details
-
INITIAL
ConstantINITIAL
-
-
Method Details
-
fromStates
fromStates.
- Parameters:
states
- aStatus.State
object- Returns:
- a
Status
object
-
getCode
public int getCode()Getter for the field
code
.- Returns:
- a int
-
set
set.
- Parameters:
state
- aStatus.State
object- Returns:
- a
Status
object
-
unset
unset.
- Parameters:
state
- aStatus.State
object- Returns:
- a
Status
object
-
toString
-
isSet
isSet.
- Parameters:
state
- aStatus.State
object- Returns:
- a boolean
-
equals
-