Classes used to define the underlying server classes and architecture.
More...
Classes used to define the underlying server classes and architecture.
virtual bool AftServer::alloc |
( |
const std::string & |
engineName, |
|
|
const std::string & |
name, |
|
|
const uint16_t |
inputPorts, |
|
|
const uint16_t |
outputPorts |
|
) |
| |
|
pure virtual |
Allocate a new sandbox on the nominated engine.
- Parameters
-
[in] | engineName | Name of engine to use to allocate sandbox |
[in] | name | Name of sandbox to allocate |
[in] | inputPorts | Maxiumum number of input ports the sandbox can have |
[in] | outputPorts | Maxiumum number of output ports the sandbox can have |
- Returns
- True if the allocation was successful
virtual void AftServer::close |
( |
const std::string & |
name | ) |
|
|
pure virtual |
Close an open sandbox and unbind the transport.
- Parameters
-
[in] | name | Name of sandbox to close |
virtual bool AftServer::find |
( |
const std::string & |
name, |
|
|
AftTransportPtr & |
transport |
|
) |
| |
|
pure virtual |
Find transport for named sandbox.
- Parameters
-
[in] | name | Name of sandbox |
[out] | transport | Reference to transport for sandbox |
- Returns
- True if transport found
Open an existing sandbox on the server.
- Parameters
-
[in] | name | Name of sandbox to open |
[in] | transport | Transport that the sandbox open request arrived on |
[out] | sandbox | Reference to AftSandbox that was opened if the open() is successful |
- Returns
- True if the open was successful
virtual bool AftServer::release |
( |
const std::string & |
name | ) |
|
|
pure virtual |
Release an existing sandbox and all associated resources on the server.
- Parameters
-
[in] | name | Name of sandbox to release |
- Returns
- True if the release was successful