#include <bayonne.h>
Inheritance diagram for TrunkImage:
Public Methods | |
TrunkImage () | |
Construct a new script image, normally done in the plugin. | |
virtual | ~TrunkImage () |
void | setProxy (const char *addr, tpport_t port) |
Initial proxy setup. More... | |
virtual bool | Loader (trunkdata_t *data) = 0 |
Load and parse an XML resource into a ccScript runtime engine. More... | |
void | Purge (void) |
Access to the purge method of the script image. | |
void* | alloc (unsigned size) |
Access to the image paged memory allocator. More... | |
Protected Methods | |
void | Close (void) |
void | getCompile (const char *name = "#") |
Get a scriptname object for a named script segment. More... | |
void | setCompile (unsigned trap) |
Set the compiler for a specific event chain in the script. More... | |
void | putCompile (compile_t *cc) |
Cleanup a compile phase operation. More... | |
void | addCompile (unsigned long mask, const char *cmd, const char **args) |
Add a statement to the active session. More... | |
void | setToken (const unsigned char **attrib) |
Initialize token and parsing. More... | |
const char* | getToken (void) |
Fetch a local token. More... | |
virtual unsigned long | getDefaultMask (void) |
Trap default mask to apply. More... | |
const char* | getAttribute (const char *key, const char *value = NULL) |
Used to extract a specific attribute for an element. More... | |
Protected Attributes | |
compile_t* | main |
compile_t * | current |
|
Construct a new script image, normally done in the plugin.
|
|
|
|
|
|
Load and parse an XML resource into a ccScript runtime engine. The plugin impliments a derived class which performs a specific dialect.
|
|
Access to the purge method of the script image.
|
|
Add a statement to the active session.
|
|
Access to the image paged memory allocator.
|
|
Used to extract a specific attribute for an element.
|
|
Get a scriptname object for a named script segment.
|
|
Trap default mask to apply.
|
|
Fetch a local token.
|
|
Cleanup a compile phase operation.
|
|
Set the compiler for a specific event chain in the script.
|
|
Initial proxy setup.
|
|
Initialize token and parsing.
|
|
|
|
|