-buffer Helper for transport layers using buffers

Functions

uint16 AsebaGetBuffer (AsebaVMState *vm, uint8 *data, uint16 maxLength, uint16 *source)
const AsebaLocalEventDescriptionAsebaGetLocalEventsDescriptions (AsebaVMState *vm)
const
AsebaNativeFunctionDescription
*const * 
AsebaGetNativeFunctionsDescriptions (AsebaVMState *vm)
const AsebaVMDescriptionAsebaGetVMDescription (AsebaVMState *vm)
void AsebaProcessIncomingEvents (AsebaVMState *vm)
void AsebaSendBuffer (AsebaVMState *vm, const uint8 *data, uint16 length)

Detailed Description

This helper provides to the VM: AsebaSendMessage() AsebaSendVariables() AsebaSendDescription()

This helper provides to the glue code: AsebaProcessIncomingEvents()

This helper requires from the lower level transport layer: AsebaSendBuffer() AsebaGetBuffer()

This helper requires from the glue code: AsebaGetVMDescription() AsebaGetNativeFunctionsDescriptions()

To have a working implementation, the glue code must still implement: AsebaNativeFunction() AsebaAssert(), if ASEBA_ASSERT is defined


Function Documentation

uint16 AsebaGetBuffer ( AsebaVMState vm,
uint8 data,
uint16  maxLength,
uint16 source 
)

Definition at line 937 of file challenge.cpp.

const AsebaLocalEventDescription* AsebaGetLocalEventsDescriptions ( AsebaVMState vm  ) 

Definition at line 957 of file challenge.cpp.

const AsebaNativeFunctionDescription* const* AsebaGetNativeFunctionsDescriptions ( AsebaVMState vm  ) 

Definition at line 962 of file challenge.cpp.

const AsebaVMDescription* AsebaGetVMDescription ( AsebaVMState vm  ) 

Definition at line 947 of file challenge.cpp.

void AsebaProcessIncomingEvents ( AsebaVMState vm  ) 

Read messages and process messages from transport layer, if any

Definition at line 189 of file vm-buffer.c.

void AsebaSendBuffer ( AsebaVMState vm,
const uint8 data,
uint16  length 
)

Definition at line 925 of file challenge.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


asebaros
Author(s): $author
autogenerated on Mon Sep 5 08:42:05 2011