Lines Matching refs:apacket
84 using ReadCallback = std::function<bool(Connection*, std::unique_ptr<apacket>)>;
97 virtual bool Write(std::unique_ptr<apacket> packet) = 0;
123 virtual bool Read(apacket* packet) = 0;
124 virtual bool Write(apacket* packet) = 0;
140 virtual bool Write(std::unique_ptr<apacket> packet) override final;
154 std::deque<std::unique_ptr<apacket>> write_queue_ GUARDED_BY(mutex_);
164 bool Read(apacket* packet) override final;
165 bool Write(apacket* packet) override final;
178 bool Read(apacket* packet) override final;
179 bool Write(apacket* packet) override final;
247 int Write(apacket* p);
410 bool check_header(apacket* p, atransport* t);
415 void send_packet(apacket* p, atransport* t);