[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

_asyncmsg_connection_attr

Defines the connection attributes used to receive an asynchronous message

Synopsis:

struct _asyncmsg_connection_attr {
    int (*call_back)
    (int err, 
    void* buff, 
    unsigned handle);
    size_t buffer_size;
    unsigned max_num_buffer;
    unsigned trigger_num_msg;
    struct itimertrigger_timer;
};

Description:

The _asyncmsg_connection_attr structure describes connection attributes for use with asynchronous messaging.

The _asyncmsg_connection_attr structure includes these members:

*call_back
Callback function for notification.
err
The error status of the package.
buff
A pointer to the package buffer.
handle
A handle associated with the callback function.
buffer_size
The message buffer size.
max_num_buffer
The maximum number of buffers allowed for this connection.
trigger_num_msg
Uses the number of the pending message as triggering criteria.
trigger_timer
Uses the time passed since the last kernel call as triggering criteria.

Classification:

QNX Neutrino

See also:

asyncmsg_connect_attach(), asyncmsg_connect_attr()

Asynchronous Messaging Technote


[Previous] [Contents] [Index] [Next]