|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.delta.Delta
com.threerings.delta.ReflectiveDelta
com.threerings.tudey.dobj.ActorDelta
public final class ActorDelta
Extends ReflectiveDelta to include the id of the affected actor. Declared final for
streaming efficiency.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Constructor Summary | |
|---|---|
ActorDelta()
No-arg constructor for deserialization. |
|
ActorDelta(Actor original,
Actor revised)
Creates a new actor delta. |
|
| Method Summary | |
|---|---|
int |
getId()
Returns the id of the affected actor. |
Delta |
merge(Delta other)
Merges this delta with another. |
void |
readObject(com.threerings.io.ObjectInputStream in)
Custom read method. |
void |
writeObject(com.threerings.io.ObjectOutputStream out)
Custom write method. |
| Methods inherited from class com.threerings.delta.ReflectiveDelta |
|---|
apply, isEmpty, toString |
| Methods inherited from class com.threerings.delta.Delta |
|---|
checkDeltable, createDelta |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ActorDelta(Actor original,
Actor revised)
public ActorDelta()
| Method Detail |
|---|
public int getId()
public Delta merge(Delta other)
Delta
merge in class ReflectiveDelta
public void writeObject(com.threerings.io.ObjectOutputStream out)
throws IOException
ReflectiveDelta
writeObject in class ReflectiveDeltaIOException
public void readObject(com.threerings.io.ObjectInputStream in)
throws IOException,
ClassNotFoundException
ReflectiveDelta
readObject in class ReflectiveDeltaIOException
ClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||