# Nexus reference

The Nexus class is pretty much opaque. It's created and managed entirely inside the App infrastructure from a Facet, and even the public API for importing a nexus doesn't deal with the Nexus object itself, but only with its name. The only public use of the Nexus object is for the introspection and entertainment value, to see what Trieads export and import what Nexuses: pretty much the only way to get a Nexus reference is by listing the exports or imports of a Triead.

The API of a Nexus is very limited:

    $nxname = $nx->getName();

Get the name of the nexus (the short name, inside the Triead).

    $tname = $nx->getTrieadName();

Get the name of the Triead that exported this nexus.

    $result = $nx->same($nx2);

Check whether two nexus references point to the same object.

    $result = $nx->isReverse();

Check whether the nexus is reverse.

    $limit = $nx->queueLimit();

Get the queue limit of the nexus.

Nexus