Package org.red5.server.so
Class SharedObjectEvent
java.lang.Object
org.red5.server.so.SharedObjectEvent
- All Implemented Interfaces:
Externalizable,Serializable,Comparable<SharedObjectEvent>,ISharedObjectEvent
public class SharedObjectEvent
extends Object
implements ISharedObjectEvent, Externalizable, Comparable<SharedObjectEvent>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.red5.server.so.ISharedObjectEvent
ISharedObjectEvent.Type -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SharedObjectEvent
public SharedObjectEvent()
-
-
Method Details
-
getTimestamp
public long getTimestamp() -
getKey
Returns the key of the event. Depending on the type this contains:- the attribute name to set for SET_ATTRIBUTE
- the attribute name to delete for DELETE_ATTRIBUTE
- the handler name to call for SEND_MESSAGE
- Specified by:
getKeyin interfaceISharedObjectEvent- Returns:
- the key of the event
-
getType
Returns the type of the event.- Specified by:
getTypein interfaceISharedObjectEvent- Returns:
- the type of the event
-
getValue
Returns the value of the event. Depending on the type this contains:- the attribute value to set for SET_ATTRIBUTE
- a list of parameters to pass to the handler for SEND_MESSAGE
- Specified by:
getValuein interfaceISharedObjectEvent- Returns:
- the value of the event
-
hashCode
public int hashCode() -
equals
-
toString
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-