Package org.red5.io.object
Class BaseOutput
- java.lang.Object
-
- org.red5.io.object.BaseOutput
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseOutput()BaseOutput Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearReferences()Clears the mapprotected shortgetReferenceId(Object obj)Returns the reference id based on the parameter objprotected booleanhasReference(Object obj)Returns a boolean stating whether the map contains an object with that keyprotected voidstoreReference(Object obj)Store an object into a map
-
-
-
Method Detail
-
storeReference
protected void storeReference(Object obj)
Store an object into a map- Parameters:
obj- Object to store
-
hasReference
protected boolean hasReference(Object obj)
Returns a boolean stating whether the map contains an object with that key- Parameters:
obj- Object- Returns:
- boolean
trueif it does contain it,falseotherwise
-
clearReferences
public void clearReferences()
Clears the map
-
getReferenceId
protected short getReferenceId(Object obj)
Returns the reference id based on the parameter obj- Parameters:
obj- Object- Returns:
- short Reference id
-
-