Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Job::Server Class Reference

#include <Server.h>

Inheritance diagram for Impala::Job::Server:

Inheritance graph
[legend]
Collaboration diagram for Impala::Job::Server:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Impala::Job::Server::Job Job

Public Member Functions

 Server (int port, int nrPorts, CString passwordFile)
virtual ~Server ()
virtual void HandleIdle ()
virtual void HandleDisconnect (int port)
bool JobQueueFull ()
int AddToJobQueue (Job *job)
JobFindJob (int jobId)
JobPopFirstFromJobQueue ()

Protected Member Functions

virtual int AcceptRequest (char *buf, int len, int bufSize, CString conn, int port)
virtual void AcceptNewJob (char *buf, int len, int bufSize, CString conn, int port)
virtual void AcceptRequestForStatus (char *buf, int len, int bufSize, CString conn, int port)
virtual void AcceptRequestForJob (char *buf, int len, int bufSize, CString conn, int port)
virtual void AcceptJobStatus (char *buf, int len, int bufSize, CString conn, int port)

Private Types

typedef Job::State JobState
typedef Job::State::StateType JobStateType

Private Member Functions

void Init ()
void RemoveJobsAccepted (int srcPort)
void RescheduleJob (int port)

Private Attributes

bool mPoisoned
int mNextJobId
std::deque< Job * > mJobsWaiting
std::deque< Job * > mJobsDone
std::map< int, Job * > mJobByPort
 ILOG_VAR_DECL

Classes

struct  Job

Detailed Description

Definition at line 23 of file Server.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:34:04 2010 for ImpalaSrc by  doxygen 1.5.1