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 |
|---|---|
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.
|
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 © 2006-2012 The Red5 Project