TProcessorEventHandler

Handles events from a processor.

Members

Functions

createContext
Variant createContext(string methodName, Variant connectionContext)

Called before calling other callback methods.

deleteContext
void deleteContext(Variant callContext, string methodName)

Called when handling the method associated with a context has been finished – can be used to perform clean up work.

handlerError
void handlerError(Variant callContext, string methodName, Exception e)

Called if the handler throws an undeclared exception.

onewayComplete
void onewayComplete(Variant callContext, string methodName)

Called when handling a one-way function call is completed successfully.

postRead
void postRead(Variant callContext, string methodName)

Called between reading arguments and calling the handler.

postWrite
void postWrite(Variant callContext, string methodName)

Called after writing the response.

preRead
void preRead(Variant callContext, string methodName)

Called before reading arguments.

preWrite
void preWrite(Variant callContext, string methodName)

Called between calling the handler and writing the response.

Meta