public interface ISharedObjectListener
| Modifier and Type | Method and Description |
|---|---|
void |
onSharedObjectClear(ISharedObjectBase so)
Called when all attributes of a shared object are removed.
|
void |
onSharedObjectConnect(ISharedObjectBase so)
Called when a client connects to a shared object.
|
void |
onSharedObjectDelete(ISharedObjectBase so,
String key)
Called when an attribute is deleted from the shared object.
|
void |
onSharedObjectDisconnect(ISharedObjectBase so)
Called when a client disconnects from a shared object.
|
void |
onSharedObjectSend(ISharedObjectBase so,
String method,
List<?> params)
Called when a shared object method call is sent.
|
void |
onSharedObjectUpdate(ISharedObjectBase so,
IAttributeStore values)
Called when multiple attributes of a shared object are updated.
|
void |
onSharedObjectUpdate(ISharedObjectBase so,
Map<String,Object> values)
Called when multiple attributes of a shared object are updated.
|
void |
onSharedObjectUpdate(ISharedObjectBase so,
String key,
Object value)
Called when a shared object attribute is updated.
|
void onSharedObjectConnect(ISharedObjectBase so)
so - the shared objectvoid onSharedObjectDisconnect(ISharedObjectBase so)
so - the shared objectvoid onSharedObjectUpdate(ISharedObjectBase so, String key, Object value)
so - the shared objectkey - the name of the attributevalue - the value of the attributevoid onSharedObjectUpdate(ISharedObjectBase so, IAttributeStore values)
so - the shared objectvalues - the new attributes of the shared objectvoid onSharedObjectUpdate(ISharedObjectBase so, Map<String,Object> values)
so - the shared objectvalues - the new attributes of the shared objectvoid onSharedObjectDelete(ISharedObjectBase so, String key)
so - the shared objectkey - the name of the attribute to deletevoid onSharedObjectClear(ISharedObjectBase so)
so - the shared objectvoid onSharedObjectSend(ISharedObjectBase so, String method, List<?> params)
so - the shared objectmethod - the method name to callparams - the argumentsCopyright © 2005–2017 Red5. All rights reserved.