#include <WsfCommTransportLayer.hpp>
|
| bool | Receive (double aSimTime, Comm *aXmtrPtr, Message &aMessage, bool &aNotifyNextLayer) override |
| bool | Send (double aSimTime, size_t aLayerIndex, Message &aMessage, bool &aNotifyNextLayer) override |
◆ anonymous enum
The bit mask values indicate the presence of certain capabilities usually attributed to a type of protocol as defined in the transport layer. The mask is stored via mTransportFeature. Presence of the bit value indicates the protocol incorporates a specific feature, as described below. Note that at this time, not all of these values are used but are provided for future or extended capabilities. NOTE: Most of the below are specific to the mechanics of packet based delivery. AFSIM comms are message based, and therefore do not split messages into packets. However, this mode of operation is possible given user extension of layer mechanics, and some of these features have implications that can be simulated in general simulation use. For example, reliable transport, can generally be applied to the message reception itself (such as if a packet went missing during a TCP transmission), to indicate message transmission failure that can be modeled with a general transmit failure.
| Enumerator |
|---|
| cRELIABLE_TRANSPORT | |
| cORDERED_DELIVERY | ACK/NACK or other confirmation of reception.
|
| cCHECKSUM | Correct ordering, usually via segment numbering.
|
| cMTU | A checksum value in included, which infers error checking and/or correction.
|
| cFLOW_CONTROL | A maximum transmission unit is defined.
|
| cCONGESTION_CONTROL | Flow control mechanism, to avoid overwhelming a receiver.
|
| cNAGLE_ALGORITHM | Like flow control, except based on network state (congestion).
|
◆ TransportLayer() [1/2]
| wsf::comm::TransportLayer::TransportLayer |
( |
| ) |
|
|
default |
◆ ~TransportLayer()
| wsf::comm::TransportLayer::~TransportLayer |
( |
| ) |
|
|
overridedefault |
◆ TransportLayer() [2/2]
| wsf::comm::TransportLayer::TransportLayer |
( |
const TransportLayer & | aSrc | ) |
|
|
protecteddefault |
◆ Clone()
| LayerImp * wsf::comm::TransportLayer::Clone |
( |
| ) |
const |
|
overridevirtual |
◆ GetTransportFeatures()
| unsigned int wsf::comm::TransportLayer::GetTransportFeatures |
( |
| ) |
const |
|
inline |
Returns the mask variable regarding which features the transport layer supports.
◆ Initialize()
| bool wsf::comm::TransportLayer::Initialize |
( |
double | aSimTime | ) |
|
|
inlineoverridevirtual |
◆ operator=()
◆ ProcessInput()
| bool wsf::comm::TransportLayer::ProcessInput |
( |
UtInput & | aInput | ) |
|
|
overridevirtual |
Process Input for this layer.
- Parameters
-
| aInput | [input] The UtInput object. |
- Returns
- 'true' if input belongs to this layer.
Implements wsf::comm::LayerImp.
◆ ProcessLayerMessage()
| bool wsf::comm::TransportLayer::ProcessLayerMessage |
( |
double | aSimTime, |
|
|
layer::Message | aLayerMessage, |
|
|
Message * | aCommMessagePtr ) |
|
overridevirtual |
◆ Receive()
| bool wsf::comm::TransportLayer::Receive |
( |
double | aSimTime, |
|
|
Comm * | aXmtrPtr, |
|
|
Message & | aMessage, |
|
|
bool & | aNotifyNextLayer ) |
|
overridevirtual |
◆ Send()
| bool wsf::comm::TransportLayer::Send |
( |
double | aSimTime, |
|
|
size_t | aLayerIndex, |
|
|
Message & | aMessage, |
|
|
bool & | aNotifyNextLayer ) |
|
overridevirtual |
The documentation for this class was generated from the following files: