Main Page | Class Hierarchy | Class List | File List | Class Members

ProtocolStack::SegmentTransmitter Class Reference

List of all members.

Public Member Functions

void Start ()
void Stop ()
 SegmentTransmitter (RemoteHostComms thisRemoteHost)
void Run ()
void tempSend (Segment targetSegment, IPAddress destination)

Detailed Description

<summary> Polls a transmission queue for segments. Sends segments to a given address. Can send segments to any address, but is usually one Segment Transmitter bound to each address. </summary>

Definition at line 14 of file SegmentTransport.cs.


Constructor & Destructor Documentation

ProtocolStack::SegmentTransmitter::SegmentTransmitter RemoteHostComms  thisRemoteHost  )  [inline]
 

<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.


Member Function Documentation

void ProtocolStack::SegmentTransmitter::Run  )  [inline]
 

<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.

void ProtocolStack::SegmentTransmitter::Start  )  [inline]
 

<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().

void ProtocolStack::SegmentTransmitter::Stop  )  [inline]
 

<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.


The documentation for this class was generated from the following file:
Generated on Mon May 8 22:07:29 2006 by  doxygen 1.3.9.1