public class SharedObjectEvent extends Object implements ISharedObjectEvent, Externalizable
ISharedObjectEvent.Type| Constructor and Description |
|---|
SharedObjectEvent() |
SharedObjectEvent(ISharedObjectEvent.Type type,
String key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getKey()
Returns the key of the event.
|
ISharedObjectEvent.Type |
getType()
Returns the type of the event.
|
Object |
getValue()
Returns the value of the event.
|
int |
hashCode() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public SharedObjectEvent()
public SharedObjectEvent(ISharedObjectEvent.Type type, String key, Object value)
type - typekey - keyvalue - valuepublic String getKey()
null.
getKey in interface ISharedObjectEventpublic ISharedObjectEvent.Type getType()
getType in interface ISharedObjectEventpublic Object getValue()
null.
getValue in interface ISharedObjectEventpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2005–2017 Red5. All rights reserved.