|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.vub.at.objects.natives.NATNil
edu.vub.at.objects.natives.NATByCopy
edu.vub.at.actors.net.OBJNetwork
This class represents the singleton network object which provides methods to interface with AT/2's distribution layer.
| Field Summary | |
static OBJNetwork |
_INSTANCE_
The singleton instance of the network object |
| Constructor Summary | |
private |
OBJNetwork()
Constructor made private for singleton design pattern |
| Method Summary | |
ATNil |
base_offline()
def offline() { make the interpreter go offline; return nil } Invoking this method causes remote references to become disconnected. |
ATNil |
base_online()
def online() { make the interpreter go online; return nil } After invoking this method, publications and subscriptions can interact with those of remote VMs. |
NATText |
meta_print()
Prints out the object in a human-readable way. |
ATObject |
meta_resolve()
After deserialization, ensure that the network object remains unique. |
| Methods inherited from class edu.vub.at.objects.natives.NATByCopy |
meta_pass |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final OBJNetwork _INSTANCE_
| Constructor Detail |
private OBJNetwork()
| Method Detail |
public ATNil base_online()
public ATNil base_offline()
public ATObject meta_resolve()
throws InterpreterException
meta_resolve in interface ATObjectmeta_resolve in class NATByCopyInterpreterException
public NATText meta_print()
throws InterpreterException
ATObject
meta_print in interface ATObjectmeta_print in class NATNilInterpreterException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||