Inbox objects address inbox subscribers.
Programs can insert inbox objects into message fields.
This file defines inbox objects and calls to copy and destroy them.
- See also
- For more calls that use inbox objects, see sub.h and msg.h.
Copy an inbox object.
When a callback gets an inbox from a field of an inbound message, the message owns that inbox object. FTL implicitly destroys that embedded inbox object when the callback returns. Programs can use this call to copy the inbox object.
Similarly, when a program gets an inbox from a subscriber object, the subscriber owns that inbox. FTL implicitly destroys that embedded inbox object when the program closes the subscriber. Programs can use this call to copy the inbox object.
Programs must explicitly destroy copies (with tibInbox_Destroy).
- Parameters
-
e | The exception object captures information about failures. |
inbox | The call copies this source inbox. |
- Returns
- a copy of the source inbox
- See also
- tibMessage_GetInbox
-
tibMessage_GetInboxByRef
-
tibSubscriber_GetInbox