Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Attributes and Cntls
[Globus XIO ORDERING Driver]

Enumerations

Functions


Detailed Description

Ordering driver specific attrs and cntls.

See also:
globus_xio_attr_cntl() , globus_xio_handle_cntl()

Enumeration Type Documentation

enum globus_xio_ordering_cmd_t
 

ORDERING driver specific cntls.

Enumeration values:
GLOBUS_XIO_ORDERING_SET_OFFSET  See usage for: globus_xio_handle_cntl.
GLOBUS_XIO_ORDERING_SET_MAX_READ_COUNT  See usage for: globus_xio_attr_cntl.
GLOBUS_XIO_ORDERING_GET_MAX_READ_COUNT  See usage for: globus_xio_attr_cntl.
GLOBUS_XIO_ORDERING_SET_BUFFERING  See usage for: globus_xio_attr_cntl.
GLOBUS_XIO_ORDERING_GET_BUFFERING  See usage for: globus_xio_attr_cntl.
GLOBUS_XIO_ORDERING_SET_BUF_SIZE  See usage for: globus_xio_attr_cntl.
GLOBUS_XIO_ORDERING_GET_BUF_SIZE  See usage for: globus_xio_attr_cntl.
GLOBUS_XIO_ORDERING_SET_MAX_BUF_COUNT  See usage for: globus_xio_attr_cntl.
GLOBUS_XIO_ORDERING_GET_MAX_BUF_COUNT  See usage for: globus_xio_attr_cntl.


Function Documentation

globus_result_t globus_xio_handle_cntl handle   ,
driver   ,
GLOBUS_XIO_ORDERING_SET_OFFSET   ,
globus_off_t    offset
 

Set offset for the next IO operation.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

This is not allowed when there is an outstanding IO operation. This operation clears all the buffered data.

Parameters:
offset  Specifies the offset to use in the next IO operation.

globus_result_t globus_xio_attr_cntl attr   ,
driver   ,
GLOBUS_XIO_ORDERING_SET_MAX_READ_COUNT   ,
int    max_read_count
 

Set the maximum number of reads that ordering driver can have outstanding on driver(s) below.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
max_read_count  Specifies the maximum number of parallel reads (default is 1).

globus_result_t globus_xio_attr_cntl attr   ,
driver   ,
GLOBUS_XIO_ORDERING_GET_MAX_READ_COUNT   ,
int *    max_read_count_out
 

Get the maximum number of parallel reads set on the attr.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
max_read_count_out  The maximum number of parallel reads allowed will be stored here.

globus_result_t globus_xio_attr_cntl attr   ,
driver   ,
GLOBUS_XIO_ORDERING_SET_BUFFERING   ,
globus_bool_t    buffering
 

This driver can be used in 2 modes; ordering (care about offsets of the data read - underlying transport driver may deliver data out of order - this driver will rearrange data based on the offset and deliver inorder to user) and buffering (do not care about offsets - just buffer the data read abd deliver it when requested).

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

This attribute control can be used to enable buffering.

Parameters:
buffering  GLOBUS_TRUE to enable buffering, GLOBUS_FALSE (default) to disable buffering.

globus_result_t globus_xio_attr_cntl attr   ,
driver   ,
GLOBUS_XIO_ORDERING_GET_BUFFERING   ,
globus_bool_t *    buffering_out
 

Get the buffering flag on the attr.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
buffering_out  Buffering flag will be stored in here.


about globus | globus toolkit | dev.globus

Comments? webmaster@globus.org