ldas-tools-diskcacheAPI  2.5.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public 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:
diskCache::MetaCommand::ClientServerInterface::ServerInfo

Public Types

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 Hostname (const std::string &Value)
 
const std::string & Hostname () const
 
void Port (port_type Value)
 
port_type Port () const
 

Static Public Attributes

static std::string DEFAULT_EXTENSION
 

Detailed Description

Simple interface to a standalone diskcache server.

This class provides a simple interface to the diskcache server.

Member Typedef Documentation

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

Member Function Documentation

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
void diskCache::MetaCommand::ClientServerInterface::ServerInfo::Hostname ( const std::string &  Value)
inlineinherited
const std::string & diskCache::MetaCommand::ClientServerInterface::ServerInfo::Hostname ( ) const
inlineinherited
void diskCache::MetaCommand::ClientServerInterface::ServerInfo::Port ( port_type  Value)
inlineinherited
ClientServerInterface::ServerInfo::port_type diskCache::MetaCommand::ClientServerInterface::ServerInfo::Port ( ) const
inlineinherited
void diskCache::ServerInterface::Server ( const std::string &  Host,
port_type  Port 
)
inline

Configure the host and port fo the diskcache server.

Member Data Documentation

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

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