12 #ifndef ROC_PACKET_SHIPPER_H_
13 #define ROC_PACKET_SHIPPER_H_
#define ROC_ATTR_NODISCARD
Emit warning if function result is not checked.
Base class for non-copyable objects.
Packet composer interface.
Prepare a packet for being sent.
const address::SocketAddr & outbound_address() const
Get destination address for outbound packets.
virtual ROC_ATTR_NODISCARD status::StatusCode write(const PacketPtr &packet)
Write outgoing packet.
Shipper(IComposer &composer, IWriter &outbound_writer, const address::SocketAddr *outbound_address)
Initialize.
Packet composer interface.