What is a word for an object that connects with something? Connector is used to describe a specific part in electronics but I need a word describing that the abstract object connects with something. This is an object in programming that allows the programmer to connect to a local proxy relay. I would like to call it a relay-connector but am unsure if it is correct to use connector in this context.
"Interface" is appropriate here; it can mean both the contract that an object exposes to other objects (e.g., "All of the program's interfaces are documented in the software development kit") and a particular use or instantiation of that contract (e.g., "Because the security credentials had expired, the visualization software could not obtain an interface to the sensors").
Phil has a great answer with "interface" and that is the one you should probably use, but I'll give you another one: a common paradigm in OOP is that of "slots and signals", where objects declare slots that other objects can send signals to. This is useful for adding generic message-passing, often through inheritance.