Grid Community Toolkit
6.2.1541705016
|
Protocol module descriptor structure. More...
#include <globus_gass_transfer_proto.h>
Protocol module descriptor structure.
globus_gass_transfer_proto_create_listener_t globus_gass_transfer_proto_descriptor_t::new_listener |
New listener.
The function pointed to by this pointer is used by GASS to create a new listener handle. The listener handle has been initialized with the parameters passed to one of the functions in the Client-Initiated Operations section of the GASS Transfer API.
The protocol module should begin processing this request by sending appropriate messages to the file server. Once the request is authorized, denied, or referred, the protocol module calls globus_gass_transfer_proto_request_ready(), globus_gass_transfer_proto_request_denied(), or globus_gass_transfer_proto_request_referred().
globus_gass_transfer_proto_new_attr_t globus_gass_transfer_proto_descriptor_t::new_listenerattr |
New listener attributes.
The function pointed to by this pointer is used by GASS to forward requests to create a listener attribute for this protocol's url_scheme to the protocol module. The function returns a listener attribute which inherits from one of the GASS Transfer request attributes.
globus_gass_transfer_proto_new_request_t globus_gass_transfer_proto_descriptor_t::new_request |
New request.
The function pointed to by this pointer is used by GASS to initiate a new file transfer request by a protocol module. The request handle has been initialized with the parameters passed to one of the functions in the Client-Initiated Operations section of the GASS Transfer API.
The protocol module should begin processing this request by sending appropriate messages to the file server. Once the request is authorized, denied, or referred, the protocol module calls globus_gass_transfer_proto_request_ready(), globus_gass_transfer_proto_request_denied(), or globus_gass_transfer_proto_request_referred().
globus_gass_transfer_proto_new_attr_t globus_gass_transfer_proto_descriptor_t::new_requestattr |
New request attributes.
The function pointed to by this pointer is used by GASS to forward requests to create a request attribute for this protocol's url_scheme to the protocol module. The function returns a request attribute which inherits from one of the GASS Transfer request attributes.
char* globus_gass_transfer_proto_descriptor_t::url_scheme |
URL Scheme.
The URL scheme which this protocol module supports. The scheme is the first part of a URL, which names the protocol which is used to access the resource named by the URL, for example "http" or "ftp".
The GASS Transfer library allows only one protocol module to be registered to handle a particular url_scheme. However, a protocol module may implement only the client or only the server part of the protocol. If a protocol has several variations with different scheme names (for example http and https), each scheme must be registered with GASS in order to be used.