ldas-tools-diskcacheAPI  2.7.1
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
diskCache::ServerInterface Class Reference

Simple interface to a standalone diskcache server. More...

#include <ServerInterface.hh>

Inheritance diagram for diskCache::ServerInterface:
Inheritance graph
[legend]
Collaboration diagram for diskCache::ServerInterface:
Collaboration graph
[legend]

Public Types

typedef MetaCommand::ClientServerInterface ::ServerInfo::port_type port_type
 
typedef INT_4U time_type
 
typedef std::vector< std::string > filenames_rds_results_type
 
typedef MetaCommand::ClientServerInterface ::ServerInfo::port_type port_type
 
typedef INT_4U time_type
 
typedef std::vector< std::string > filenames_rds_results_type
 
typedef MetaCommand::ClientServerInterface ::ServerInfo::port_type port_type
 
typedef INT_4U time_type
 
typedef std::vector< std::string > filenames_rds_results_type
 

Public Member Functions

void FilenamesRDS (filenames_rds_results_type &Results, const std::string &IFO, const std::string &Desc, time_type StartTime, time_type EndTime, bool Resampling, const std::string &Extension=DEFAULT_EXTENSION)
 Qury for a set of files that is appropriate for RDS generation. More...
 
void Server (const std::string &Host, port_type Port)
 Configure the host and port fo the diskcache server. More...
 
void FilenamesRDS (filenames_rds_results_type &Results, const std::string &IFO, const std::string &Desc, time_type StartTime, time_type EndTime, bool Resampling, const std::string &Extension=DEFAULT_EXTENSION)
 Qury for a set of files that is appropriate for RDS generation. More...
 
void Server (const std::string &Host, port_type Port)
 Configure the host and port fo the diskcache server. More...
 
void FilenamesRDS (filenames_rds_results_type &Results, const std::string &IFO, const std::string &Desc, time_type StartTime, time_type EndTime, bool Resampling, const std::string &Extension=DEFAULT_EXTENSION)
 Qury for a set of files that is appropriate for RDS generation. More...
 
void Server (const std::string &Host, port_type Port)
 Configure the host and port fo the diskcache server. More...
 
void Hostname (const std::string &Value)
 
const std::string & Hostname () const
 
void Hostname (const std::string &Value)
 
const std::string & Hostname () const
 
void Hostname (const std::string &Value)
 
const std::string & Hostname () const
 
void Port (port_type Value)
 
port_type Port () const
 
void Port (port_type Value)
 
port_type Port () const
 
void Port (port_type Value)
 
port_type Port () const
 

Static Public Attributes

static std::string DEFAULT_EXTENSION
 

Private Attributes

std::string hostname
 
port_type port
 

Detailed Description

Simple interface to a standalone diskcache server.

This class provides a simple interface to the diskcache server.

Member Typedef Documentation

◆ filenames_rds_results_type [1/3]

typedef std::vector< std::string > diskCache::ServerInterface::filenames_rds_results_type

◆ filenames_rds_results_type [2/3]

typedef std::vector< std::string > diskCache::ServerInterface::filenames_rds_results_type

◆ filenames_rds_results_type [3/3]

typedef std::vector< std::string > diskCache::ServerInterface::filenames_rds_results_type

◆ port_type [1/3]

◆ port_type [2/3]

◆ port_type [3/3]

◆ time_type [1/3]

◆ time_type [2/3]

◆ time_type [3/3]

Member Function Documentation

◆ FilenamesRDS() [1/3]

void diskCache::ServerInterface::FilenamesRDS ( filenames_rds_results_type Results,
const std::string &  IFO,
const std::string &  Desc,
time_type  StartTime,
time_type  EndTime,
bool  Resampling,
const std::string &  Extension = DEFAULT_EXTENSION 
)

Qury for a set of files that is appropriate for RDS generation.

Parameters
[out]ResultsContainer of file names that match the query
[in]IFOInterferometer
[in]DescDescriptive field
[in]StartTimeStart time of request in GPS seconds.
[in]EndTimeEnd time of request in GPS seconds.
[in]ResamplingTrue if the list of channels needs to support resampling
[in]ExtensionThe extension, including the period, of the type of file.
Todo:
Need to return any remaining gap information

◆ FilenamesRDS() [2/3]

void diskCache::ServerInterface::FilenamesRDS ( filenames_rds_results_type Results,
const std::string &  IFO,
const std::string &  Desc,
time_type  StartTime,
time_type  EndTime,
bool  Resampling,
const std::string &  Extension = DEFAULT_EXTENSION 
)

Qury for a set of files that is appropriate for RDS generation.

Parameters
[out]ResultsContainer of file names that match the query
[in]IFOInterferometer
[in]DescDescriptive field
[in]StartTimeStart time of request in GPS seconds.
[in]EndTimeEnd time of request in GPS seconds.
[in]ResamplingTrue if the list of channels needs to support resampling
[in]ExtensionThe extension, including the period, of the type of file.
Todo:
Need to return any remaining gap information

◆ FilenamesRDS() [3/3]

void diskCache::ServerInterface::FilenamesRDS ( filenames_rds_results_type Results,
const std::string &  IFO,
const std::string &  Desc,
time_type  StartTime,
time_type  EndTime,
bool  Resampling,
const std::string &  Extension = DEFAULT_EXTENSION 
)

Qury for a set of files that is appropriate for RDS generation.

Parameters
[out]ResultsContainer of file names that match the query
[in]IFOInterferometer
[in]DescDescriptive field
[in]StartTimeStart time of request in GPS seconds.
[in]EndTimeEnd time of request in GPS seconds.
[in]ResamplingTrue if the list of channels needs to support resampling
[in]ExtensionThe extension, including the period, of the type of file.
Todo:
Need to return any remaining gap information

◆ Hostname() [1/6]

const std::string & diskCache::MetaCommand::ClientServerInterface::ServerInfo::Hostname ( ) const
inlineinherited

◆ Hostname() [2/6]

const std::string& diskCache::MetaCommand::ClientServerInterface::ServerInfo::Hostname ( ) const
inherited

◆ Hostname() [3/6]

const std::string& diskCache::MetaCommand::ClientServerInterface::ServerInfo::Hostname ( ) const
inherited

◆ Hostname() [4/6]

void diskCache::MetaCommand::ClientServerInterface::ServerInfo::Hostname ( const std::string &  Value)
inlineinherited

◆ Hostname() [5/6]

void diskCache::MetaCommand::ClientServerInterface::ServerInfo::Hostname ( const std::string &  Value)
inherited

◆ Hostname() [6/6]

void diskCache::MetaCommand::ClientServerInterface::ServerInfo::Hostname ( const std::string &  Value)
inherited

◆ Port() [1/6]

ClientServerInterface::ServerInfo::port_type diskCache::MetaCommand::ClientServerInterface::ServerInfo::Port ( ) const
inlineinherited

◆ Port() [2/6]

port_type diskCache::MetaCommand::ClientServerInterface::ServerInfo::Port ( ) const
inherited

◆ Port() [3/6]

port_type diskCache::MetaCommand::ClientServerInterface::ServerInfo::Port ( ) const
inherited

◆ Port() [4/6]

void diskCache::MetaCommand::ClientServerInterface::ServerInfo::Port ( port_type  Value)
inlineinherited

◆ Port() [5/6]

void diskCache::MetaCommand::ClientServerInterface::ServerInfo::Port ( port_type  Value)
inherited

◆ Port() [6/6]

void diskCache::MetaCommand::ClientServerInterface::ServerInfo::Port ( port_type  Value)
inherited

◆ Server() [1/3]

void diskCache::ServerInterface::Server ( const std::string &  Host,
port_type  Port 
)
inline

Configure the host and port fo the diskcache server.

◆ Server() [2/3]

void diskCache::ServerInterface::Server ( const std::string &  Host,
port_type  Port 
)

Configure the host and port fo the diskcache server.

◆ Server() [3/3]

void diskCache::ServerInterface::Server ( const std::string &  Host,
port_type  Port 
)

Configure the host and port fo the diskcache server.

Member Data Documentation

◆ DEFAULT_EXTENSION

static std::string diskCache::ServerInterface::DEFAULT_EXTENSION
static

◆ hostname

std::string diskCache::MetaCommand::ClientServerInterface::ServerInfo::hostname
privateinherited

◆ port

port_type diskCache::MetaCommand::ClientServerInterface::ServerInfo::port
privateinherited

The documentation for this class was generated from the following files: