uscxml::BasicHTTPIOProcessor Class Reference
  The basichttp I/O processor as per standard.
#include <BasicHTTPIOProcessor.h>
Inheritance diagram for uscxml::BasicHTTPIOProcessor:
Collaboration diagram for uscxml::BasicHTTPIOProcessor:
| Public Member Functions | |
| bool | canAdaptPath () | 
| Called by the server with the actual URL. | |
| virtual std::shared_ptr< IOProcessorImpl > | create (uscxml::IOProcessorCallbacks *callbacks) | 
| Factory demands a new instance.  More... | |
| void | downloadCompleted (const URL &url) | 
| void | downloadFailed (const URL &url, int errorCode) | 
| void | downloadStarted (const URL &url) | 
| virtual void | eventFromSCXML (const std::string &target, const Event &event) | 
| We received an event from the SCXML Interpreter we are associated with.  More... | |
| Data | getDataModelVariables () | 
| Export a Data object for the `_x['name']` data-model namespace.  More... | |
| virtual std::list< std::string > | getNames () | 
| Return a list of names for types we implement. | |
| virtual bool | isValidTarget (const std::string &target) | 
| Determine whether the given target is a valid destination for events.  More... | |
| bool | requestFromHTTP (const HTTPServer::Request &req) | 
| HTTPServlet.  More... | |
| void | setURL (const std::string &url) | 
|  Public Member Functions inherited from uscxml::URLMonitor | |
| virtual void | contentChunkReceived (const URL &url, const std::string &contentChunk) | 
| virtual void | headerChunkReceived (const URL &url, const std::string &headerChunk) | 
| Protected Attributes | |
| std::map< std::string, std::pair< URL, Event > > | _sendRequests | 
| std::string | _url | 
|  Protected Attributes inherited from uscxml::IOProcessorImpl | |
| IOProcessorCallbacks * | _callbacks | 
| Additional Inherited Members | |
|  Protected Member Functions inherited from uscxml::IOProcessorImpl | |
| void | eventToSCXML (Event &event, const std::string &type, const std::string &origin, bool internal=false) | 
| Return an event to the SCXML Interpreter instance.  More... | |
Member Function Documentation
| 
 | virtual | 
- Parameters
- 
  interpreter The imlementation of the associated Interpreter 
- Todo:
- We will eventually introduce callbacks and prevent complete access to the interpreter.
Implements uscxml::IOProcessorImpl.
| 
 | virtual | 
- Parameters
- 
  target Where the event is supposed to be delivered to. event The event to deliver. 
Implements uscxml::IOProcessorImpl.
| 
 | virtual | 
- Returns
- An object to be represented at `_x['name']`
Implements uscxml::EventHandlerImpl.
| 
 | virtual | 
- Parameters
- 
  target A target where the Interpreter wants to deliver Events to. 
- Returns
- Whether or not the target is valid.
Implements uscxml::IOProcessorImpl.
| 
 | virtual | 
If a single instance of the parameter '_scxmleventname' is present, the SCXML Processor must use its value as the name of the SCXML event that it raises.
Implements uscxml::HTTPServlet.
The documentation for this class was generated from the following files:
- plugins/ioprocessor/basichttp/BasicHTTPIOProcessor.h
- plugins/ioprocessor/basichttp/BasicHTTPIOProcessor.cpp
 
          
          