Public Member Functions | |
void | Start () |
void | Stop () |
SegmentTransmitter (RemoteHostComms thisRemoteHost) | |
void | Run () |
void | tempSend (Segment targetSegment, IPAddress destination) |
Definition at line 14 of file SegmentTransport.cs.
|
<summary> Constructor </summary> <param name="thisRemoteHost">parent Remote Host object</param> <param name="thisStack">parent stack object (needed to access settings)</param> Definition at line 61 of file SegmentTransport.cs. References ProtocolStack::RemoteHostComms::thisStack. |
|
<summary> Gets next segment from the transmit queue, adds the headers, and then sends it. Called on an interval according to the rate. </summary> Definition at line 70 of file SegmentTransport.cs. References ProtocolStack::RemoteHostComms::AckManager, ProtocolStack::TransmissionQueue::DequeueBlocking(), ProtocolStack::TransmissionQueueEntry::FromMessage(), ProtocolStack::RemoteHostComms::readyToSendUserData, ProtocolStack::RemoteHostComms::RemoteDeviceID, and ProtocolStack::RemoteHostComms::TxQueue. |
|
<summary> Begins taking of segments from transmission queue and sending over the custom protocol. Creates UDPClient, in case settings have changed. </summary> Definition at line 27 of file SegmentTransport.cs. Referenced by ProtocolStack::RemoteHostComms::Start(). |
|
<summary> Stops the processing of segments from the transmission queue, on to the network. Closes the UDP connection. </summary> Definition at line 48 of file SegmentTransport.cs. |