Lines Matching refs:ServiceSocket
166 struct ServiceSocket : public asocket { struct
167 ServiceSocket() = delete;
168 explicit ServiceSocket(atransport* transport) { in ServiceSocket() function
175 return static_cast<ServiceSocket*>(self)->Enqueue(std::move(data)); in ServiceSocket()
177 this->ready = [](asocket* self) { return static_cast<ServiceSocket*>(self)->Ready(); }; in ServiceSocket()
178 this->close = [](asocket* self) { return static_cast<ServiceSocket*>(self)->Close(); }; in ServiceSocket()
180 virtual ~ServiceSocket() = default;
182 ServiceSocket(const ServiceSocket& copy) = delete;
183 ServiceSocket(ServiceSocket&& move) = delete;
184 ServiceSocket& operator=(const ServiceSocket& copy) = delete;
185 ServiceSocket& operator=(ServiceSocket&& move) = delete;
203 struct SinkSocket : public ServiceSocket { argument
205 : ServiceSocket(transport), bytes_left_(byte_count) { in SinkSocket()
225 struct SourceSocket : public ServiceSocket {
227 : ServiceSocket(transport), bytes_left_(byte_count) { in SourceSocket()