Client API to NCBI NetSchedule
[General Purpose Network Infrastructure Services]

Collaboration diagram for Client API to NCBI NetSchedule:


Classes

class  CGridJobSubmitter
 Grid Job Submitter. More...
class  CGridJobBatchSubmitter
 Grid Job Batch Submitter. More...
class  CGridJobStatus
 Grid Job Status checker. More...
class  CGridClient
 Grid Client. More...
class  CGridClientException
 Grid Client exception. More...
class  CGridClientApp
 Grid Client Application. More...
class  IWorkerNodeCleanupEventListener
class  IWorkerNodeCleanupEventSource
 Clean-up event source for the worker node. More...
class  IWorkerNodeInitContext
 Worker Node initialize context. More...
class  IWorkerNodeJob
 Worker Node Job interface. More...
class  CWorkerNodeJobContext
 Worker Node job context. More...
class  CWorkerNodeIdleTaskContext
 Worker Node Idle Task Context. More...
class  IWorkerNodeIdleTask
 Worker Node Idle Task Interface. More...
class  IWorkerNodeJobFactory
 Worker Node Job Factory interface. More...
class  CSimpleJobFactory< TWorkerNodeJob >
class  CSimpleJobFactoryEx< TWorkerNodeJob, TWorkerNodeIdleTask >
class  IWorkerNodeJobWatcher
 Jobs watcher interface. More...
class  CGridWorkerNode
 Grid Worker Node. More...
class  CGridWorkerAppException
class  CGridWorkerNodeException
class  CDefaultWorkerNodeInitContext
 Default implementation of a worker node initialization interface. More...
class  IGridWorkerNodeApp_Listener
 Listener of events generated by CGridWorkerNodeApp. More...
class  CGridWorkerNodeApp_Listener
 An adapter class for IGridWorkerNodeApp_Listener. More...
class  CGridWorkerApp
 Main Worker Node application. More...
class  CNetScheduleAPI
 Client API for NCBI NetSchedule server. More...
struct  CNetScheduleJob
 Job description. More...
class  CNetScheduleSubmitter
 Smart pointer to the job submission part of the NetSchedule API. More...
class  CNetScheduleExecuter
 Smart pointer to a part of the NetSchedule API that does job retrieval and processing on the worker node side. More...
class  CNetScheduleAdmin
class  CNetScheduleExceptionMap
 Map from exception names to codes. More...
class  CNetScheduleException
 NetSchedule internal exception. More...
struct  CNetScheduleKey
 Meaningful information encoded in the NetSchedule key. More...
class  CNetScheduleKeys
class  CGridCgiContext
 Grid Cgi Context Context in which a request is processed. More...
class  CGridCgiApplication
 Grid Cgi Application. More...
class  CRemoteCgiApp

Defines

#define NCBI_DECLARE_WORKERNODE_FACTORY(TWorkerNodeJob, Version)
#define NCBI_DECLARE_WORKERNODE_FACTORY_EX(TWorkerNodeJob, TWorkerNodeIdleTask, Version)
#define NCBI_WORKERNODE_MAIN(TWorkerNodeJob, Version)
#define NCBI_WORKERNODE_MAIN_EX(TWorkerNodeJob,TWorkerNodeIdleTask, Version)
#define NCBI_WORKERNODE_MAIN_MERGE_LOG_LINES(TWorkerNodeJob,TWorkerNodeIdleTask, Version)

Typedefs

typedef map< string, string > CGridCgiContext::TPersistedEntries

Enumerations

enum  CGridClient::EProgressMsg { CGridClient::eProgressMsgOn = 0, CGridClient::eProgressMsgOff }

Functions

void CGridJobSubmitter::SetJobInput (const string &input)
 Set a job's input This string will be sent to then the job is submitted.
CNcbiOstreamCGridJobSubmitter::GetOStream ()
 Get a stream where a client can write an input data for the remote job.
void CGridJobSubmitter::SetJobMask (CNetScheduleAPI::TJobMask mask)
 Set a job mask.
void CGridJobSubmitter::SetJobTags (const CNetScheduleAPI::TJobTags &tags)
 Set job tags.
void CGridJobSubmitter::SetJobAffinity (const string &affinity)
 Set a job affinity.
string CGridJobSubmitter::Submit (const string &affinity="")
 Submit a job to the queue.
 CGridJobSubmitter::CGridJobSubmitter (CGridClient &, bool use_progress)
 CGridJobSubmitter::CGridJobSubmitter (const CGridJobSubmitter &)
 The copy constructor and the assignment operator are prohibited.
CGridJobSubmitterCGridJobSubmitter::operator= (CGridJobSubmitter &)
void CGridJobBatchSubmitter::SetJobInput (const string &input)
 Set a job's input This string will be sent to then the job is submitted.
CNcbiOstreamCGridJobBatchSubmitter::GetOStream ()
 Get a stream where a client can write an input data for the remote job.
void CGridJobBatchSubmitter::SetJobMask (CNetScheduleAPI::TJobMask mask)
 Set a job mask.
void CGridJobBatchSubmitter::SetJobTags (const CNetScheduleAPI::TJobTags &tags)
 Set job tags.
void CGridJobBatchSubmitter::SetJobAffinity (const string &affinity)
 Set a job affinity.
void CGridJobBatchSubmitter::PrepareNextJob ()
void CGridJobBatchSubmitter::Submit ()
 Submit a batch to the queue.
void CGridJobBatchSubmitter::Reset ()
const vector< CNetScheduleJob > & CGridJobBatchSubmitter::GetBatch () const
 CGridJobBatchSubmitter::CGridJobBatchSubmitter (CGridClient &)
 CGridJobBatchSubmitter::CGridJobBatchSubmitter (const CGridJobBatchSubmitter &)
 The copy constructor and the assignment operator are prohibited.
CGridJobBatchSubmitterCGridJobBatchSubmitter::operator= (CGridJobBatchSubmitter &)
const string & CGridJobStatus::GetJobOutput ()
 Get a job's output string.
const string & CGridJobStatus::GetJobInput ()
 Get a job's input sting.
int CGridJobStatus::GetReturnCode ()
 Get a job's return code.
const string & CGridJobStatus::GetErrorMessage ()
 If something bad has happened this method will return an explanation.
CNetScheduleAPI::EJobStatus CGridJobStatus::GetStatus ()
 Get a job status.
CNcbiIstreamCGridJobStatus::GetIStream (IBlobStorage::ELockMode=IBlobStorage::eLockWait)
 Get a stream with a job's result.
size_t CGridJobStatus::GetBlobSize () const
 Get the size of an input stream.
string CGridJobStatus::GetProgressMessage ()
 Get a job interim message.
 CGridJobStatus::CGridJobStatus (CGridClient &, bool auto_cleanup, bool use_progress)
void CGridJobStatus::x_SetJobKey (const string &job_key)
void CGridJobStatus::x_GetJobDetails ()
 CGridJobStatus::CGridJobStatus (const CGridJobStatus &)
 The copy constructor and the assignment operator are prohibited.
CGridJobStatusCGridJobStatus::operator= (const CGridJobStatus &)
 CGridClient::CGridClient (CNetScheduleSubmitter::TInstance ns_client, IBlobStorage &storage, ECleanUp cleanup, EProgressMsg progress_msg, bool use_embedded_storage=false)
 Constructor.
CGridJobSubmitterCGridClient::GetJobSubmitter ()
 Get a job submitter.
CGridJobBatchSubmitterCGridClient::GetJobBatchSubmitter ()
 Get a job submitter.
CGridJobStatusCGridClient::GetJobStatus (const string &job_key)
 Get a job status checker.
void CGridClient::CancelJob (const string &job_key)
 Cancel Job.
void CGridClient::RemoveDataBlob (const string &data_key)
 Remove a data blob from the storage.
CNetScheduleSubmitterCGridClient::GetNSClient ()
IBlobStorageCGridClient::GetStorage ()
size_t CGridClient::GetMaxServerInputSize ()
 CGridClient::CGridClient (const CGridClient &)
 The copy constructor and the assignment operator are prohibited.
CGridClientCGridClient::operator= (const CGridClient &)
virtual const char * CGridClientException::GetErrCodeString (void) const
 Get error code interpreted as text.
 CGridClientException::NCBI_EXCEPTION_DEFAULT (CGridClientException, CException)
CGridClientCGridClientApp::GetGridClient ()
 Get a grid client.
virtual string CGridClientApp::GetProgramVersion (void) const =0
 Get program version (like: MyProgram v.
virtual bool CGridClientApp::UseProgressMessage () const
virtual bool CGridClientApp::UseAutomaticCleanup () const
 NCBI_DECLARE_INTERFACE_VERSION (SNetScheduleAPIImpl,"xnetschedule_api", 1, 0, 0)
void NCBI_EntryPoint_xnetscheduleapi (CPluginManager< SNetScheduleAPIImpl >::TDriverInfoList &info_list, CPluginManager< SNetScheduleAPIImpl >::EEntryPointRequest method)
 CGridCgiContext::~CGridCgiContext ()
CHTMLPageCGridCgiContext::GetHTMLPage (void)
 Get an HTML page.
string CGridCgiContext::GetSelfURL (void) const
 Get Sefl URL.
const string & CGridCgiContext::GetJobKey (void) const
 Get Current job key.
const string & CGridCgiContext::GetJobProgressMessage (void) const
 Get current job progress message.
const string & CGridCgiContext::GetEntryValue (const string &entry_name) const
 Get a value from a cgi request.
void CGridCgiContext::PersistEntry (const string &entry_name)
 Save this entry as a cookie add it to serf url.
void CGridCgiContext::PersistEntry (const string &entry_name, const string &value)
CCgiContextCGridCgiContext::GetCGIContext ()
 Get CGI Context.
void CGridCgiContext::SetCompleteResponse (CNcbiIstream &is)
bool CGridCgiContext::NeedRenderPage () const
string CGridCgiContext::GetHiddenFields () const
const string & CGridCgiContext::GetJobInput () const
const string & CGridCgiContext::GetJobOutput () const
void CGridCgiContext::Clear ()
 Remove all persisted entries from cookie and self url.
void CGridCgiContext::SetJobKey (const string &job_key)
void CGridCgiContext::SetJobProgressMessage (const string &msg)
void CGridCgiContext::SetJobInput (const string &input)
void CGridCgiContext::SetJobOutput (const string &output)
 CGridCgiContext::CGridCgiContext (const CGridCgiContext &)
 A copy constructor and an assignemt operator are prohibited.
CGridCgiContextCGridCgiContext::operator= (const CGridCgiContext &)
virtual int CGridCgiApplication::ProcessRequest (CCgiContext &ctx)
 Do not override this method yourself! -- it includes all the GRIDCGI specific machinery.
virtual string CGridCgiApplication::GetProgramVersion (void) const =0
 Get program version (like: MyProgram v.
virtual void CGridCgiApplication::ShowParamsPage (CGridCgiContext &ctx) const =0
 Show a page with input data.
virtual bool CGridCgiApplication::CollectParams (CGridCgiContext &ctx)=0
 Collect parameters from HTML form If this method returns false that means that input parameters were not specified (or were incorrect).
virtual void CGridCgiApplication::PrepareJobData (CGridJobSubmitter &submitter)=0
 This method is called when a job is ready to be send to a the queue.
virtual void CGridCgiApplication::OnJobSubmitted (CGridCgiContext &ctx)
 This method is called just after a job has been submitted.
virtual void CGridCgiApplication::OnJobDone (CGridJobStatus &status, CGridCgiContext &ctx)=0
 This method is call when a worker node finishes its job and result is ready to be retrieved.
virtual void CGridCgiApplication::OnJobFailed (const string &msg, CGridCgiContext &ctx)
 This method is called when worker node repored a failure.
virtual void CGridCgiApplication::OnJobCanceled (CGridCgiContext &ctx)
 This method is called if job was canceled during its execution.
virtual void CGridCgiApplication::OnJobRunning (CGridCgiContext &ctx)
 This method is call when a job is taken by a worker node to be processed.
virtual void CGridCgiApplication::OnJobPending (CGridCgiContext &ctx)
 This method is call when a job is in NetSchedule queue and is waiting for a worker node.
virtual void CGridCgiApplication::OnEndProcessRequest (CGridCgiContext &)
 This method is call at the very end of the request processing.
virtual void CGridCgiApplication::OnBeginProcessRequest (CGridCgiContext &)
 This method is call at the very beginnig of the request processing.
virtual void CGridCgiApplication::OnQueueIsBusy (CGridCgiContext &)
 This method is call when a job couldn't be submittd because of NetSchedule queue is full.
virtual string CGridCgiApplication::GetPageTitle (void) const =0
 Return page name.
virtual string CGridCgiApplication::GetPageTemplate (void) const =0
 Return a name of a file this HTML page template.
virtual bool CGridCgiApplication::JobStopRequested (void) const
 When job is still runnig this method is called to check if cancel has been requested via the user interface(HTML).
CGridClientCGridCgiApplication::GetGridClient (void)
 Get a Grid Client.
void CGridCgiApplication::InitGridClient ()
 Initialize grid client.
void CGridCgiApplication::RenderRefresh (CHTMLPage &page, const string &url, int delay)
bool CGridCgiApplication::x_JobStopRequested (const CGridCgiContext &) const
bool CGridCgiApplication::x_CheckJobStatus (CGridCgiContext &grid_ctx)
virtual bool CGridCgiApplication::IsCachingNeeded (const CCgiRequest &request) const
const string & CGridWorkerNode::GetQueueName () const
 Get a name of a queue where this node is connected to.
const string & CGridWorkerNode::GetClientName () const
 Get a node name.
const string & CGridWorkerNode::GetServiceName () const
 Get a Connection Info.
CNetScheduleAPI CGridWorkerNode::GetNSClient () const
CNetScheduleExecuter CGridWorkerNode::GetNSExecuter () const
bool CGridWorkerNode::IsExclusiveMode ()
void CGridWorkerApp::SetListener (IGridWorkerNodeApp_Listener *listener)
 Register a listener of events of this class.
void CGridWorkerApp::SetMergeLogLines (bool merge_log_lines=true)
 Sets the default logging format for this application.

Variables

CGridClientCGridJobSubmitter::m_GridClient
CNetScheduleJob CGridJobSubmitter::m_Job
bool CGridJobSubmitter::m_UseProgress
auto_ptr< CNcbiOstreamCGridJobSubmitter::m_WStream
CGridClientCGridJobBatchSubmitter::m_GridClient
vector< CNetScheduleJobCGridJobBatchSubmitter::m_Jobs
size_t CGridJobBatchSubmitter::m_JobIndex
bool CGridJobBatchSubmitter::m_HasBeenSubmitted
auto_ptr< CNcbiOstreamCGridJobBatchSubmitter::m_WStream
CGridClientCGridJobStatus::m_GridClient
CNetScheduleJob CGridJobStatus::m_Job
size_t CGridJobStatus::m_BlobSize
bool CGridJobStatus::m_AutoCleanUp
bool CGridJobStatus::m_UseProgress
auto_ptr< CNcbiIstreamCGridJobStatus::m_RStream
bool CGridJobStatus::m_JobDetailsRead
CNetScheduleSubmitter CGridClient::m_NSClient
IBlobStorageCGridClient::m_NSStorage
auto_ptr< CGridJobSubmitterCGridClient::m_JobSubmitter
auto_ptr< CGridJobBatchSubmitterCGridClient::m_JobBatchSubmitter
auto_ptr< CGridJobStatusCGridClient::m_JobStatus
bool CGridClient::m_UseEmbeddedStorage
auto_ptr< IBlobStorageCGridClientApp::m_NSStorage
auto_ptr< CGridClientCGridClientApp::m_GridClient
const char * kNetScheduleAPIDriverName
CHTMLPageCGridCgiContext::m_Page
CCgiContextCGridCgiContext::m_CgiContext
TCgiEntries CGridCgiContext::m_ParsedQueryString
TPersistedEntries CGridCgiContext::m_PersistedEntries
string CGridCgiContext::m_ProgressMsg
string CGridCgiContext::m_JobInput
string CGridCgiContext::m_JobOutput
bool CGridCgiContext::m_NeedRenderPage
int CGridCgiApplication::m_RefreshDelay
int CGridCgiApplication::m_FirstDelay
CNetScheduleAPI CGridCgiApplication::m_NSClient
auto_ptr< IBlobStorageCGridCgiApplication::m_NSStorage
auto_ptr< CGridClientCGridCgiApplication::m_GridClient
CCgiResponseCGridCgiApplication::m_Response


Define Documentation

#define NCBI_DECLARE_WORKERNODE_FACTORY TWorkerNodeJob,
Version   ) 
 

Value:

class TWorkerNodeJob##Factory : public CSimpleJobFactory<TWorkerNodeJob> \
{                                                                        \
public:                                                                  \
    virtual string GetJobVersion() const                                 \
    {                                                                    \
        return #TWorkerNodeJob " version " #Version;                     \
    }                                                                    \
}

Definition at line 458 of file grid_worker.hpp.

#define NCBI_DECLARE_WORKERNODE_FACTORY_EX TWorkerNodeJob,
TWorkerNodeIdleTask,
Version   ) 
 

Value:

class TWorkerNodeJob##FactoryEx                                          \
    : public CSimpleJobFactoryEx<TWorkerNodeJob, TWorkerNodeIdleTask>    \
{                                                                        \
public:                                                                  \
    virtual string GetJobVersion() const                                 \
    {                                                                    \
        return #TWorkerNodeJob " version " #Version;                     \
    }                                                                    \
}

Definition at line 496 of file grid_worker.hpp.

#define NCBI_WORKERNODE_MAIN TWorkerNodeJob,
Version   ) 
 

Value:

NCBI_DECLARE_WORKERNODE_FACTORY(TWorkerNodeJob, Version);               \
    int main(int argc, const char* argv[])                                  \
    {                                                                       \
        GetDiagContext().SetOldPostFormat(false);                           \
        BlobStorage_RegisterDriver_NetCache();                              \
        CGridWorkerApp app(new TWorkerNodeJob##Factory,                     \
            CVersionInfo(#Version));                                        \
        return app.AppMain(argc, argv, NULL, eDS_ToStdlog);                 \
    }

Definition at line 193 of file grid_worker_app.hpp.

#define NCBI_WORKERNODE_MAIN_EX TWorkerNodeJob,
TWorkerNodeIdleTask,
Version   ) 
 

Value:

NCBI_DECLARE_WORKERNODE_FACTORY_EX(TWorkerNodeJob,                      \
            TWorkerNodeIdleTask, Version);                                  \
    int main(int argc, const char* argv[])                                  \
    {                                                                       \
        GetDiagContext().SetOldPostFormat(false);                           \
        BlobStorage_RegisterDriver_NetCache();                              \
        CGridWorkerApp app(new TWorkerNodeJob##FactoryEx,                   \
            CVersionInfo(#Version));                                        \
        return app.AppMain(argc, argv, NULL, eDS_ToStdlog);                 \
    }

Definition at line 205 of file grid_worker_app.hpp.

#define NCBI_WORKERNODE_MAIN_MERGE_LOG_LINES TWorkerNodeJob,
TWorkerNodeIdleTask,
Version   ) 
 

Value:

NCBI_DECLARE_WORKERNODE_FACTORY_EX(TWorkerNodeJob,                      \
            TWorkerNodeIdleTask, Version);                                  \
    int main(int argc, const char* argv[])                                  \
    {                                                                       \
        GetDiagContext().SetOldPostFormat(false);                           \
        BlobStorage_RegisterDriver_NetCache();                              \
        CGridWorkerApp app(new TWorkerNodeJob##FactoryEx,                   \
            CVersionInfo(#Version));                                        \
        app.SetMergeLogLines();                                             \
        return app.AppMain(argc, argv, NULL, eDS_ToStdlog);                 \
    }

Definition at line 218 of file grid_worker_app.hpp.


Typedef Documentation

typedef map<string,string> CGridCgiContext::TPersistedEntries [private, inherited]
 

Definition at line 116 of file grid_cgiapp.hpp.


Enumeration Type Documentation

enum CGridClient::EProgressMsg [inherited]
 

Enumerator:
eProgressMsgOn 
eProgressMsgOff 

Definition at line 257 of file grid_client.hpp.


Function Documentation

void CGridClient::CancelJob const string &  job_key  )  [inherited]
 

Cancel Job.

Parameters:
job_key Job key

Definition at line 74 of file grid_client.cpp.

References CNetScheduleSubmitter::CancelJob(), and CGridClient::m_NSClient.

Referenced by CGridCgiApplication::ProcessRequest(), and CRemoteAppDispatcher::x_CancelJob().

CGridCgiContext::CGridCgiContext const CGridCgiContext  )  [private, inherited]
 

A copy constructor and an assignemt operator are prohibited.

CGridClient::CGridClient const CGridClient  )  [private, inherited]
 

The copy constructor and the assignment operator are prohibited.

CGridClient::CGridClient CNetScheduleSubmitter::TInstance  ns_client,
IBlobStorage storage,
ECleanUp  cleanup,
EProgressMsg  progress_msg,
bool  use_embedded_storage = false
[inherited]
 

Constructor.

Parameters:
ns_client NetSchedule client - an instance of CNetScheduleSubmitter.
storage NetSchedule storage
auto_cleanup if true the grid client will automatically remove a job's input data from a storage when the job is done or canceled

Definition at line 43 of file grid_client.cpp.

References CGridClient::eAutomaticCleanup, CGridClient::eProgressMsgOn, CGridClient::m_JobBatchSubmitter, CGridClient::m_JobStatus, CGridClient::m_JobSubmitter, and auto_ptr< X >::reset().

CGridJobBatchSubmitter::CGridJobBatchSubmitter const CGridJobBatchSubmitter  )  [private, inherited]
 

The copy constructor and the assignment operator are prohibited.

CGridJobBatchSubmitter::CGridJobBatchSubmitter CGridClient  )  [explicit, private, inherited]
 

Definition at line 239 of file grid_client.cpp.

CGridJobStatus::CGridJobStatus const CGridJobStatus  )  [private, inherited]
 

The copy constructor and the assignment operator are prohibited.

CGridJobStatus::CGridJobStatus CGridClient ,
bool  auto_cleanup,
bool  use_progress
[private, inherited]
 

Definition at line 248 of file grid_client.cpp.

CGridJobSubmitter::CGridJobSubmitter const CGridJobSubmitter  )  [private, inherited]
 

The copy constructor and the assignment operator are prohibited.

CGridJobSubmitter::CGridJobSubmitter CGridClient ,
bool  use_progress
[private, inherited]
 

Definition at line 91 of file grid_client.cpp.

void CGridCgiContext::Clear  )  [private, inherited]
 

Remove all persisted entries from cookie and self url.

Definition at line 151 of file grid_cgiapp.cpp.

References map_checker< Container >::clear(), and CGridCgiContext::m_PersistedEntries.

Referenced by CGridCgiApplication::ProcessRequest().

virtual bool CGridCgiApplication::CollectParams CGridCgiContext ctx  )  [protected, pure virtual, inherited]
 

Collect parameters from HTML form If this method returns false that means that input parameters were not specified (or were incorrect).

In this case method ShowParamsPage will be called.

Implemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Referenced by CGridCgiApplication::ProcessRequest().

const vector<CNetScheduleJob>& CGridJobBatchSubmitter::GetBatch  )  const [inline, inherited]
 

Definition at line 154 of file grid_client.hpp.

References CGridJobBatchSubmitter::m_Jobs.

size_t CGridJobStatus::GetBlobSize  )  const [inline, inherited]
 

Get the size of an input stream.

Definition at line 216 of file grid_client.hpp.

References CGridJobStatus::m_BlobSize.

Referenced by CCgiTunnel2Grid::OnJobDone(), and CCgi2RCgiApp::OnJobDone().

CCgiContext& CGridCgiContext::GetCGIContext  )  [inline, inherited]
 

Get CGI Context.

Definition at line 99 of file grid_cgiapp.hpp.

References CGridCgiContext::m_CgiContext.

Referenced by CCgiTunnel2Grid::CollectParams(), CCgi2RCgiApp::CollectParams(), CCgi2RCgiApp::OnJobCanceled(), CCgi2RCgiApp::OnJobFailed(), CCgi2RCgiApp::OnQueueIsBusy(), and CGridCgiApplication::x_CheckJobStatus().

const string & CGridWorkerNode::GetClientName  )  const [inline, inherited]
 

Get a node name.

Definition at line 684 of file grid_worker.hpp.

References CNetService::GetClientName(), CGridWorkerNode::GetNSClient(), and CNetScheduleAPI::GetService().

Referenced by CGetLoadProcessor::Authenticate(), and CWorkerNodeJobContext::GetClientName().

const string & CGridCgiContext::GetEntryValue const string &  entry_name  )  const [inherited]
 

Get a value from a cgi request.

if there is no an entry with a given name it returns an empty string.

Definition at line 108 of file grid_cgiapp.cpp.

References map_checker< Container >::end(), map_checker< Container >::find(), kEmptyStr, and CGridCgiContext::m_PersistedEntries.

Referenced by CCgiTunnel2Grid::CollectParams(), CGridCgiContext::GetJobKey(), CCgiTunnel2Grid::OnBeginProcessRequest(), CCgiTunnel2Grid::OnEndProcessRequest(), CCgi2RCgiApp::OnEndProcessRequest(), CCgiTunnel2Grid::OnJobCanceled(), CCgiTunnel2Grid::OnJobDone(), CCgiTunnel2Grid::OnJobFailed(), CCgiTunnel2Grid::OnQueueIsBusy(), CGridCgiApplication::ProcessRequest(), CCgiTunnel2Grid::ProcessRequest(), CGridCgiApplication::x_CheckJobStatus(), and CGridCgiApplication::x_JobStopRequested().

virtual const char* CGridClientException::GetErrCodeString void   )  const [inline, virtual, inherited]
 

Get error code interpreted as text.

Reimplemented from CException.

Definition at line 338 of file grid_client.hpp.

References CGridClientException::eBatchHasAlreadyBeenSubmitted, CException::GetErrCode(), and CException::GetErrCodeString().

const string & CGridJobStatus::GetErrorMessage  )  [inherited]
 

If something bad has happened this method will return an explanation.

Definition at line 335 of file grid_client.cpp.

References CNetScheduleJob::error_msg, CGridJobStatus::m_Job, and CGridJobStatus::x_GetJobDetails().

Referenced by CRemoteAppClientSampleApp::PrintJobInfo(), and CRemoteAppDispatcher::x_CheckJobStatus().

CGridClient& CGridCgiApplication::GetGridClient void   )  [inline, protected, inherited]
 

Get a Grid Client.

Definition at line 259 of file grid_cgiapp.hpp.

References CGridCgiApplication::m_GridClient.

Referenced by CGridCgiApplication::ProcessRequest(), and CGridCgiApplication::x_CheckJobStatus().

CGridClient& CGridClientApp::GetGridClient void   )  [inline, inherited]
 

Get a grid client.

Definition at line 66 of file grid_client_app.hpp.

References CGridClientApp::m_GridClient.

Referenced by CRemoteAppClientSampleApp::PrintJobInfo(), CRemoteAppClientSampleApp::Run(), CGridClientSampleApp::Run(), and CNSSubmitRemoteJobApp::Run().

string CGridCgiContext::GetHiddenFields  )  const [inherited]
 

Definition at line 84 of file grid_cgiapp.cpp.

References map_checker< Container >::begin(), map_checker< Container >::end(), and CGridCgiContext::m_PersistedEntries.

Referenced by CGridCgiApplication::ProcessRequest().

CHTMLPage& CGridCgiContext::GetHTMLPage void   )  [inline, inherited]
 

Get an HTML page.

Definition at line 76 of file grid_cgiapp.hpp.

References CGridCgiContext::m_Page.

Referenced by CCgiTunnel2Grid::OnBeginProcessRequest(), CCgi2RCgiApp::OnBeginProcessRequest(), CGridCgiSampleApplication::OnEndProcessRequest(), CCgiTunnel2Grid::OnEndProcessRequest(), CCgi2RCgiApp::OnEndProcessRequest(), CGridCgiSampleApplication::OnJobCanceled(), CCgiTunnel2Grid::OnJobCanceled(), CCgi2RCgiApp::OnJobCanceled(), CCgiTunnel2Grid::OnJobDone(), CCgi2RCgiApp::OnJobDone(), CGridCgiSampleApplication::OnJobFailed(), CCgiTunnel2Grid::OnJobFailed(), CCgi2RCgiApp::OnJobFailed(), CGridCgiSampleApplication::OnJobPending(), CCgiTunnel2Grid::OnJobPending(), CCgi2RCgiApp::OnJobPending(), CGridCgiSampleApplication::OnJobRunning(), CCgiTunnel2Grid::OnJobRunning(), CCgi2RCgiApp::OnJobRunning(), CGridCgiSampleApplication::OnJobSubmitted(), CCgiTunnel2Grid::OnJobSubmitted(), CCgi2RCgiApp::OnJobSubmitted(), CCgiTunnel2Grid::OnQueueIsBusy(), CCgi2RCgiApp::OnQueueIsBusy(), and CGridCgiSampleApplication::ShowParamsPage().

CNcbiIstream & CGridJobStatus::GetIStream IBlobStorage::ELockMode  = IBlobStorage::eLockWait  )  [inherited]
 

Get a stream with a job's result.

Stream is based on network data storage (NetCache). Size of the input data can be determined using GetInputBlobSize

Definition at line 279 of file grid_client.cpp.

References CRWStreambuf::fLogExceptions, CRWStreambuf::fOwnReader, CGridClient::GetStorage(), CGridJobStatus::m_BlobSize, CGridJobStatus::m_GridClient, CGridJobStatus::m_Job, CGridJobStatus::m_RStream, CNetScheduleJob::output, auto_ptr< X >::reset(), and CGridJobStatus::x_GetJobDetails().

Referenced by CGridCgiSampleApplication::OnJobDone(), CCgiTunnel2Grid::OnJobDone(), CCgi2RCgiApp::OnJobDone(), CRemoteAppClientSampleApp::PrintJobInfo(), and CRemoteAppDispatcher::x_CheckJobStatus().

CGridJobBatchSubmitter & CGridClient::GetJobBatchSubmitter  )  [inherited]
 

Get a job submitter.

Definition at line 63 of file grid_client.cpp.

References CGridClient::m_JobBatchSubmitter.

const string& CGridCgiContext::GetJobInput  )  const [inline, inherited]
 

Definition at line 107 of file grid_cgiapp.hpp.

References CGridCgiContext::m_JobInput.

Referenced by CCgiTunnel2Grid::OnJobFailed().

const string & CGridJobStatus::GetJobInput  )  [inherited]
 

Get a job's input sting.

Definition at line 324 of file grid_client.cpp.

References CNetScheduleJob::input, CGridJobStatus::m_Job, and CGridJobStatus::x_GetJobDetails().

Referenced by CRemoteAppClientSampleApp::PrintJobInfo(), and CGridCgiApplication::x_CheckJobStatus().

const string & CGridCgiContext::GetJobKey void   )  const [inherited]
 

Get Current job key.

Definition at line 103 of file grid_cgiapp.cpp.

References CGridCgiContext::GetEntryValue().

const string& CGridCgiContext::GetJobOutput  )  const [inline, inherited]
 

Definition at line 108 of file grid_cgiapp.hpp.

References CGridCgiContext::m_JobOutput.

Referenced by CCgiTunnel2Grid::OnJobFailed().

const string & CGridJobStatus::GetJobOutput  )  [inherited]
 

Get a job's output string.

This string can be used in two ways. 1. It can be an output data from a remote job (if that data is short) If it is so don't use GetIStream method. 2. It holds a key to a data stored in an external data storage. (NetCache) In this case use GetIStream method to get a stream with a job's result.

Definition at line 318 of file grid_client.cpp.

References CGridJobStatus::m_Job, CNetScheduleJob::output, and CGridJobStatus::x_GetJobDetails().

Referenced by CRemoteAppClientSampleApp::PrintJobInfo(), and CGridCgiApplication::x_CheckJobStatus().

const string& CGridCgiContext::GetJobProgressMessage void   )  const [inline, inherited]
 

Get current job progress message.

Definition at line 87 of file grid_cgiapp.hpp.

References CGridCgiContext::m_ProgressMsg.

Referenced by CGridCgiSampleApplication::OnJobRunning(), CCgiTunnel2Grid::OnJobRunning(), and CCgi2RCgiApp::OnJobRunning().

CGridJobStatus & CGridClient::GetJobStatus const string &  job_key  )  [inherited]
 

Get a job status checker.

Parameters:
job_key Job key

Definition at line 68 of file grid_client.cpp.

References CGridClient::m_JobStatus.

Referenced by CRemoteAppClientSampleApp::PrintJobInfo(), CGridCgiApplication::x_CheckJobStatus(), and CRemoteAppDispatcher::x_CheckJobStatus().

CGridJobSubmitter & CGridClient::GetJobSubmitter  )  [inherited]
 

Get a job submitter.

Definition at line 59 of file grid_client.cpp.

References CGridClient::m_JobSubmitter.

Referenced by CGridCgiApplication::ProcessRequest(), CRemoteAppClientSampleApp::Run(), and CRemoteAppDispatcher::x_RunNewJob().

size_t CGridClient::GetMaxServerInputSize  )  [inherited]
 

Definition at line 84 of file grid_client.cpp.

References CNetScheduleSubmitter::GetServerParams(), CGridClient::m_NSClient, CGridClient::m_UseEmbeddedStorage, and CNetScheduleAPI::SServerParams::max_input_size.

Referenced by CGridJobBatchSubmitter::GetOStream(), CGridJobSubmitter::GetOStream(), and CNSSubmitRemoteJobApp::Run().

CNetScheduleAPI CGridWorkerNode::GetNSClient  )  const [inline, inherited]
 

Definition at line 694 of file grid_worker.hpp.

References CGridWorkerNode::m_SharedNSClient.

Referenced by CGridWorkerNode::GetClientName(), CGridWorkerNode::GetQueueName(), CGridWorkerNode::GetServerOutputSize(), CGridWorkerNode::GetServiceName(), and CGridWorkerNode::x_AreMastersBusy().

CNetScheduleSubmitter& CGridClient::GetNSClient  )  [inline, inherited]
 

Definition at line 308 of file grid_client.hpp.

References CGridClient::m_NSClient.

Referenced by CGridJobStatus::GetProgressMessage(), CGridJobStatus::GetStatus(), CGridJobBatchSubmitter::Submit(), CGridJobSubmitter::Submit(), and CGridJobStatus::x_GetJobDetails().

CNetScheduleExecuter CGridWorkerNode::GetNSExecuter  )  const [inline, inherited]
 

Definition at line 699 of file grid_worker.hpp.

References CGridWorkerNode::m_NSExecuter.

Referenced by CGridWorkerNode::x_CreateNSReadClient(), CGridWorkerNode::x_FailJob(), and CGridWorkerNode::x_ReturnJob().

CNcbiOstream & CGridJobBatchSubmitter::GetOStream  )  [inherited]
 

Get a stream where a client can write an input data for the remote job.

Definition at line 158 of file grid_client.cpp.

References CRWStreambuf::fLogExceptions, CRWStreambuf::fOwnWriter, CGridClient::GetMaxServerInputSize(), CGridClient::GetStorage(), CGridJobBatchSubmitter::m_GridClient, CGridJobBatchSubmitter::m_HasBeenSubmitted, CGridJobBatchSubmitter::m_JobIndex, CGridJobBatchSubmitter::m_Jobs, CGridJobBatchSubmitter::m_WStream, NCBI_THROW, CGridJobBatchSubmitter::PrepareNextJob(), and auto_ptr< X >::reset().

CNcbiOstream & CGridJobSubmitter::GetOStream  )  [inherited]
 

Get a stream where a client can write an input data for the remote job.

Definition at line 117 of file grid_client.cpp.

References CRWStreambuf::fLogExceptions, CRWStreambuf::fOwnWriter, CGridClient::GetMaxServerInputSize(), CGridClient::GetStorage(), CNetScheduleJob::input, CGridJobSubmitter::m_GridClient, CGridJobSubmitter::m_Job, CGridJobSubmitter::m_WStream, and auto_ptr< X >::reset().

Referenced by CGI2GRID_ComposeHtmlPage(), CGridCgiSampleApplication::PrepareJobData(), CCgi2RCgiApp::PrepareJobData(), CRemoteAppClientSampleApp::Run(), and CRemoteAppDispatcher::x_RunNewJob().

virtual string CGridCgiApplication::GetPageTemplate void   )  const [protected, pure virtual, inherited]
 

Return a name of a file this HTML page template.

It is used when an inctance of CHTMLPage class is created.

Implemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Referenced by CGridCgiApplication::ProcessRequest().

virtual string CGridCgiApplication::GetPageTitle void   )  const [protected, pure virtual, inherited]
 

Return page name.

It is used when an inctance of CHTMLPage class is created.

Implemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Referenced by CGridCgiApplication::ProcessRequest().

virtual string CGridCgiApplication::GetProgramVersion void   )  const [pure virtual, inherited]
 

Get program version (like: MyProgram v.

1.2.3)

Program version is passed to NetSchedule queue so queue controls versions and does not allow obsolete clients to connect and submit or execute jobs

Implemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Referenced by CGridCgiApplication::InitGridClient().

virtual string CGridClientApp::GetProgramVersion void   )  const [pure virtual, inherited]
 

Get program version (like: MyProgram v.

1.2.3)

Program version is passed to NetSchedule queue so queue controls versions and does not allow obsolete clients to connect and submit or execute jobs

Implemented in CNSSubmitRemoteJobApp, CGridClientSampleApp, and CRemoteAppClientSampleApp.

Referenced by CGridClientApp::Init().

string CGridJobStatus::GetProgressMessage  )  [inherited]
 

Get a job interim message.

Parameters:
data_key Blob key

Definition at line 291 of file grid_client.cpp.

References IBlobStorage::GetBlobAsString(), CGridClient::GetNSClient(), CNetScheduleSubmitter::GetProgressMsg(), CGridClient::GetStorage(), kEmptyStr, CGridJobStatus::m_GridClient, CGridJobStatus::m_Job, and CGridJobStatus::m_UseProgress.

const string & CGridWorkerNode::GetQueueName  )  const [inline, inherited]
 

Get a name of a queue where this node is connected to.

Definition at line 679 of file grid_worker.hpp.

References CGridWorkerNode::GetNSClient(), and CNetScheduleAPI::GetQueueName().

Referenced by CGetLoadProcessor::Authenticate(), CWorkerNodeJobContext::GetQueueName(), and CGetStatisticsProcessor::Process().

int CGridJobStatus::GetReturnCode  )  [inherited]
 

Get a job's return code.

Definition at line 329 of file grid_client.cpp.

References CGridJobStatus::m_Job, CNetScheduleJob::ret_code, and CGridJobStatus::x_GetJobDetails().

string CGridCgiContext::GetSelfURL void   )  const [inherited]
 

Get Sefl URL.

Definition at line 62 of file grid_cgiapp.cpp.

References map_checker< Container >::begin(), map_checker< Container >::end(), CCgiContext::GetSelfURL(), CGridCgiContext::m_CgiContext, CGridCgiContext::m_PersistedEntries, and NStr::URLEncode().

Referenced by CGridCgiApplication::ProcessRequest().

const string & CGridWorkerNode::GetServiceName  )  const [inline, inherited]
 

Get a Connection Info.

Definition at line 689 of file grid_worker.hpp.

References CGridWorkerNode::GetNSClient(), CNetScheduleAPI::GetService(), and CNetService::GetServiceName().

CNetScheduleAPI::EJobStatus CGridJobStatus::GetStatus  )  [inherited]
 

Get a job status.

Definition at line 261 of file grid_client.cpp.

References CNetScheduleAPI::eCanceled, CNetScheduleAPI::eDone, CNetScheduleSubmitter::GetJobStatus(), CGridClient::GetNSClient(), CNetScheduleSubmitter::GetProgressMsg(), CNetScheduleJob::input, CNetScheduleJob::job_id, CGridJobStatus::m_AutoCleanUp, CGridJobStatus::m_GridClient, CGridJobStatus::m_Job, CGridJobStatus::m_UseProgress, CGridClient::RemoveDataBlob(), and CGridJobStatus::x_GetJobDetails().

Referenced by CRemoteAppClientSampleApp::PrintJobInfo(), CGridCgiApplication::x_CheckJobStatus(), and CRemoteAppDispatcher::x_CheckJobStatus().

IBlobStorage& CGridClient::GetStorage  )  [inline, inherited]
 

Definition at line 309 of file grid_client.hpp.

References CGridClient::m_NSStorage.

Referenced by CGridJobStatus::GetIStream(), CGridJobBatchSubmitter::GetOStream(), CGridJobSubmitter::GetOStream(), CGridJobStatus::GetProgressMessage(), and CGridJobSubmitter::Submit().

void CGridCgiApplication::InitGridClient  )  [protected, inherited]
 

Initialize grid client.

Definition at line 182 of file grid_cgiapp.cpp.

References BlobStorage_RegisterDriver_NetCache(), CNetScheduleClientFactory::CreateInstance(), IRegistry::eReturn, auto_ptr< X >::get(), IRegistry::GetBool(), CNcbiApplication::GetConfig(), IRegistry::GetInt(), CGridCgiApplication::GetProgramVersion(), CGridCgiApplication::m_FirstDelay, CGridCgiApplication::m_NSClient, CGridCgiApplication::m_NSStorage, CGridCgiApplication::m_RefreshDelay, auto_ptr< X >::reset(), and CNetScheduleAPI::SetProgramVersion().

Referenced by CGridCgiApplication::Init().

bool CGridCgiApplication::IsCachingNeeded const CCgiRequest request  )  const [private, virtual, inherited]
 

Reimplemented from CCgiApplication.

Definition at line 174 of file grid_cgiapp.cpp.

References eCgi_QueryString, entries, CCgiRequest::GetProperty(), and CCgiRequest::ParseEntries().

bool CGridWorkerNode::IsExclusiveMode  )  [inline, inherited]
 

Definition at line 704 of file grid_worker.hpp.

References CGridWorkerNode::m_IsProcessingExclusiveJob.

Referenced by CGetStatisticsProcessor::Process(), and CGridThreadContext::PutResult().

virtual bool CGridCgiApplication::JobStopRequested void   )  const [inline, protected, virtual, inherited]
 

When job is still runnig this method is called to check if cancel has been requested via the user interface(HTML).

If so the job will be canceled.

Reimplemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Definition at line 255 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::x_JobStopRequested().

NCBI_DECLARE_INTERFACE_VERSION SNetScheduleAPIImpl  ,
"xnetschedule_api"  ,
,
,
 

void NCBI_EntryPoint_xnetscheduleapi CPluginManager< SNetScheduleAPIImpl >::TDriverInfoList &  info_list,
CPluginManager< SNetScheduleAPIImpl >::EEntryPointRequest  method
 

Definition at line 513 of file netschedule_api.cpp.

References CHostEntryPointImpl< TClassFactory >::NCBI_EntryPointImpl().

Referenced by CNetScheduleClientFactory::CNetScheduleClientFactory().

CGridClientException::NCBI_EXCEPTION_DEFAULT CGridClientException  ,
CException 
[inherited]
 

bool CGridCgiContext::NeedRenderPage  )  const [inline, inherited]
 

Definition at line 103 of file grid_cgiapp.hpp.

References CGridCgiContext::m_NeedRenderPage.

virtual void CGridCgiApplication::OnBeginProcessRequest CGridCgiContext  )  [inline, protected, virtual, inherited]
 

This method is call at the very beginnig of the request processing.

Reimplemented in CCgi2RCgiApp, and CCgiTunnel2Grid.

Definition at line 234 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::ProcessRequest().

virtual void CGridCgiApplication::OnEndProcessRequest CGridCgiContext  )  [inline, protected, virtual, inherited]
 

This method is call at the very end of the request processing.

Reimplemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Definition at line 230 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::ProcessRequest().

virtual void CGridCgiApplication::OnJobCanceled CGridCgiContext ctx  )  [inline, protected, virtual, inherited]
 

This method is called if job was canceled during its execution.

Override this message to show a job cancelation message.

Reimplemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Definition at line 216 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::x_CheckJobStatus().

virtual void CGridCgiApplication::OnJobDone CGridJobStatus status,
CGridCgiContext ctx
[protected, pure virtual, inherited]
 

This method is call when a worker node finishes its job and result is ready to be retrieved.

Override this method to get a result from a worker node and render a result HTML page

Implemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Referenced by CGridCgiApplication::x_CheckJobStatus().

virtual void CGridCgiApplication::OnJobFailed const string &  msg,
CGridCgiContext ctx
[inline, protected, virtual, inherited]
 

This method is called when worker node repored a failure.

Override this method to get a error message and render a error HTML page.

Reimplemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Definition at line 211 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::OnQueueIsBusy(), CGridCgiApplication::ProcessRequest(), and CGridCgiApplication::x_CheckJobStatus().

virtual void CGridCgiApplication::OnJobPending CGridCgiContext ctx  )  [inline, protected, virtual, inherited]
 

This method is call when a job is in NetSchedule queue and is waiting for a worker node.

Reimplemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Definition at line 226 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::x_CheckJobStatus().

virtual void CGridCgiApplication::OnJobRunning CGridCgiContext ctx  )  [inline, protected, virtual, inherited]
 

This method is call when a job is taken by a worker node to be processed.

Reimplemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Definition at line 221 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::x_CheckJobStatus().

virtual void CGridCgiApplication::OnJobSubmitted CGridCgiContext ctx  )  [inline, protected, virtual, inherited]
 

This method is called just after a job has been submitted.

Override this method to render information HTML page.

Reimplemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Definition at line 198 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::ProcessRequest().

void CGridCgiApplication::OnQueueIsBusy CGridCgiContext  )  [protected, virtual, inherited]
 

This method is call when a job couldn't be submittd because of NetSchedule queue is full.

Reimplemented in CCgi2RCgiApp, and CCgiTunnel2Grid.

Definition at line 230 of file grid_cgiapp.cpp.

References CGridCgiApplication::OnJobFailed().

Referenced by CGridCgiApplication::ProcessRequest().

CGridCgiContext& CGridCgiContext::operator= const CGridCgiContext  )  [private, inherited]
 

CGridClient& CGridClient::operator= const CGridClient  )  [private, inherited]
 

CGridJobStatus& CGridJobStatus::operator= const CGridJobStatus  )  [private, inherited]
 

CGridJobBatchSubmitter& CGridJobBatchSubmitter::operator= CGridJobBatchSubmitter  )  [private, inherited]
 

CGridJobSubmitter& CGridJobSubmitter::operator= CGridJobSubmitter  )  [private, inherited]
 

void CGridCgiContext::PersistEntry const string &  entry_name,
const string &  value
[inherited]
 

Definition at line 138 of file grid_cgiapp.cpp.

References map_checker< Container >::end(), map_checker< Container >::erase(), map_checker< Container >::find(), and CGridCgiContext::m_PersistedEntries.

void CGridCgiContext::PersistEntry const string &  entry_name  )  [inherited]
 

Save this entry as a cookie add it to serf url.

Definition at line 116 of file grid_cgiapp.cpp.

References NStr::CompareNocase(), entries, CCgiRequest::GetEntries(), CCgiContext::GetRequest(), ITERATE, kEmptyStr, CGridCgiContext::m_CgiContext, and CGridCgiContext::m_ParsedQueryString.

Referenced by CCgiTunnel2Grid::CollectParams(), CCgiTunnel2Grid::OnBeginProcessRequest(), CCgiTunnel2Grid::OnJobCanceled(), CCgi2RCgiApp::OnJobCanceled(), CCgiTunnel2Grid::OnJobFailed(), CCgi2RCgiApp::OnJobFailed(), CCgiTunnel2Grid::OnJobSubmitted(), CCgi2RCgiApp::OnJobSubmitted(), CCgiTunnel2Grid::OnQueueIsBusy(), CCgi2RCgiApp::OnQueueIsBusy(), CGridCgiApplication::ProcessRequest(), CCgiTunnel2Grid::ProcessRequest(), and CGridCgiContext::SetJobKey().

virtual void CGridCgiApplication::PrepareJobData CGridJobSubmitter submitter  )  [protected, pure virtual, inherited]
 

This method is called when a job is ready to be send to a the queue.

Override this method to prepare input data for the worker node.

Implemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Referenced by CGridCgiApplication::ProcessRequest().

void CGridJobBatchSubmitter::PrepareNextJob  )  [inherited]
 

Definition at line 207 of file grid_client.cpp.

References CGridJobBatchSubmitter::m_HasBeenSubmitted, CGridJobBatchSubmitter::m_JobIndex, CGridJobBatchSubmitter::m_Jobs, CGridJobBatchSubmitter::m_WStream, NCBI_THROW, and auto_ptr< X >::reset().

Referenced by CGridJobBatchSubmitter::GetOStream(), CGridJobBatchSubmitter::SetJobAffinity(), CGridJobBatchSubmitter::SetJobInput(), CGridJobBatchSubmitter::SetJobMask(), and CGridJobBatchSubmitter::SetJobTags().

int CGridCgiApplication::ProcessRequest CCgiContext ctx  )  [virtual, inherited]
 

Do not override this method yourself! -- it includes all the GRIDCGI specific machinery.

If you override it, do call CGridCgiApplication::ProcessRequest() from inside your overriding method.

Implements CCgiApplication.

Reimplemented in CCgiTunnel2Grid.

Definition at line 239 of file grid_cgiapp.cpp.

References CGridClient::CancelJob(), CGridCgiContext::Clear(), CGridCgiApplication::CollectParams(), ERR_POST_X, CNetScheduleException::eTooManyPendingJobs, CGridCgiContext::GetEntryValue(), CException::GetErrCode(), CGridCgiApplication::GetGridClient(), CGridCgiContext::GetHiddenFields(), CGridClient::GetJobSubmitter(), CGridCgiApplication::GetPageTemplate(), CGridCgiApplication::GetPageTitle(), CCgiContext::GetResponse(), CGridCgiContext::GetSelfURL(), CGridCgiApplication::m_FirstDelay, CGridCgiApplication::m_RefreshDelay, CGridCgiApplication::m_Response, CGridCgiApplication::OnBeginProcessRequest(), CGridCgiApplication::OnEndProcessRequest(), CGridCgiApplication::OnJobFailed(), CGridCgiApplication::OnJobSubmitted(), CGridCgiApplication::OnQueueIsBusy(), CGridCgiContext::PersistEntry(), CGridCgiApplication::PrepareJobData(), CGridCgiApplication::RenderRefresh(), auto_ptr< X >::reset(), CGridCgiContext::SetJobKey(), CGridCgiApplication::ShowParamsPage(), SleepMilliSec(), CGridJobSubmitter::Submit(), CException::what(), CGridCgiApplication::x_CheckJobStatus(), and CGridCgiApplication::x_JobStopRequested().

void CGridClient::RemoveDataBlob const string &  data_key  )  [inherited]
 

Remove a data blob from the storage.

Parameters:
data_key Blob key

Definition at line 78 of file grid_client.cpp.

References IBlobStorage::DeleteBlob(), IBlobStorage::IsKeyValid(), and CGridClient::m_NSStorage.

Referenced by CGridJobStatus::GetStatus().

void CGridCgiApplication::RenderRefresh CHTMLPage page,
const string &  url,
int  delay
[protected, inherited]
 

Definition at line 368 of file grid_cgiapp.cpp.

References CHTMLPage::AddTagMap(), NStr::IntToString(), CGridCgiApplication::m_Response, and CCgiResponse::SetHeaderValue().

Referenced by CCgiTunnel2Grid::OnJobCanceled(), CCgi2RCgiApp::OnJobCanceled(), CCgiTunnel2Grid::OnJobDone(), CCgiTunnel2Grid::OnJobFailed(), CCgi2RCgiApp::OnJobFailed(), CCgiTunnel2Grid::OnQueueIsBusy(), CCgi2RCgiApp::OnQueueIsBusy(), and CGridCgiApplication::ProcessRequest().

void CGridJobBatchSubmitter::Reset  )  [inherited]
 

Definition at line 231 of file grid_client.cpp.

References CGridJobBatchSubmitter::m_HasBeenSubmitted, CGridJobBatchSubmitter::m_JobIndex, CGridJobBatchSubmitter::m_Jobs, CGridJobBatchSubmitter::m_WStream, and auto_ptr< X >::reset().

void CGridCgiContext::SetCompleteResponse CNcbiIstream is  )  [inherited]
 

Definition at line 156 of file grid_cgiapp.cpp.

References CCgiContext::GetResponse(), CGridCgiContext::m_CgiContext, CGridCgiContext::m_NeedRenderPage, and CCgiResponse::out().

Referenced by CCgi2RCgiApp::OnJobDone().

void CGridJobBatchSubmitter::SetJobAffinity const string &  affinity  )  [inherited]
 

Set a job affinity.

Definition at line 197 of file grid_client.cpp.

References CGridJobBatchSubmitter::m_HasBeenSubmitted, CGridJobBatchSubmitter::m_JobIndex, CGridJobBatchSubmitter::m_Jobs, NCBI_THROW, and CGridJobBatchSubmitter::PrepareNextJob().

void CGridJobSubmitter::SetJobAffinity const string &  affinity  )  [inherited]
 

Set a job affinity.

Definition at line 112 of file grid_client.cpp.

References CNetScheduleJob::affinity, and CGridJobSubmitter::m_Job.

void CGridCgiContext::SetJobInput const string &  input  )  [inline, private, inherited]
 

Definition at line 122 of file grid_cgiapp.hpp.

References CGridCgiContext::m_JobInput.

Referenced by CGridCgiApplication::x_CheckJobStatus().

void CGridJobBatchSubmitter::SetJobInput const string &  input  )  [inherited]
 

Set a job's input This string will be sent to then the job is submitted.

This method can be used to send a short data to the worker node. To send a large data use GetOStream method. Don't call this method after GetOStream method is called.

Definition at line 148 of file grid_client.cpp.

References CGridJobBatchSubmitter::m_HasBeenSubmitted, CGridJobBatchSubmitter::m_JobIndex, CGridJobBatchSubmitter::m_Jobs, NCBI_THROW, and CGridJobBatchSubmitter::PrepareNextJob().

void CGridJobSubmitter::SetJobInput const string &  input  )  [inherited]
 

Set a job's input This string will be sent to then the job is submitted.

This method can be used to send a short data to the worker node. To send a large data use GetOStream method. Don't call this method after GetOStream method is called.

Definition at line 100 of file grid_client.cpp.

References CNetScheduleJob::input, and CGridJobSubmitter::m_Job.

Referenced by CCgiTunnel2Grid::PrepareJobData().

void CGridCgiContext::SetJobKey const string &  job_key  )  [private, inherited]
 

Definition at line 98 of file grid_cgiapp.cpp.

References CGridCgiContext::PersistEntry().

Referenced by CGridCgiApplication::ProcessRequest().

void CGridJobBatchSubmitter::SetJobMask CNetScheduleAPI::TJobMask  mask  )  [inherited]
 

Set a job mask.

Definition at line 177 of file grid_client.cpp.

References CGridJobBatchSubmitter::m_HasBeenSubmitted, CGridJobBatchSubmitter::m_JobIndex, CGridJobBatchSubmitter::m_Jobs, NCBI_THROW, and CGridJobBatchSubmitter::PrepareNextJob().

void CGridJobSubmitter::SetJobMask CNetScheduleAPI::TJobMask  mask  )  [inherited]
 

Set a job mask.

Definition at line 104 of file grid_client.cpp.

References CGridJobSubmitter::m_Job, and CNetScheduleJob::mask.

void CGridCgiContext::SetJobOutput const string &  output  )  [inline, private, inherited]
 

Definition at line 123 of file grid_cgiapp.hpp.

References CGridCgiContext::m_JobOutput.

Referenced by CGridCgiApplication::x_CheckJobStatus().

void CGridCgiContext::SetJobProgressMessage const string &  msg  )  [inline, private, inherited]
 

Definition at line 120 of file grid_cgiapp.hpp.

References CGridCgiContext::m_ProgressMsg.

Referenced by CGridCgiApplication::x_CheckJobStatus().

void CGridJobBatchSubmitter::SetJobTags const CNetScheduleAPI::TJobTags tags  )  [inherited]
 

Set job tags.

Definition at line 187 of file grid_client.cpp.

References CGridJobBatchSubmitter::m_HasBeenSubmitted, CGridJobBatchSubmitter::m_JobIndex, CGridJobBatchSubmitter::m_Jobs, NCBI_THROW, and CGridJobBatchSubmitter::PrepareNextJob().

void CGridJobSubmitter::SetJobTags const CNetScheduleAPI::TJobTags tags  )  [inherited]
 

Set job tags.

Definition at line 108 of file grid_client.cpp.

References CGridJobSubmitter::m_Job, and CNetScheduleJob::tags.

void CGridWorkerApp::SetListener IGridWorkerNodeApp_Listener listener  )  [inline, inherited]
 

Register a listener of events of this class.

Note:
This object takes ownership over the listener object and will automatically 'delete' it.
Parameters:
listener A pointer to the listener object. NULL can be passed to stop listening and reset the internal pointer to the default handler.

Definition at line 183 of file grid_worker_app.hpp.

References CGridWorkerApp::m_WorkerNode.

void CGridWorkerApp::SetMergeLogLines bool  merge_log_lines = true  )  [inline, inherited]
 

Sets the default logging format for this application.

Can be overridden by the [log]/merge_lines configuration parameter. This method must be called before the Init() method is invoked, otherwise it will have no effect.

Parameters:
merge_log_lines If true, multiple log lines will be concatenated and separated by a semicolon. If false, the lines are not concatenated.

Definition at line 188 of file grid_worker_app.hpp.

References CGridWorkerApp::m_MergeLogLines.

virtual void CGridCgiApplication::ShowParamsPage CGridCgiContext ctx  )  const [protected, pure virtual, inherited]
 

Show a page with input data.

Implemented in CCgi2RCgiApp, CCgiTunnel2Grid, and CGridCgiSampleApplication.

Referenced by CGridCgiApplication::ProcessRequest().

void CGridJobBatchSubmitter::Submit  )  [inherited]
 

Submit a batch to the queue.

Definition at line 218 of file grid_client.cpp.

References CGridClient::GetNSClient(), CGridJobBatchSubmitter::m_GridClient, CGridJobBatchSubmitter::m_HasBeenSubmitted, CGridJobBatchSubmitter::m_Jobs, CGridJobBatchSubmitter::m_WStream, NCBI_THROW, auto_ptr< X >::reset(), and CNetScheduleSubmitter::SubmitJobBatch().

string CGridJobSubmitter::Submit const string &  affinity = ""  )  [inherited]
 

Submit a job to the queue.

Returns:
a job key

Definition at line 131 of file grid_client.cpp.

References CNetScheduleJob::affinity, IBlobStorage::CreateEmptyBlob(), CGridClient::GetNSClient(), CGridClient::GetStorage(), CGridJobSubmitter::m_GridClient, CGridJobSubmitter::m_Job, CGridJobSubmitter::m_UseProgress, CGridJobSubmitter::m_WStream, CNetScheduleJob::progress_msg, CNetScheduleJob::Reset(), auto_ptr< X >::reset(), and CNetScheduleSubmitter::SubmitJob().

Referenced by CGI2GRID_ComposeHtmlPage(), CGridCgiApplication::ProcessRequest(), and CRemoteAppClientSampleApp::Run().

bool CGridClientApp::UseAutomaticCleanup  )  const [protected, virtual, inherited]
 

Reimplemented in CNSSubmitRemoteJobApp, and CRemoteAppClientSampleApp.

Definition at line 82 of file grid_client_app.cpp.

Referenced by CGridClientApp::Init().

bool CGridClientApp::UseProgressMessage  )  const [protected, virtual, inherited]
 

Reimplemented in CGridClientSampleApp, and CRemoteAppClientSampleApp.

Definition at line 78 of file grid_client_app.cpp.

Referenced by CGridClientApp::Init().

bool CGridCgiApplication::x_CheckJobStatus CGridCgiContext grid_ctx  )  [private, inherited]
 

Definition at line 388 of file grid_cgiapp.cpp.

References _ASSERT, CNetScheduleAPI::eCanceled, CNetScheduleAPI::eDone, CNetScheduleAPI::eFailed, CNetScheduleAPI::eJobNotFound, CNetScheduleAPI::ePending, CNetScheduleAPI::eReturned, CNetScheduleAPI::eRunning, CGridCgiContext::GetCGIContext(), CGridCgiContext::GetEntryValue(), CGridCgiApplication::GetGridClient(), CGridJobStatus::GetJobInput(), CGridJobStatus::GetJobOutput(), CGridClient::GetJobStatus(), CCgiContext::GetResponse(), CGridJobStatus::GetStatus(), CGridCgiApplication::OnJobCanceled(), CGridCgiApplication::OnJobDone(), CGridCgiApplication::OnJobFailed(), CGridCgiApplication::OnJobPending(), CGridCgiApplication::OnJobRunning(), CGridCgiContext::SetJobInput(), CGridCgiContext::SetJobOutput(), CGridCgiContext::SetJobProgressMessage(), CCgiApplication::SetRequestId(), and CNetScheduleAPI::StatusToString().

Referenced by CGridCgiApplication::ProcessRequest().

void CGridJobStatus::x_GetJobDetails  )  [private, inherited]
 

Definition at line 310 of file grid_client.cpp.

References CNetScheduleSubmitter::GetJobDetails(), CGridClient::GetNSClient(), CGridJobStatus::m_GridClient, CGridJobStatus::m_Job, and CGridJobStatus::m_JobDetailsRead.

Referenced by CGridJobStatus::GetErrorMessage(), CGridJobStatus::GetIStream(), CGridJobStatus::GetJobInput(), CGridJobStatus::GetJobOutput(), CGridJobStatus::GetReturnCode(), and CGridJobStatus::GetStatus().

bool CGridCgiApplication::x_JobStopRequested const CGridCgiContext  )  const [private, inherited]
 

Definition at line 359 of file grid_cgiapp.cpp.

References CGridCgiContext::GetEntryValue(), and CGridCgiApplication::JobStopRequested().

Referenced by CGridCgiApplication::ProcessRequest().

void CGridJobStatus::x_SetJobKey const string &  job_key  )  [private, inherited]
 

Definition at line 301 of file grid_client.cpp.

References CNetScheduleJob::job_id, CGridJobStatus::m_BlobSize, CGridJobStatus::m_Job, CGridJobStatus::m_JobDetailsRead, CGridJobStatus::m_RStream, auto_ptr< X >::reset(), and CNetScheduleJob::Reset().

CGridCgiContext::~CGridCgiContext  )  [inherited]
 

Definition at line 58 of file grid_cgiapp.cpp.


Variable Documentation

const char* kNetScheduleAPIDriverName
 

Definition at line 119 of file netschedule_api.cpp.

Referenced by CNetScheduleClientFactory::CreateInstance(), CGridClientApp::Init(), CGridWorkerNode::Run(), CNSSubmitRemoteJobApp::Run(), CNSRemoveJobControlApp::Run(), and SNetScheduleAPIImpl::SNetScheduleAPIImpl().

bool CGridJobStatus::m_AutoCleanUp [private, inherited]
 

Definition at line 235 of file grid_client.hpp.

Referenced by CGridJobStatus::GetStatus().

size_t CGridJobStatus::m_BlobSize [private, inherited]
 

Definition at line 234 of file grid_client.hpp.

Referenced by CGridJobStatus::GetBlobSize(), CGridJobStatus::GetIStream(), and CGridJobStatus::x_SetJobKey().

CCgiContext& CGridCgiContext::m_CgiContext [private, inherited]
 

Definition at line 127 of file grid_cgiapp.hpp.

Referenced by CGridCgiContext::GetCGIContext(), CGridCgiContext::GetSelfURL(), CGridCgiContext::PersistEntry(), and CGridCgiContext::SetCompleteResponse().

int CGridCgiApplication::m_FirstDelay [private, inherited]
 

Definition at line 270 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::InitGridClient(), and CGridCgiApplication::ProcessRequest().

auto_ptr<CGridClient> CGridCgiApplication::m_GridClient [private, inherited]
 

Definition at line 276 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::GetGridClient().

auto_ptr<CGridClient> CGridClientApp::m_GridClient [private, inherited]
 

Definition at line 82 of file grid_client_app.hpp.

Referenced by CGridClientApp::GetGridClient(), and CGridClientApp::Init().

CGridClient& CGridJobStatus::m_GridClient [private, inherited]
 

Definition at line 232 of file grid_client.hpp.

Referenced by CGridJobStatus::GetIStream(), CGridJobStatus::GetProgressMessage(), CGridJobStatus::GetStatus(), and CGridJobStatus::x_GetJobDetails().

CGridClient& CGridJobBatchSubmitter::m_GridClient [private, inherited]
 

Definition at line 160 of file grid_client.hpp.

Referenced by CGridJobBatchSubmitter::GetOStream(), and CGridJobBatchSubmitter::Submit().

CGridClient& CGridJobSubmitter::m_GridClient [private, inherited]
 

Definition at line 100 of file grid_client.hpp.

Referenced by CGridJobSubmitter::GetOStream(), and CGridJobSubmitter::Submit().

bool CGridJobBatchSubmitter::m_HasBeenSubmitted [private, inherited]
 

Definition at line 163 of file grid_client.hpp.

Referenced by CGridJobBatchSubmitter::GetOStream(), CGridJobBatchSubmitter::PrepareNextJob(), CGridJobBatchSubmitter::Reset(), CGridJobBatchSubmitter::SetJobAffinity(), CGridJobBatchSubmitter::SetJobInput(), CGridJobBatchSubmitter::SetJobMask(), CGridJobBatchSubmitter::SetJobTags(), and CGridJobBatchSubmitter::Submit().

CNetScheduleJob CGridJobStatus::m_Job [private, inherited]
 

Definition at line 233 of file grid_client.hpp.

Referenced by CGridJobStatus::GetErrorMessage(), CGridJobStatus::GetIStream(), CGridJobStatus::GetJobInput(), CGridJobStatus::GetJobOutput(), CGridJobStatus::GetProgressMessage(), CGridJobStatus::GetReturnCode(), CGridJobStatus::GetStatus(), CGridJobStatus::x_GetJobDetails(), and CGridJobStatus::x_SetJobKey().

CNetScheduleJob CGridJobSubmitter::m_Job [private, inherited]
 

Definition at line 101 of file grid_client.hpp.

Referenced by CGridJobSubmitter::GetOStream(), CGridJobSubmitter::SetJobAffinity(), CGridJobSubmitter::SetJobInput(), CGridJobSubmitter::SetJobMask(), CGridJobSubmitter::SetJobTags(), and CGridJobSubmitter::Submit().

auto_ptr<CGridJobBatchSubmitter> CGridClient::m_JobBatchSubmitter [private, inherited]
 

Definition at line 318 of file grid_client.hpp.

Referenced by CGridClient::CGridClient(), and CGridClient::GetJobBatchSubmitter().

bool CGridJobStatus::m_JobDetailsRead [private, inherited]
 

Definition at line 238 of file grid_client.hpp.

Referenced by CGridJobStatus::x_GetJobDetails(), and CGridJobStatus::x_SetJobKey().

size_t CGridJobBatchSubmitter::m_JobIndex [private, inherited]
 

Definition at line 162 of file grid_client.hpp.

Referenced by CGridJobBatchSubmitter::GetOStream(), CGridJobBatchSubmitter::PrepareNextJob(), CGridJobBatchSubmitter::Reset(), CGridJobBatchSubmitter::SetJobAffinity(), CGridJobBatchSubmitter::SetJobInput(), CGridJobBatchSubmitter::SetJobMask(), and CGridJobBatchSubmitter::SetJobTags().

string CGridCgiContext::m_JobInput [private, inherited]
 

Definition at line 131 of file grid_cgiapp.hpp.

Referenced by CGridCgiContext::GetJobInput(), and CGridCgiContext::SetJobInput().

string CGridCgiContext::m_JobOutput [private, inherited]
 

Definition at line 132 of file grid_cgiapp.hpp.

Referenced by CGridCgiContext::GetJobOutput(), and CGridCgiContext::SetJobOutput().

vector<CNetScheduleJob> CGridJobBatchSubmitter::m_Jobs [private, inherited]
 

Definition at line 161 of file grid_client.hpp.

Referenced by CGridJobBatchSubmitter::GetBatch(), CGridJobBatchSubmitter::GetOStream(), CGridJobBatchSubmitter::PrepareNextJob(), CGridJobBatchSubmitter::Reset(), CGridJobBatchSubmitter::SetJobAffinity(), CGridJobBatchSubmitter::SetJobInput(), CGridJobBatchSubmitter::SetJobMask(), CGridJobBatchSubmitter::SetJobTags(), and CGridJobBatchSubmitter::Submit().

auto_ptr<CGridJobStatus> CGridClient::m_JobStatus [private, inherited]
 

Definition at line 319 of file grid_client.hpp.

Referenced by CGridClient::CGridClient(), and CGridClient::GetJobStatus().

auto_ptr<CGridJobSubmitter> CGridClient::m_JobSubmitter [private, inherited]
 

Definition at line 317 of file grid_client.hpp.

Referenced by CGridClient::CGridClient(), and CGridClient::GetJobSubmitter().

bool CGridCgiContext::m_NeedRenderPage [private, inherited]
 

Definition at line 133 of file grid_cgiapp.hpp.

Referenced by CGridCgiContext::NeedRenderPage(), and CGridCgiContext::SetCompleteResponse().

CNetScheduleAPI CGridCgiApplication::m_NSClient [private, inherited]
 

Definition at line 274 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::InitGridClient().

CNetScheduleSubmitter CGridClient::m_NSClient [private, inherited]
 

Definition at line 314 of file grid_client.hpp.

Referenced by CGridClient::CancelJob(), CGridClient::GetMaxServerInputSize(), and CGridClient::GetNSClient().

auto_ptr<IBlobStorage> CGridCgiApplication::m_NSStorage [private, inherited]
 

Definition at line 275 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::InitGridClient().

auto_ptr<IBlobStorage> CGridClientApp::m_NSStorage [private, inherited]
 

Definition at line 81 of file grid_client_app.hpp.

Referenced by CGridClientApp::Init().

IBlobStorage& CGridClient::m_NSStorage [private, inherited]
 

Definition at line 315 of file grid_client.hpp.

Referenced by CGridClient::GetStorage(), and CGridClient::RemoveDataBlob().

CHTMLPage& CGridCgiContext::m_Page [private, inherited]
 

Definition at line 126 of file grid_cgiapp.hpp.

Referenced by CGridCgiContext::GetHTMLPage().

TCgiEntries CGridCgiContext::m_ParsedQueryString [private, inherited]
 

Definition at line 128 of file grid_cgiapp.hpp.

Referenced by CGridCgiContext::CGridCgiContext(), and CGridCgiContext::PersistEntry().

TPersistedEntries CGridCgiContext::m_PersistedEntries [private, inherited]
 

Definition at line 129 of file grid_cgiapp.hpp.

Referenced by CGridCgiContext::Clear(), CGridCgiContext::GetEntryValue(), CGridCgiContext::GetHiddenFields(), CGridCgiContext::GetSelfURL(), and CGridCgiContext::PersistEntry().

string CGridCgiContext::m_ProgressMsg [private, inherited]
 

Definition at line 130 of file grid_cgiapp.hpp.

Referenced by CGridCgiContext::GetJobProgressMessage(), and CGridCgiContext::SetJobProgressMessage().

int CGridCgiApplication::m_RefreshDelay [private, inherited]
 

Definition at line 269 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::InitGridClient(), and CGridCgiApplication::ProcessRequest().

CCgiResponse* CGridCgiApplication::m_Response [private, inherited]
 

Definition at line 277 of file grid_cgiapp.hpp.

Referenced by CGridCgiApplication::ProcessRequest(), and CGridCgiApplication::RenderRefresh().

auto_ptr<CNcbiIstream> CGridJobStatus::m_RStream [private, inherited]
 

Definition at line 237 of file grid_client.hpp.

Referenced by CGridJobStatus::GetIStream(), and CGridJobStatus::x_SetJobKey().

bool CGridClient::m_UseEmbeddedStorage [private, inherited]
 

Definition at line 321 of file grid_client.hpp.

Referenced by CGridClient::GetMaxServerInputSize().

bool CGridJobStatus::m_UseProgress [private, inherited]
 

Definition at line 236 of file grid_client.hpp.

Referenced by CGridJobStatus::GetProgressMessage(), and CGridJobStatus::GetStatus().

bool CGridJobSubmitter::m_UseProgress [private, inherited]
 

Definition at line 102 of file grid_client.hpp.

Referenced by CGridJobSubmitter::Submit().

auto_ptr<CNcbiOstream> CGridJobBatchSubmitter::m_WStream [private, inherited]
 

Definition at line 164 of file grid_client.hpp.

Referenced by CGridJobBatchSubmitter::GetOStream(), CGridJobBatchSubmitter::PrepareNextJob(), CGridJobBatchSubmitter::Reset(), and CGridJobBatchSubmitter::Submit().

auto_ptr<CNcbiOstream> CGridJobSubmitter::m_WStream [private, inherited]
 

Definition at line 103 of file grid_client.hpp.

Referenced by CGridJobSubmitter::GetOStream(), and CGridJobSubmitter::Submit().


Generated on Mon Dec 7 16:02:06 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:35 2009 by modify_doxy.py rev. 173732