Next: Parameters
Up: addConnection
Previous: Use
Contents
Fabio Mascarenhas de Queiroz 2005-01-07
Description
This method connects two LuaCOM objects, setting the server as an event sink for the client, that is, the client will call methods of the server to notify events (following the COM model). This will only work if the client supports connection points of the server's type. If the method succeeds, it returns the cookie that identifies the connection; otherwise, it throws an error.
Fabio Mascarenhas de Queiroz 2005-01-07