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 ISharedObjectEvent
public ISharedObjectEvent.Type getType()
getType
in interface ISharedObjectEvent
public Object getValue()
null
.getValue
in interface ISharedObjectEvent
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2006-2012 The Red5 Project