ape server side js module is recommended in version 1.0.
But you can also write c module according libape-spidermonkey.c
or http://github.com/bigml/APE_Server/blob/master/modules/libape-push.c
Basic skeleton is:
static ace_plugin_infos infos_module = {
...
};
static void init_module(acetables *g_ape)
{
....
}
static ace_callbacks callbacks = {
...
}
APE_INIT_PLUGIN(MODULE_NAME, init_module, callbacks)
BTW, there are a few examples in APE_SERVER_0.9's module directory,
for reference only.
2010/3/30 angu <[email protected]>
> Hi,
>
> does anybody know how to write APE module in C or C++. May be I
> overlooked documentation but it seems to me that there is no any
> example on Subj.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<ape-project%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>
> To unsubscribe from this group, send email to ape-project+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
To unsubscribe, reply using "remove me" as the subject.