Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
Arc::FTPControl::CBArg Class Reference
Collaboration diagram for Arc::FTPControl::CBArg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CBArg (void)
CBArgclaim (void)
bool release (void)

Public Attributes

Arc::SimpleCondition cond
std::string response
bool responseok
bool data
bool ctrl
bool close

Private Member Functions

 ~CBArg (void)

Private Attributes

unsigned int counter_

Detailed Description

Definition at line 16 of file FTPControl.cpp.


Constructor & Destructor Documentation

Arc::FTPControl::CBArg::~CBArg ( void  ) [private]

Definition at line 35 of file FTPControl.cpp.

                              {
  }

Definition at line 32 of file FTPControl.cpp.

                            :counter_(1) {
  }

Member Function Documentation

Definition at line 38 of file FTPControl.cpp.

                                              {
    cond.lock();
    ++counter_;
    cond.unlock();
    return this;
  }

Here is the caller graph for this function:

Definition at line 45 of file FTPControl.cpp.

                                    {
    cond.lock();
    --counter_;
    bool done = (counter_ <= 0);
    cond.unlock();
    // This looks unsafe, but is alright for how it is used
    if(done) delete this;
    return done;
  }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 26 of file FTPControl.cpp.

Definition at line 21 of file FTPControl.cpp.

unsigned int Arc::FTPControl::CBArg::counter_ [private]

Definition at line 18 of file FTPControl.cpp.

Definition at line 25 of file FTPControl.cpp.

Definition at line 24 of file FTPControl.cpp.

Definition at line 22 of file FTPControl.cpp.

Definition at line 23 of file FTPControl.cpp.


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