|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.threerings.nexus.distrib.NexusObject
public abstract class NexusObject
The basis for all distributed information sharing in Nexus.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.threerings.nexus.io.Streamable |
---|
Streamable.Input, Streamable.Output |
Field Summary | |
---|---|
react.Signal<Throwable> |
onLost
A signal that is emitted if the subscription to this object is lost due to the object being destroyed or due to the connection to the server that hosts this object being lost. |
Constructor Summary | |
---|---|
NexusObject()
|
Method Summary | |
---|---|
Address<?> |
getAddress()
Returns the address of this object. |
int |
getId()
Returns this object's Nexus id. |
NexusObject[] |
getObjects()
Returns the objects contained within this response object. |
void |
readContents(Streamable.Input in)
Reads the contents of this object from the supplied input. |
void |
writeContents(Streamable.Output out)
Writes the contents of this object to the supplied output. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final react.Signal<Throwable> onLost
Constructor Detail |
---|
public NexusObject()
Method Detail |
---|
public int getId()
public Address<?> getAddress()
public void readContents(Streamable.Input in)
public void writeContents(Streamable.Output out)
public NexusObject[] getObjects()
NexusService.ObjectResponse
getObjects
in interface NexusService.ObjectResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |