Receptacles - II
definition produces:
- Cookie connect_mult(in Multiplier connection)
- Multiplier disconnect_mult(in Cookie ck)
- multConnection get_connections_mult()
multConnection denotes a sequence of object reference and Cookie pair.
Cookie object represents the identifier for the connected object and is used for disconnection when the 1:N receptacle is in use.
Component’s base interface also defines a generic Receptacle interface which supports the same operations without the specific names or interface types.