|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.io.object.BaseInput
public class BaseInput
BaseInput represents a way to map input to a HashMap. This class is meant to be extended.
| Field Summary | |
|---|---|
protected int |
refId
References id |
protected Map<Integer,Object> |
refMap
References map |
| Constructor Summary | |
|---|---|
BaseInput()
|
|
| Method Summary | |
|---|---|
void |
clearReferences()
Clears the map |
protected Object |
getReference(int id)
Returns the object with the parameters id |
protected void |
storeReference(int refId,
Object newRef)
Replace a referenced object with another one. |
protected int |
storeReference(Object obj)
Store an object into a map |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<Integer,Object> refMap
protected int refId
| Constructor Detail |
|---|
public BaseInput()
| Method Detail |
|---|
protected int storeReference(Object obj)
obj - Object to store
protected void storeReference(int refId,
Object newRef)
refId - newRef - public void clearReferences()
protected Object getReference(int id)
id - Object reference id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||