simplest test for REQMOD vs. RESPMOD
Asked by
Tom
What is the simplest or most appropriate test that I can make, in Xaction::start(), to determine whether this instance is a REQMOD or RESPMOD?
The best suggestion that I've found was the code sample Alex provided to get the URI, using either hostx->virgin() or hostx->cause(). The comments in the libecap source for host\xaction.h say the virgin() result is "always present" and the result for cause() seems to be only for the response. Would that imply a test for hostx->cause() is the appropriate way to test for whether this is a REQMOD or RESPMOD? Is there some other, better or preferred approach?
Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- eCAP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alex Rousskov
- Solved:
- Last query:
- Last reply:
To post a message you must log in.