Send the packet to a stream.

Namespace:  Bespoke.Robotics.BrainStem
Assembly:  Bespoke.Robotics.BrainStem (in Bespoke.Robotics.BrainStem.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public virtual void Send(
	Stream stream
)
Visual Basic (Declaration)
Public Overridable Sub Send ( _
	stream As Stream _
)
Visual C++
public:
virtual void Send(
	Stream^ stream
)

Parameters

stream
Type: Bespoke.Robotics.BrainStem..::.Stream
The stream to send the packet on.

Exceptions

ExceptionCondition
Bespoke.Robotics.BrainStem.Exceptions..::.StreamClosedExceptionThrown if the stream is not open.
Bespoke.Robotics.BrainStem.Exceptions..::.PacketDirectionExceptionThrown if the specified packet's direction is not Packet.DirectionType.HostToStem.

See Also