#include <BspProxyImpl.hpp>
Collaboration diagram for BspProxyImpl:

Public Member Functions | |
| const string & | getIor () |
Static Public Member Functions | |
| BspProxyImpl & | init (BspCentral *bspCentral_, const Config &config) |
| BspProxyImpl & | getInstance () |
Private Member Functions | |
| BspProxyImpl (BspCentral *bspCentral_, const Config &config) | |
| void | serverSideSetup () |
Static Private Member Functions | |
| int | registerRemoteIorWrapper (struct lua_State *state) |
| int | takeYourPidWrapper (struct lua_State *state) |
| void * | serverSideSetupWrapper (void *ptr) |
| int | bspPutWrapper (struct lua_State *state) |
| int | bspSynchWrapper (struct lua_State *state) |
| int | bspSynchDoneWrapper (struct lua_State *state) |
| int | bspGetWrapper (struct lua_State *state) |
| int | bspGetRequestWrapper (struct lua_State *state) |
| int | bspGetReplyWrapper (struct lua_State *state) |
Private Attributes | |
| lua_State * | serverSideState |
| string | orbPath |
| string | bspIdlPath |
| string | myIor |
| BspCentral * | bspCentral |
Static Private Attributes | |
| BspProxyImpl * | singleInstance = NULL |
A BspProxy represents each of the BSP tasks and allows communication betwaeen them, This class handles only the communications' details. Functionality id delecated to the BspCentral class.
|
||||||||||||
|
Private constructor for singleton
|
|
|
Wrapper called by Lua code in order to let us call 'bspGetReply' on the single instance. |
|
|
Wrapper called by Lua code in order to let us call 'bspGetRequest' on the single instance. |
|
|
Wrapper called by Lua code in order to let us call 'bspGet' on the single instance. |
|
|
Wrapper called by Lua code in order to let us call 'bspPut' on the single instance. |
|
|
Wrapper called by Lua code in order to let us call 'bspSynchDone' on the single instance. |
|
|
Wrapper called by Lua code in order to let us call 'bspSynch' on the single instance. |
|
|
Returns a reference to the single instance |
|
|
Returns the IOR of this BspProxy |
|
||||||||||||
|
Initializes the single instance
|
|
|
Wrapper called by Lua code in order to let us call 'registerRemoteIor' on the single instance. |
|
|
Launches the request handler loop. |
|
|
Launches the request handler loop. Pthreads need a function pointer, so we need this static wrapper |
|
|
Wrapper called by Lua code in order to let us call 'takeYourPid' on the single instance. |
|
|
pointer to a BspCentral |
|
|
path to the BspLib IDL |
|
|
ior of this BspProxyImpl |
|
|
O2 directory |
|
|
lua_state representing the server side |
|
|
singleton |
1.3.3