#include <glite/data/transfer/c/transfer-simple.h>
Go to the source code of this file.
Defines | |
#define | DEPRECATED |
Copyright (c) Members of the EGEE Collaboration. | |
#define | GLITE_CHANNEL_SD_TYPE "org.glite.ChannelManagement" |
#define | GLITE_CHANNEL_SD_ENV "GLITE_SD_CHANNEL_TYPE" |
Enumerations | |
enum | transfer_log_level { TRANSFER_LOG_LEVEL_INVALID, TRANSFER_LOG_LEVEL_DEBUG, TRANSFER_LOG_LEVEL_INFO, TRANSFER_LOG_LEVEL_WARN, TRANSFER_LOG_LEVEL_ERROR } |
transfer_log_level More... | |
enum | srmcopy_direction { SRMCOPY_DIRECTION_INVALID, SRMCOPY_DIRECTION_PUSH, SRMCOPY_DIRECTION_PULL } |
srmcopy_direction More... | |
Functions | |
transfer_log_level | transfer_log_level_parse (const char *value) |
convert string -> transfer_log_level | |
const char * | transfer_log_level_str (transfer_log_level value) |
convert transfer_log_level -> string | |
srmcopy_direction | srmcopy_direction_parse (const char *value) |
convert string -> srmcopy_direction | |
const char * | srmcopy_direction_str (srmcopy_direction value) |
convert srmcopy_direction -> string | |
int | validate_size_string (const char *value) |
validate a string containing a size, e.g. | |
const char * | glite_channel_get_endpoint (glite_transfer_ctx *ctx) |
Get the current endpoint used by the transfer context. | |
glite_channel_state | glite_channel_state_parse (glite_transfer_ctx *ctx, const char *state) |
Converts the state-string to the proper ENUM value. | |
const char * | glite_channel_state_str (glite_channel_state state) |
Converts the transfer-state variable to a human readable string. | |
char * | glite_channel_getVersion (glite_transfer_ctx *ctx) |
Get the version of the remote endpoint. | |
char * | glite_channel_getSchemaVersion (glite_transfer_ctx *ctx) |
Get the schema version of the remote endpoint. | |
char * | glite_channel_getInterfaceVersion (glite_transfer_ctx *ctx) |
Get the interface version of the remote endpoint. | |
char * | glite_channel_getServiceMetadata (glite_transfer_ctx *ctx, const char *key) |
Get the service metadata for a given key. | |
int | glite_channel_add (glite_transfer_ctx *ctx, const glite_transfer_Channel *channel) |
Add a new transfer channel to the database. | |
int | glite_channel_drop (glite_transfer_ctx *ctx, const char *name) |
Drop a channel from the database. | |
glite_transfer_Channel * | glite_channel_getChannel (glite_transfer_ctx *ctx, const char *name) |
Get a channel object by its name. | |
glite_transfer_Channel2 * | glite_channel_getChannel2 (glite_transfer_ctx *ctx, const char *name) |
glite_transfer_Channel3 * | glite_channel_getChannel3 (glite_transfer_ctx *ctx, const char *name) |
char ** | glite_channel_listChannels (glite_transfer_ctx *ctx, int *resultCnt) |
List all channels in the database. | |
int | glite_channel_changeStateForHeldJob (glite_transfer_ctx *ctx, const char *jobId, glite_transfer_state state) |
Manual intervention command on channel. | |
int | glite_channel_changeStateForHeldJobsOnChannel (glite_transfer_ctx *ctx, const char *name, glite_transfer_state state) |
Manual intervention command on channel. | |
int | glite_channel_setBandwidth (glite_transfer_ctx *ctx, const char *name, int utilisation) |
Set the theoretical bandwidth of a channel. | |
int | glite_channel_setBandwidth2 (glite_transfer_ctx *ctx, const char *name, int utilisation, const char *message) |
int | glite_channel_setContact (glite_transfer_ctx *ctx, const char *name, const char *contact) |
Set the contact information of a channel which can be queried in case of a problem. | |
int | glite_channel_setContact2 (glite_transfer_ctx *ctx, const char *name, const char *contact, const char *message) |
int | glite_channel_setTCPBufferSize2 (glite_transfer_ctx *ctx, const char *name, const char *buffer_size, const char *message) |
Set the default TCP buffer size for a channel. | |
int | glite_channel_setNominalThroughput (glite_transfer_ctx *ctx, const char *name, int nominalThroughput) |
Set the maximal throughput value of a channel which should not be overrun. | |
int | glite_channel_setNominalThroughput2 (glite_transfer_ctx *ctx, const char *name, int nominalThroughput, const char *message) |
int | glite_channel_setTargetDirCheck (glite_transfer_ctx *ctx, const char *name, int target_dir_check, const char *message) |
Set the flag to check the target directory on put operation. | |
int | glite_channel_setUrlCopyFirstMarkTo (glite_transfer_ctx *ctx, const char *name, int url_copy_first_txmark_to, const char *message) |
Set the number of seconds to mark first operations for URL copy as starting ones. | |
int | glite_channel_setNumberOfFiles (glite_transfer_ctx *ctx, const char *name, int numberOfFiles) |
Set the maximal number of files that can be transfered simultanously on a channel. | |
int | glite_channel_setNumberOfFiles2 (glite_transfer_ctx *ctx, const char *name, int numberOfFiles, const char *message) |
int | glite_channel_setNumberOfStreams (glite_transfer_ctx *ctx, const char *name, int numberOfStreams) |
Set the maximal number of streams a file transfer can be split. | |
int | glite_channel_setNumberOfStreams2 (glite_transfer_ctx *ctx, const char *name, int numberOfStreams, const char *message) |
int | glite_channel_setState (glite_transfer_ctx *ctx, const char *name, glite_channel_state state) |
Set the state of a channel. | |
int | glite_channel_setState2 (glite_transfer_ctx *ctx, const char *name, glite_channel_state state, const char *message) |
int | glite_channel_setBlockSize (glite_transfer_ctx *ctx, const char *name, const char *value, const char *message) |
setBlockSize | |
int | glite_channel_setHttpTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setHttpTimeout | |
int | glite_channel_setTransferLogLevel (glite_transfer_ctx *ctx, const char *name, transfer_log_level value, const char *message) |
setTransferLogLevel | |
int | glite_channel_setPreparingFilesRatio (glite_transfer_ctx *ctx, const char *name, double value, const char *message) |
setPreparingFilesRatio | |
int | glite_channel_setUrlCopyPutTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setUrlCopyPutTimeout | |
int | glite_channel_setUrlCopyPutDoneTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setUrlCopyPutDoneTimeout | |
int | glite_channel_setUrlCopyGetTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setUrlCopyGetTimeout | |
int | glite_channel_setUrlCopyGetDoneTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setUrlCopyGetDoneTimeout | |
int | glite_channel_setUrlCopyTransferTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setUrlCopyTransferTimeout | |
int | glite_channel_setUrlCopyTransferMarkersTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setUrlCopyTransferMarkersTimeout | |
int | glite_channel_setUrlCopyNoProgressTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setUrlCopyNoProgressTimeout | |
int | glite_channel_setUrlCopyTransferTimeoutPerMB (glite_transfer_ctx *ctx, const char *name, double value, const char *message) |
setUrlCopyTransferTimeoutPerMB | |
int | glite_channel_setSrmCopyDirection (glite_transfer_ctx *ctx, const char *name, srmcopy_direction value, const char *message) |
setSrmCopyDirection | |
int | glite_channel_setSrmCopyTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setSrmCopyTimeout | |
int | glite_channel_setSrmCopyRefreshTimeout (glite_transfer_ctx *ctx, const char *name, int value, const char *message) |
setSrmCopyRefreshTimeout | |
int | glite_channel_addManager (glite_transfer_ctx *ctx, const char *name, const char *principal) |
Add a manager to the channel. | |
int | glite_channel_removeManager (glite_transfer_ctx *ctx, const char *name, const char *principal) |
Remove a manager from the channel. | |
char ** | glite_channel_listManagers (glite_transfer_ctx *ctx, const char *name, int *resultCnt) |
List all managers of the channel. | |
int | glite_channel_setVOShare (glite_transfer_ctx *ctx, const char *name, const char *VOname, int share) |
Sets the share of a VO on a given channel. | |
int | glite_channel_setVOLimit (glite_transfer_ctx *ctx, const char *name, const char *VOname, int limit) |
Sets the transfer limit of a VO on a given channel. | |
glite_transfer_ChannelAuditEntry ** | glite_channel_channelAudit (glite_transfer_ctx *ctx, const time_t startTime, const time_t endTime, const char *restrictType, const int lastNentries, const char *channelName, int *resultCount) |
Fetches the channel admin audit for the given period. | |
char ** | glite_channel_getSiteGroupNames (glite_transfer_ctx *ctx, int *resultCnt) |
Get a list of the names of the defined site groups. | |
char ** | glite_channel_getSiteGroupMembers (glite_transfer_ctx *ctx, char *groupName, int *resultCnt) |
Get the list of the sites that are members of the group with given name. | |
int | glite_channel_addGroupMember (glite_transfer_ctx *ctx, char *groupName, char *siteName) |
Add the site with given name to members of the given group. | |
int | glite_channel_removeGroupMember (glite_transfer_ctx *ctx, char *groupName, char *siteName) |
Remove the site with given name from members of the given group. |
|
Copyright (c) Members of the EGEE Collaboration. 2004-2008. See http://www.eu-egee.org/partners/ for details on the copyright holders. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. GLite Data Management - Simple channel management API Authors: Gabor Gombas <Gabor.Gombas@cern.ch> Paolo Tedesco <paolo.tedesco@cern.ch> Version info:
Definition at line 26 of file channel-simple.h. |
|
Definition at line 102 of file channel-simple.h. |
|
Definition at line 99 of file channel-simple.h. |
|
srmcopy_direction
Definition at line 63 of file channel-simple.h. |
|
transfer_log_level
Definition at line 38 of file channel-simple.h. |
|
convert string -> srmcopy_direction
|
|
convert srmcopy_direction -> string
|
|
convert string -> transfer_log_level
|
|
convert transfer_log_level -> string
|
|
validate a string containing a size, e.g. 1024 1 KB .1 MB 0.01 GB
|