dat_cr_reject(3DAT) Direct Access Transport Library Functions dat_cr_reject(3DAT)NAME
dat_cr_reject - reject a Connection Request from the Active remote side requesting Endpoint
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include <dat/udat.h>
DAT_RETURN
dat_cr_reject (
IN DAT_CR_HANDLE cr_handle
)
PARAMETERS
cr_handle Handle to an instance of a Connection Request that the Consumer is rejecting.
DESCRIPTION
The dat_cr_reject() function rejects a Connection Request from the Active remote side requesting Endpoint. If the Provider passed a local
Endpoint into a Consumer for the Public Service Point-created Connection Request, that Endpoint reverts to Provider Control. The behavior
of an operation on that Endpoint is undefined. The local Endpoint that the Consumer provided for Reserved Service Point reverts to Consumer
control, and the Consumer is free to use in any way it wants.
The operation is synchronous. This operation also destroys the Connection Request instance. Use of the handle of the destroyed Connection
Request in any consequent operation fails.
RETURN VALUES
DAT_SUCCESS The operation was successful.
DAT_INVALID_HANDLE The cr_handle parameter is invalid.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: uDAPL, 1.1, 1.2 |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO libdat(3LIB), attributes(5)SunOS 5.11 16 Jul 2004 dat_cr_reject(3DAT)
Check Out this Related Man Page
dat_cr_handoff(3DAT) Direct Access Transport Library Functions dat_cr_handoff(3DAT)NAME
dat_cr_handoff - hand off the Connection Request to another Service Point
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include <dat/udat.h>
DAT_RETURN
dat_cr_handoff (
IN DAT_CR_HANDLE cr_handle,
IN DAT_CONN_QUAL handoff
)
PARAMETERS
cr_handle Handle to an instance of a Connection Request that the Consumer is handing off.
handoff Indicator of another Connection Qualifier on the same IA to which this Connection Request should be handed off.
DESCRIPTION
The dat_cr_handoff() function hands off the Connection Request to another Service Point specified by the Connection Qualifier handoff.
The operation is synchronous. This operation also destroys the Connection Request instance. Use of the handle of the destroyed Connection
Request in any consequent operation fails.
RETURN VALUES
DAT_SUCCESS The operation was successful.
DAT_INVALID_HANDLE The cr_handle parameter is invalid.
DAT_INVALID_PARAMETER The handoff parameter is invalid.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: uDAPL, 1.1, 1.2 |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO libdat(3LIB), attributes(5)SunOS 5.11 16 Jul 2004 dat_cr_handoff(3DAT)
Hi all,
I have an Producer/Consumer program in C(using shared memory and semaphores).It is working fine with sleep calls after every read/write operation.Each one is a independent program.Now if i remove the sleep calls in consumer,it goes on waiting in the loop till the producer puts some valid... (3 Replies)
We have a log file, the format is similar to this:
08/04/2011 05:03:08 Connection Success
08/04/2011 05:13:18 Connection Success
08/04/2011 05:23:28 Connection Fail
08/04/2011 05:33:38 Connection Success
08/04/2011 06:14:18 Connection Success
08/04/2011 06:24:28 Connection Fail
08/04/2011... (6 Replies)
Hi
In the below query userreg.status returns a value of 1 (Active) or -1 (Non Active). Ideally, I would like to replace this automatically on the export so instead of getting 1 or -1 I get Active / Non Active.
Any help, as usual, would be greatly apprecited. (1 Reply)