Zen API | Contents | Reference | Previous | Up | Next

zReceiver_SetReceiveHandler
zReceiver functions
C

    zStatus zReceiver_SetReceiveHandler(zReceiver receiver, zReceiverCallback onReceive, zHandle context);

Parameters

Parameters | Description
zReceiver receiver | zReceiver object.
zReceiverCallback onReceive | Callback function, or zNULL to de-register for callback notification.
zHandle context | User context handle supplied to the callback function.

Description

Registers or unregisters a callback function that is notified when zResult objects have been received.

Remarks

This function can only be called before a connection is established with zReceiver_Open.

File

zReceiver.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.
Contents | Reference