Lines Matching refs:apacket
113 using ReadCallback = std::function<bool(Connection*, std::unique_ptr<apacket>)>;
126 virtual bool Write(std::unique_ptr<apacket> packet) = 0;
154 virtual bool Read(apacket* packet) = 0;
155 virtual bool Write(apacket* packet) = 0;
173 virtual bool Write(std::unique_ptr<apacket> packet) override final;
190 std::deque<std::unique_ptr<apacket>> write_queue_ GUARDED_BY(mutex_);
201 bool Read(apacket* packet) override final;
202 bool Write(apacket* packet) override final;
283 int Write(apacket* p);
482 bool check_header(apacket* p, atransport* t);
487 void send_packet(apacket* p, atransport* t);