Package org.igniterealtime.jbosh
Class AttrInactivity
java.lang.Object
org.igniterealtime.jbosh.AbstractAttr<Integer>
org.igniterealtime.jbosh.AbstractIntegerAttr
org.igniterealtime.jbosh.AttrInactivity
- All Implemented Interfaces:
Comparable
Data type representing the value of the
inactivity
attribute of the
bosh
element.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static AttrInactivity
createFromString
(String str) Creates a new attribute instance from the provided String.Methods inherited from class org.igniterealtime.jbosh.AbstractIntegerAttr
checkMinValue, intValue
-
Constructor Details
-
AttrInactivity
Creates a new attribute object.- Parameters:
val
- attribute value- Throws:
BOSHException
- on parse or validation failure
-
-
Method Details
-
createFromString
Creates a new attribute instance from the provided String.- Parameters:
str
- string representation of the attribute- Returns:
- instance of the attribute for the specified string, or
null
if input string isnull
- Throws:
BOSHException
- on parse or validation failure
-