BBSDirectServer Class Reference

#include <bbslsrv2.h>

Collaboration diagram for BBSDirectServer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BBSDirectServer ()
virtual ~BBSDirectServer ()
void post (const char *key)
boolean look (const char *key)
boolean look_take (const char *key)
boolean take_pending (const char *key, int *cid)
void put_pending (const char *key, int cid)
void start ()
void done ()
void post_todo (int parentid, int cid)
void context (int ncid, int *cids)
boolean send_context (int cid)
void post_result (int id)
int look_take_todo ()
int look_take_result (int parentid)
 BBSDirectServer ()
virtual ~BBSDirectServer ()
void post (const char *key, bbsmpibuf *)
boolean look (const char *key, bbsmpibuf **)
boolean look_take (const char *key, bbsmpibuf **)
boolean take_pending (const char *key, int *cid)
void put_pending (const char *key, int cid)
void start ()
void done ()
void post_todo (int parentid, int cid, bbsmpibuf *)
void context (bbsmpibuf *)
boolean send_context (int cid)
void post_result (int id, bbsmpibuf *)
int look_take_todo (bbsmpibuf **)
int look_take_result (int parentid, bbsmpibuf **)
void context_wait ()

Static Public Member Functions

static void handle ()
static void handle1 ()
static void handle ()
static void handle1 (int size, int tag, int source)

Static Public Attributes

static BBSDirectServerserver_

Private Member Functions

void add_looking_todo (int cid)
void add_looking_todo (int cid)

Private Attributes

PvmMessageList * messages_
PvmPendingList * pending_
PvmWorkList * work_
PvmLookingToDoList * looking_todo_
PvmReadyList * todo_
PvmResultList * results_
PvmLookingToDoList * send_context_
int next_id_
int context_buf_
int remaining_context_cnt_
MpiMessageList * messages_
MpiPendingList * pending_
MpiWorkList * work_
MpiLookingToDoList * looking_todo_
MpiReadyList * todo_
MpiResultList * results_
MpiLookingToDoList * send_context_
bbsmpibuf * context_buf_

Constructor & Destructor Documentation

BBSDirectServer::BBSDirectServer (  ) 
virtual BBSDirectServer::~BBSDirectServer (  )  [virtual]
BBSDirectServer::BBSDirectServer (  ) 
virtual BBSDirectServer::~BBSDirectServer (  )  [virtual]

Member Function Documentation

void BBSDirectServer::add_looking_todo ( int  cid  )  [private]
void BBSDirectServer::add_looking_todo ( int  cid  )  [private]
void BBSDirectServer::context ( bbsmpibuf *   ) 
void BBSDirectServer::context ( int  ncid,
int cids 
)
void BBSDirectServer::context_wait (  ) 
void BBSDirectServer::done (  ) 
void BBSDirectServer::done (  ) 
static void BBSDirectServer::handle (  )  [static]
static void BBSDirectServer::handle (  )  [static]
static void BBSDirectServer::handle1 ( int  size,
int  tag,
int  source 
) [static]
static void BBSDirectServer::handle1 (  )  [static]
boolean BBSDirectServer::look ( const char *  key,
bbsmpibuf **   
)
boolean BBSDirectServer::look ( const char *  key  ) 
boolean BBSDirectServer::look_take ( const char *  key,
bbsmpibuf **   
)
boolean BBSDirectServer::look_take ( const char *  key  ) 
int BBSDirectServer::look_take_result ( int  parentid,
bbsmpibuf **   
)
int BBSDirectServer::look_take_result ( int  parentid  ) 
int BBSDirectServer::look_take_todo ( bbsmpibuf **   ) 
int BBSDirectServer::look_take_todo (  ) 
void BBSDirectServer::post ( const char *  key,
bbsmpibuf *   
)
void BBSDirectServer::post ( const char *  key  ) 
void BBSDirectServer::post_result ( int  id,
bbsmpibuf *   
)
void BBSDirectServer::post_result ( int  id  ) 
void BBSDirectServer::post_todo ( int  parentid,
int  cid,
bbsmpibuf *   
)
void BBSDirectServer::post_todo ( int  parentid,
int  cid 
)
void BBSDirectServer::put_pending ( const char *  key,
int  cid 
)
void BBSDirectServer::put_pending ( const char *  key,
int  cid 
)
boolean BBSDirectServer::send_context ( int  cid  ) 
boolean BBSDirectServer::send_context ( int  cid  ) 
void BBSDirectServer::start (  ) 
void BBSDirectServer::start (  ) 
boolean BBSDirectServer::take_pending ( const char *  key,
int cid 
)
boolean BBSDirectServer::take_pending ( const char *  key,
int cid 
)

Member Data Documentation

bbsmpibuf* BBSDirectServer::context_buf_ [private]
MpiLookingToDoList* BBSDirectServer::looking_todo_ [private]
PvmLookingToDoList* BBSDirectServer::looking_todo_ [private]
MpiMessageList* BBSDirectServer::messages_ [private]
PvmMessageList* BBSDirectServer::messages_ [private]
MpiPendingList* BBSDirectServer::pending_ [private]
PvmPendingList* BBSDirectServer::pending_ [private]
MpiResultList* BBSDirectServer::results_ [private]
PvmResultList* BBSDirectServer::results_ [private]
MpiLookingToDoList* BBSDirectServer::send_context_ [private]
PvmLookingToDoList* BBSDirectServer::send_context_ [private]
MpiReadyList* BBSDirectServer::todo_ [private]
PvmReadyList* BBSDirectServer::todo_ [private]
MpiWorkList* BBSDirectServer::work_ [private]
PvmWorkList* BBSDirectServer::work_ [private]

The documentation for this class was generated from the following files:
Generated on Mon Jun 13 08:10:30 2011 for NEURON by  doxygen 1.6.3