Open Lighting Architecture
Latest Git
|
Read ACN messages from a stream. Generally you want to use the IncomingTCPTransport directly. This class is used for testing.
Public Member Functions | |
IncomingStreamTransport (class BaseInflator *inflator, ola::io::ConnectedDescriptor *descriptor, const ola::network::IPV4SocketAddress &source) | |
~IncomingStreamTransport () | |
bool | Receive () |
ola::acn::IncomingStreamTransport::IncomingStreamTransport | ( | class BaseInflator * | inflator, |
ola::io::ConnectedDescriptor * | descriptor, | ||
const ola::network::IPV4SocketAddress & | source | ||
) |
Create a new IncomingStreamTransport.
inflator | the inflator to call for each PDU |
descriptor | the descriptor to read from |
source | the IP and port to use in the transport header |
ola::acn::IncomingStreamTransport::~IncomingStreamTransport | ( | ) |
Clean up
bool ola::acn::IncomingStreamTransport::Receive | ( | ) |
Read from this stream, looking for ACN messages.