IMessenger Methods |
Name | Description | |
---|---|---|
![]() | DeregisterTMessage(Object) | Deregisters a message recipient for a given type of messages. Other message types will still be transmitted to the recipient (if it
registered for them previously). |
![]() | DeregisterTMessage(Object, ActionTMessage) | Deregisters a message recipient for a given type of messages, for a given action. Other message types will still be transmitted to
the recipient (if it registered for them previously). |
![]() | DeregisterTMessage(Object, ActionTMessage, Object) | Deregisters a message recipient for a given type of messages, for a given action and a given token. Other message types will still
be transmitted to the recipient (if it registered for them previously). Other actions that have been registered for the message type
TMessage, for the given recipient and other tokens (if available) will also remain available. |
![]() | RegisterTMessage(Object, ActionTMessage) | Registers a recipient for a type of TMessage. The action parameter will be executed when a corresponding
message is sent.
Registering a recipient does not create a hard reference to it, so if this recipient is deleted, no memory leak is caused. |
![]() | RegisterTMessage(Object, ActionTMessage, Boolean) | Registers a recipient for a type of TMessage. The action parameter will be executed when a corresponding
message is sent.
Registering a recipient does not create a hard reference to it, so if this recipient is deleted, no memory leak is caused. |
![]() | RegisterTMessage(Object, ActionTMessage, Boolean, Object) | Registers a recipient for a type of TMessage. The action parameter will be executed when a corresponding
message is sent.
Registering a recipient does not create a hard reference to it, so if this recipient is deleted, no memory leak is caused. |
![]() | SendTMessage(TMessage) | Sends a message to registered recipients. The message will reach only recipients that registered for this message type using one of
the Register methods. |
![]() | SendTMessage(TMessage, Object) | Sends a message to registered recipients. The message will reach only recipients that registered for this message type using one of
the Register methods. |