NAME

GLite::Data::ChannelManagement


DESCRIPTION

GLite::Data::FileCatalog module provides a Perl client library for the ChannelManagement interface.


METHODS

The methods die if there was a SOAP fault. The fault string and details are added to the die message.

new($URL)
Creates an ChannelManagement object, which is initialized with the approriate SOAP endpoint. If the URL uses https protocol, then it will do the HTTPS initialization (locating proxy certificate) as well.

Note: you have to include the VO name in the URL!

    my $srv = GLite::Data::ChannelManagement->new('https://service.glite.org:8443/example');

add(Channel channel)
Channel getChannel(string channelName)
setState(string channelName, string state)
drop(string name)
string[] listChannels()
changeStateForHeldJob(string jobID, string state)
changeStateForHeldJobsOnChannel(string channelName, string state)
setNumberOfStreams(string channelName, int numberOfStreams)
setNumberOfFiles(string channelName, int numberOfFiles)
setBandwidth(string channelName, int utilisation)
setContact(string channelName, string contact)
setNominalThroughput(string channelName, int nominalThroughput)
addManager(string channelName, string principal)
removeManager(string channelName, string principal)
string[] listManagers(string channelName)
setVOShare(string channelName, string VOName, int share)
string getVersion()
string getSchemaVersion()
string getInterfaceVersion()
string getServiceMetadata(string key)


TYPES

StringPair
    my $myStringPair = {
        string1 => 'string', 
        string2 => 'string'
    };
Channel
    my $myChannel = {
        channelName => 'string', 
        sourceSite => 'string', 
        destSite => 'string', 
        contact => 'string', 
        numberOfStreams => 9999, 
        numberOfFiles => 9999, 
        bandwidth => 9999, 
        nominalThroughput => 9999, 
        state => 'string', 
        VOShares => [ $myStringPair1, $myStringPair2, ... ]
    };
TransferException
    my $myTransferException = {
        message => 'string'
    };
AuthorizationException
    my $myAuthorizationException = new TransferException (
        
    );
ExistsException
    my $myExistsException = new TransferException (
        
    );
InvalidArgumentException
    my $myInvalidArgumentException = new TransferException (
        
    );
InternalException
    my $myInternalException = new TransferException (
        
    );
NotExistsException
    my $myNotExistsException = new TransferException (
        
    );
ArrayOf_soapenc_string
    my $myArrayOf_soapenc_string = [ 'string1', 'string2', ...];


SEE ALSO

the GLite::HTTPS manpage


AUTHORS

Copyright (c) 2004 CERN, on behalf of the EU EGEE project. For license conditions see LICENSE file or http://www.edg.org/license.html.