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)
drop(string name)
setState(string channelName, string state)
Channel2 getChannel2(string channelName)
string[] listChannels()
changeStateForHeldJob(string jobID, string state)
changeStateForHeldJobsOnChannel(string channelName, string state)
setNumberOfStreams(string channelName, int numberOfStreams)
setNumberOfStreams2(string channelName, int numberOfStreams, string message)
setNumberOfFiles(string channelName, int numberOfFiles)
setNumberOfFiles2(string channelName, int numberOfFiles, string message)
setState2(string channelName, string state, string message)
setBandwidth(string channelName, int utilisation)
setBandwidth2(string channelName, int utilisation, string message)
setContact(string channelName, string contact)
setContact2(string channelName, string contact, string message)
setNominalThroughput(string channelName, int nominalThroughput)
setNominalThroughput2(string channelName, int nominalThroughput, string message)
setTCPBufferSize2(string channelName, string bufferSizeString, string message)
addManager(string channelName, string principal)
removeManager(string channelName, string principal)
string[] listManagers(string channelName)
setVOShare(string channelName, string VOName, int share)
setVOLimit(string channelName, string VOName, int limit)
ChannelAuditEntry[] channelAudit(string restrictType, int lastNentries, string channelName)
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 (
        
    );
Channel2
    my $myChannel2 = new Channel (
        
    );
ChannelAuditEntry
    my $myChannelAuditEntry = {
        auditID => 9999, 
        channelName => 'string', 
        contact => 'string', 
        bandwidth => 9999, 
        nostreams => 9999, 
        nofiles => 9999, 
        tcpBufferSize => 'string', 
        nominalThroughput => 9999, 
        channelState => 'string', 
        message => 'string', 
        modificationTime => $mydateTime, 
        adminDN => 'string', 
        ftsNode => 'string', 
        clientIP => 'string'
    };
ArrayOf_soapenc_string
    my $myArrayOf_soapenc_string = [ 'string1', 'string2', ...];
ArrayOf_tns3_ChannelAuditEntry
    my $myArrayOf_tns3_ChannelAuditEntry = [ $myChannelAuditEntry1, $myChannelAuditEntry2, ... ];


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.