#include <BspProxyStubPool.hpp>
Public Member Functions | |
BspProxyStubPool (const Config &config) | |
string | createNewProxy (const string &ior) |
void | registerRemoteIor (string proxyId, int pid, string ior) |
void | takeYourPid (string proxyId, int pid) |
void | bspPut (string proxyId, BspPut &bspPut) |
void | bspSynch (string proxyId, int pid) |
void | bspSynchDone (string proxyId, int pid) |
void | bspGetRequest (const string &proxyId, const BspGetRequest &request) |
void | bspGetReply (const string &proxyId, const BspGetReply &response) |
Private Attributes | |
string | orbPath |
string | bspIdlPath |
lua_State * | clientSideState |
int | lastCreatedProxy |
A BspProxy is a CORBA object that represents each BSP task. A BspProxyStub is dynamically created in this class when requested. All stubs exists only as entities in a LUA state. They are maintained together to save memory, so that we need to load only one copy of the ORB and IDL.
|
Construct a BspProxyStubPool
|
|
Reply a remote read made by another BSP task.
|
|
Requests a remote read to another BSP task.
|
|
Performs a bsp_put on a remote task.
|
|
Signals to Process zero that the local task reached the synchronization barrier point.
|
|
Called by Process Zero only. Signals to remote tasks that barrier sinchronization is done.
|
|
Creates a new proxy in the pool
|
|
Calls the method registerRemoteIor on a remote object This method is used at initialization time, so that all tasks know the IOR of each other and can communicate on following steps.
|
|
Gives a PID to a given BSP task. This method is called ONLY by process zero at each of the BSP proxies in order to set the BSP PID of each of the tasks. This is called ONLY at initialization time
|
|
path to the BspLib IDL |
|
lua_state representing the client side |
|
Count the number of stubs already created |
|
O2 directory |