globus_gass_transfer_request_proto_s(3) [debian man page]
globus_gass_transfer_request_proto_s(3) globus gass transfer globus_gass_transfer_request_proto_s(3)NAME
globus_gass_transfer_request_proto_s -
SYNOPSIS
Data Fields
globus_gass_transfer_proto_send_t send_buffer
globus_gass_transfer_proto_receive_t recv_buffer
globus_gass_transfer_proto_func_t fail
globus_gass_transfer_proto_func_t deny
globus_gass_transfer_proto_func_t refer
globus_gass_transfer_proto_func_t authorize
globus_gass_transfer_proto_func_t destroy
Detailed Description
Protocol module request handling structure.
This structure is created by a GASS transfer protocol module to handle a particular request. It is created in response to a listener's
accept method or a protocol module's new_request method.
Memory management of this structure is the responsibility of the protocol module. The destroy method will be called when the GASS Transfer
library is finished dealing with it.
A protocol module may create a extension to this structure to contain protocol-specific information, as long as the first fields of the
structure match this type.
See also:
globus_gass_transfer_proto_request_ready()
Field Documentation
globus_gass_transfer_proto_send_t globus_gass_transfer_request_proto_s::send_buffer
Send bytes. See also:
globus_gass_transfer_proto_send_t
globus_gass_transfer_proto_receive_t globus_gass_transfer_request_proto_s::recv_buffer
Receive bytes. See also:
globus_gass_transfer_proto_recv_t
globus_gass_transfer_proto_func_t globus_gass_transfer_request_proto_s::fail
Fail a request. This function is called when the application calls globus_gass_transfer_fail() on a request.
globus_gass_transfer_proto_func_t globus_gass_transfer_request_proto_s::deny
Deny a request.
globus_gass_transfer_proto_func_t globus_gass_transfer_request_proto_s::refer
Refer a request.
globus_gass_transfer_proto_func_t globus_gass_transfer_request_proto_s::authorize
Authorize a request.
globus_gass_transfer_proto_func_t globus_gass_transfer_request_proto_s::destroy
Destroy a request.
Author
Generated automatically by Doxygen for globus gass transfer from the source code.
Version 7.2 Mon Apr 30 2012 globus_gass_transfer_request_proto_s(3)
Check Out this Related Man Page
Listener attributes(3) globus gass transfer Listener attributes(3)NAME
Listener attributes -
Functions
int globus_gass_transfer_listenerattr_init (globus_gass_transfer_listenerattr_t *attr, char *url_scheme)
Listener Backlog
int globus_gass_transfer_listenerattr_set_backlog (globus_gass_transfer_listenerattr_t *attr, int backlog)
int globus_gass_transfer_listenerattr_get_backlog (globus_gass_transfer_listenerattr_t *attr, int *backlog)
Listener Port
int globus_gass_transfer_listenerattr_set_port (globus_gass_transfer_listenerattr_t *attr, unsigned short port)
int globus_gass_transfer_listenerattr_get_port (globus_gass_transfer_listenerattr_t *attr, unsigned short *port)
Function Documentation
int globus_gass_transfer_listenerattr_init (globus_gass_transfer_listenerattr_t *attr, char *url_scheme)
Initialize a listener attribute. This function initializes the attr to contain a new protocol-specific listener attribute.
Parameters:
attr The attribute set to be initialized.
url_scheme The scheme which which the attribute will be used for.
Return values:
GLOBUS_SUCCESS The attribute was successfully initialized.
GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER Either attr or url_scheme was GLOBUS_NULL.
GLOBUS_GASS_TRANSFER_ERROR_NOT_IMPLEMENTED No protocol module currently registered with GASS Transfer Library handles URLs with the
specified url_scheme.
int globus_gass_transfer_listenerattr_set_backlog (globus_gass_transfer_listenerattr_t *attr, intbacklog)
Set/Get the backlog attribute for a GASS transfer attribute set. This attribute allows the user to control then number of pending
connections which may exist for this listener.
Parameters:
attr The attribute set to query or modify.
backlog The number of outstanding connections to allow.
Return values:
GLOBUS_SUCCESS The attribute was successfully updated.
GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL.
int globus_gass_transfer_listenerattr_set_port (globus_gass_transfer_listenerattr_t *attr, unsigned shortport)
Set/Get the port attribute for a GASS transfer attribute set. This attribute allows the user to set the port to be used by a GASS Transfer
listener.
Parameters:
attr The attribute set to query or modify.
port The TCP or UDP port number to use.
Return values:
GLOBUS_SUCCESS The attribute was successfully updated.
GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL.
int globus_gass_transfer_listenerattr_get_backlog (globus_gass_transfer_listenerattr_t *attr, int *backlog)
Set/Get the backlog attribute for a GASS transfer attribute set. This attribute allows the user to control then number of pending
connections which may exist for this listener.
Parameters:
attr The attribute set to query or modify.
backlog The number of outstanding connections to allow.
Return values:
GLOBUS_SUCCESS The attribute was successfully updated.
GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL.
int globus_gass_transfer_listenerattr_get_port (globus_gass_transfer_listenerattr_t *attr, unsigned short *port)
Set/Get the port attribute for a GASS transfer attribute set. This attribute allows the user to set the port to be used by a GASS Transfer
listener.
Parameters:
attr The attribute set to query or modify.
port The TCP or UDP port number to use.
Return values:
GLOBUS_SUCCESS The attribute was successfully updated.
GLOBUS_GASS_TRANSFER_ERROR_NULL_POINTER The attr was GLOBUS_NULL.
Author
Generated automatically by Doxygen for globus gass transfer from the source code.
Version 7.2 Mon Apr 30 2012 Listener attributes(3)