21 #include "nonblocking_packet.h"
25 using std::make_shared;
26 using std::shared_ptr;
27 using std::unique_ptr;
31 unique_ptr<NonblockingPacketWriterInterface> NonblockingPacketWriterFactory::CreateWriter(shared_ptr<SocketWrapperInterface> socket_wrapper,
32 unique_ptr<const Message> message,
const shared_ptr<const string> value) {
34 unique_ptr<NonblockingPacketWriterInterface>(
35 new NonblockingPacketWriter(socket_wrapper, move(message), value));