An "unlisted proxy" connector acts as a proxy for another connector. We act exactly like the underlying connector, except that we suppress the connector from automatic exit lists. This can be used for cases where an otherwise normal connector is needed but the connector is not to appear in automatic exit lists (such as the status line).

The most common situation where this kind of connector is useful is where multiple directions in a given room all go to the same destination. In these cases, it's often desirable for some of the directions to be unlisted alternatives. The asExit() macro can be used for convenience to set up these direction synonyms.

class UnlistedProxyConnector :   object

Superclass Tree   (in declaration order)


Subclass Tree  


Global Objects  


Summary of Properties  

isConnectorListed  primaryConn 

Summary of Methods  

construct  dobjFor(TravelVia)  ofKind  propNotDefined 



we're not listed

Our underlying connector. Start out with a default TadsObject rather than nil in case anyone wants to call a property or test inheritance before we're finished with our constructor - this will produce reasonable default behavior without having to test for nil everywhere.


construct (pri)travel.t[1689]

no description available

map any TravelVia action to our underlying connector

ofKind (cls)travel.t[1721]
As a proxy, we don't want to disguise the fact that we're a proxy, if someone specifically asks, so admist to being of our own true kind; but we also act mostly like our underlying connector, so if someone wants to know if we're one of those, say yes to that as well. So, return true if the inherited version returns true, and also return true if our primary connector would return true.

propNotDefined (prop, [args])travel.t[1711]
redirect everything we don't handle to the underlying connector

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3