Lines Matching full:atransport
45 class atransport {
52 atransport() {
58 virtual ~atransport() {}
60 int (*read_from_remote)(apacket* p, atransport* t) = nullptr;
61 int (*write_to_remote)(apacket* p, atransport* t) = nullptr;
62 void (*close)(atransport* t) = nullptr;
63 void SetKickFunction(void (*kick_func)(atransport*)) {
132 void (*kick_func_)(atransport*) = nullptr;
143 DISALLOW_COPY_AND_ASSIGN(atransport);
153 atransport* acquire_one_transport(TransportType type, const char* serial,
155 void kick_transport(atransport* t);
160 atransport* find_transport(const char* serial);
172 int check_header(apacket* p, atransport* t);
178 void send_packet(apacket* p, atransport* t);