8.6 Unsubscribing from Events
The tpunsubscribe(3c)
function enables an Oracle Tuxedo system ATMI client or server to unsubscribe from an event.
Use the following signature to call the
tpunsubscribe()
function:
int
tpunsubscribe (long subscription, long flags)
The following table describes the arguments to the
tpunsubscribe()
function.
Table 8-6 tpunsubscribe( ) Function Arguments
Argument | Description |
---|---|
subscription
|
Subscription handle returned by a call to tpsubscribe() .
|
flags
|
Flag options. For more information on available flag options, refer to tpunsubscribe(3c) in the Oracle Tuxedo ATMI C Function Reference.
|
Parent topic: Writing Event-based Clients and Servers