A Stream.Mobile object configures a stream of frames that will be transmitted by a WirelessEndpoint. More...
Methods | |
| Description.Get | |
| Returns a textual description of the object. | |
| Destination.Address.Get | |
| Returns the destination address in the IP header of the frames that will be transmitted. More... | |
| Destination.Address.Set | |
| Sets the destination address in the IP header of the frames that will be transmitted. More... | |
| Destination.Port.Get | |
| Returns the destination port in the UDP header of the frames that will be transmitted. More... | |
| Destination.Port.Set | |
| Sets the destination port in the UDP header of the frames that will be transmitted. More... | |
| Frame.Add | |
| Adds a frame to the stream. More... | |
| Frame.Get | |
| Returns list of frames on this stream. More... | |
| InitialTimeToWait.Get | |
| Returns the time to wait before the first frame will be sent. More... | |
| InitialTimeToWait.Set duration | |
| Sets a delay before sending the first frame. More... | |
| InterFrameGap.Get | |
| Returns the inter-frame gap for the stream. More... | |
| InterFrameGap.Set duration | |
| Sets the inter-frame gap for the stream. More... | |
| NumberOfFrames.Get | |
| Returns the number of frames that will be transmitted by a stream. More... | |
| NumberOfFrames.Set count | |
| Sets the number of frames sent by a stream. More... | |
| Parent.Get | |
| Returns the parent object. | |
| Result.Clear | |
| Resets the current result counters to zero. More... | |
| Result.Get | |
| Returns the current result counters. More... | |
| Result.History.Get | |
| Returns the current History counters. More... | |
| Source.Port.Get | |
| Returns the source port in the UDP header of the frames that will be transmitted. More... | |
| Source.Port.Set | |
| Sets the source port in the UDP header of the frames that will be transmitted. More... | |
| TypeOfService.Get | |
| Returns the type-of-service field (or TOS bits) in the IP header of the frames that will be transmitted. More... | |
| TypeOfService.Set | |
| Sets the type-of-service field (or TOS bits) in the IP header of the frames that will be transmitted. More... | |
A Stream.Mobile object configures a stream of frames that will be transmitted by a WirelessEndpoint.
The Stream.Mobile object allows you to add frame objects (Frame.Mobile) and configure parameters like the number of frames that will be transmitted, the inter-frame gap and the initial time to wait before transmission.
This example will show a typical stream usage flow.
| Tx.Stream.Mobile::Destination.Address.Get |
| Tx.Stream.Mobile::Destination.Address.Set |
| Tx.Stream.Mobile::Destination.Port.Get |
| Tx.Stream.Mobile::Destination.Port.Set |
| Tx.Stream.Mobile::Frame.Add |
| Tx.Stream.Mobile::Frame.Get |
| Tx.Stream.Mobile::InitialTimeToWait.Get |
Returns the time to wait before the first frame will be sent.
This example gets the current initial time to wait from a stream.
Returns:
9000000000
This stream will thus wait 9s before transmitting the first frame
| Tx.Stream.Mobile::InitialTimeToWait.Set | duration | ||
Sets a delay before sending the first frame.
| duration | The amount of time to wait before sending the first frame.
ns |
This example sets the initial time to wait before sending the first frame.
| Tx.Stream.Mobile::InterFrameGap.Get |
| Tx.Stream.Mobile::InterFrameGap.Set | duration | ||
Sets the inter-frame gap for the stream.
| duration | A time unit can be specified as a suffix. E.g: 20ms. If no time unit is specified then nanoseconds are used.
ns |
This example sets the inter-frame gap on a stream.
| Tx.Stream.Mobile::NumberOfFrames.Get |
| Tx.Stream.Mobile::NumberOfFrames.Set | count | ||
| Tx.Stream.Mobile::Result.Clear |
| Tx.Stream.Mobile::Result.Get |
Returns the current result counters.
Returns:
<Tx.Stream.ResultSnapshot object>
| Tx.Stream.Mobile::Result.History.Get |
Returns the current History counters.
Returns:
<Tx.Stream.ResultHistory object>
| Tx.Stream.Mobile::Source.Port.Get |
| Tx.Stream.Mobile::Source.Port.Set |
| Tx.Stream.Mobile::TypeOfService.Get |