Package org.red5.server.api
Interface ICastingAttributeStore
- All Superinterfaces:
AttributeStoreMXBean
,IAttributeStore
- All Known Subinterfaces:
IConnection
,IRemotingConnection
,IServiceCapableConnection
,IStreamCapableConnection
- All Known Implementing Classes:
AttributeStore
,BaseConnection
,Client
,PersistableAttributeStore
,RTMPConnection
,RTMPMinaConnection
Attribute storage with automatic object casting support.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
-
Method Summary
Modifier and TypeMethodDescriptiongetBoolAttribute
(String name) Get Boolean attribute by namegetByteAttribute
(String name) Get Byte attribute by namegetDoubleAttribute
(String name) Get Double attribute by namegetIntAttribute
(String name) Get Integer attribute by nameList<?>
getListAttribute
(String name) Get List attribute by namegetLongAttribute
(String name) Get boolean attribute by nameMap<?,
?> getMapAttribute
(String name) Get Long attribute by nameSet<?>
getSetAttribute
(String name) Get Set attribute by namegetShortAttribute
(String name) Get Short attribute by namegetStringAttribute
(String name) Get String attribute by nameMethods inherited from interface org.red5.server.api.IAttributeStore
getAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributes, size
-
Method Details
-
getBoolAttribute
Get Boolean attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getByteAttribute
Get Byte attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getDoubleAttribute
Get Double attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getIntAttribute
Get Integer attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getListAttribute
Get List attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getLongAttribute
Get boolean attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getMapAttribute
Get Long attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getSetAttribute
Get Set attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getShortAttribute
Get Short attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-
getStringAttribute
Get String attribute by name- Parameters:
name
- Attribute name- Returns:
- Attribute
-