58 if (dc == (*a)->getConnection())
99 ERRORMSG(
"Cannot connect '" << nm <<
"' to the same agency twice." <<
endl);
111 if (dso != 0 && !
connect(dso)) {
151 if (dataconn == 0 || dataconn == dc) {
156 if (dataconn == dc) {
169 return (dataconn == 0);
181 else if (dataconn == (*a)->getConnection())
182 return (*a)->update();
186 return (dataconn == 0);
198 if (dataconn == 0 || dataconn == (*a)->getConnection())
211 if (dataconn == 0 || dataconn == (*a)->getConnection())
Inform & endl(Inform &inf)
std::string::iterator iterator
bool checkin(DataSource *)
bool checkout(DataSource *, bool=true)
int getDefaultTransferMethod() const
static DataConnect * create()
void interact(DataConnect *=0)
bool connected(DataConnect *=0) const
container_t ConnectionList
virtual DataSourceObject * createDataSourceObject(const char *, DataConnect *, int)=0
DataConnect * connect(const char *, DataConnect *=0, int=DataSource::DEFAULT)
DataSourceObject * findDataSourceObject(DataConnect *) const
bool disconnect(DataConnect *=0)
bool updateConnection(DataConnect *=0)
DataConnect * getConnection()