EGEE
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

channel-simple.h File Reference

#include <glite/data/transfer/c/transfer-simple.h>

Go to the source code of this file.

Defines

#define GLITE_CHANNEL_SD_TYPE   "org.glite.ChannelManagement"
#define GLITE_CHANNEL_SD_ENV   "GLITE_SD_CHANNEL_TYPE"

Functions

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_Channelglite_channel_getChannel (glite_transfer_ctx *ctx, const char *name)
 Get a channel object by its 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_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_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_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_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_setState (glite_transfer_ctx *ctx, const char *name, glite_channel_state state)
 Set the state of a channel.
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.


Define Documentation

#define GLITE_CHANNEL_SD_ENV   "GLITE_SD_CHANNEL_TYPE"
 

Definition at line 29 of file channel-simple.h.

#define GLITE_CHANNEL_SD_TYPE   "org.glite.ChannelManagement"
 

Definition at line 26 of file channel-simple.h.

The GLite Project. All rights reserved.