| 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 |
|---|---|
protected static boolean |
classAllowed(String className)
Checks the deserializer to see if a given class is blacklisted or not.
|
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 idprotected static boolean classAllowed(String className)
className - class name/packageCopyright © 2005–2017 Red5. All rights reserved.