| Modifier and Type | Field and Description |
|---|---|
protected AtomicInteger |
refId
References id
|
protected ConcurrentMap<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 ConcurrentMap<Integer,Object> refMap
protected AtomicInteger refId
protected int storeReference(Object obj)
obj - Object to storeprotected void storeReference(int refId,
Object newRef)
refId - reference idnewRef - replacement objectpublic void clearReferences()
protected Object getReference(int id)
id - Object reference idCopyright © 2005–2016 Red5. All rights reserved.