Largely virtual base class used for all Aft transport implementations.
More...
#include <AftTransport.h>
Largely virtual base class used for all Aft transport implementations.
| virtual bool AftTransport::alloc |
( |
const std::string & |
engineName, |
|
|
const std::string & |
name, |
|
|
const uint32_t |
inputPorts, |
|
|
const uint32_t |
outputPorts |
|
) |
| |
|
pure virtual |
Release the memory and all the nodes associated with a sandbox.
- Parameters
-
| [in] | engineName | Name of the engine that we create the sandbox with |
| [in] | name | Name of the sandbox the transport should create |
| [in] | inputPorts | Number of input ports to allocate for sandbox |
| [in] | outputPorts | Number of output ports to allocate for sandbox |
- Return values
-
| true | Alloc was successful |
| false | Alloc failed |
| virtual bool AftTransport::open |
( |
const std::string & |
name, |
|
|
AftSandboxPtr & |
sandbox |
|
) |
| |
|
pure virtual |
Open a connection(s)
- Parameters
-
| [in] | name | Name of the sandbox the transport controls |
| [in] | sandbox | Reference to the receiver instance used to handle incoming events |
- Return values
-
| true | Open was successful |
| false | Open failed |
- Returns
- Returns pointer to the event receiver
| virtual bool AftTransport::release |
( |
const std::string & |
name | ) |
|
|
pure virtual |
Release the memory and all the nodes associated with a sandbox.
- Parameters
-
| [in] | name | Name of the sandbox the transport controls |
| virtual void AftTransport::send |
( |
const AftInsertPtr & |
newInsert | ) |
|
|
pure virtual |
Send an AftInsert to the sandbox on the server.
- Parameters
-
| [in] | newInsert | Reference to the AftInsert to send |
| virtual void AftTransport::send |
( |
const AftRemovePtr & |
newRemove | ) |
|
|
pure virtual |
Send an AftRemove to the sandbox on the server.
- Parameters
-
| [in] | newRemove | Reference to the AftRemove to send |
Set the event receiver for the transport.
- Parameters
-
| [in] | receiver | Reference to the receiver to use for events |
| void AftTransport::setTracing |
( |
const bool |
tracingEnabled | ) |
|
|
inline |
Enable or disable transport tracing.
- Parameters
-
| [in] | tracingEnabled | True if transport tracing should be enabled |
| bool AftTransport::tracing |
( |
| ) |
const |
|
inline |
- Returns
- True if transport tracing is enabled
The documentation for this class was generated from the following file: