Modifier and Type | Field and Description |
---|---|
protected int |
refId
References id
|
protected Map<Integer,Object> |
refMap
References map
|
Constructor and Description |
---|
BaseInput() |
Modifier and Type | Method and Description |
---|---|
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
|
protected int storeReference(Object obj)
obj
- Object to storeprotected void storeReference(int refId, Object newRef)
refId
- newRef
- public void clearReferences()
protected Object getReference(int id)
id
- Object reference idCopyright © 2006-2012 The Red5 Project