version 1.25, 2002/05/24 20:32:39
|
version 1.26, 2002/05/29 17:53:33
|
|
|
class callback_handle | class callback_handle |
{ | { |
public: | public: |
|
static void * operator new(size_t ); |
|
static void operator delete(void *, size_t); |
|
private: |
|
static callback_handle *_head; |
|
static const int BLOCK_SIZE; |
|
static Mutex _alloc_mut; |
|
|
|
public: |
callback_handle(pegasus_module * module, void *parm) | callback_handle(pegasus_module * module, void *parm) |
: _module(module), _parm(parm) | : _module(module), _parm(parm) |
{ | { |
|
|
Boolean ClientSendAsync(const client_handle & handle, | Boolean ClientSendAsync(const client_handle & handle, |
Uint32 msg_handle, | Uint32 msg_handle, |
Uint32 destination_q, | Uint32 destination_q, |
String & destination_module, |
const String & destination_module, |
AsyncRequest *message, | AsyncRequest *message, |
void (*async_callback)(Uint32, Message *, void *), | void (*async_callback)(Uint32, Message *, void *), |
void *callback_parm ) | void *callback_parm ) |