Home
last modified time | relevance | path

Searched refs:BaseServerWriter (Results 1 – 12 of 12) sorted by relevance

/external/pigweed/pw_rpc/public/pw_rpc/internal/
Dbase_server_writer.h38 class BaseServerWriter : public IntrusiveList<BaseServerWriter>::Item {
40 BaseServerWriter(ServerCall& call);
42 BaseServerWriter(const BaseServerWriter&) = delete;
44 BaseServerWriter(BaseServerWriter&& other) : state_(kClosed) { in BaseServerWriter() function
48 ~BaseServerWriter() { Finish(); } in ~BaseServerWriter()
50 BaseServerWriter& operator=(const BaseServerWriter&) = delete;
52 BaseServerWriter& operator=(BaseServerWriter&& other);
65 constexpr BaseServerWriter() : state_{kClosed} {} in BaseServerWriter() function
Dserver.h24 void RegisterWriter(BaseServerWriter& writer) { in RegisterWriter()
28 void RemoveWriter(const BaseServerWriter& writer) { in RemoveWriter()
/external/pigweed/pw_rpc/
Dbase_server_writer.cc24 BaseServerWriter::BaseServerWriter(ServerCall& call) in BaseServerWriter() function in pw::rpc::internal::BaseServerWriter
29 BaseServerWriter& BaseServerWriter::operator=(BaseServerWriter&& other) { in operator =()
47 uint32_t BaseServerWriter::method_id() const { return call_.method().id(); } in method_id()
49 Status BaseServerWriter::Finish(Status status) { in Finish()
71 std::span<std::byte> BaseServerWriter::AcquirePayloadBuffer() { in AcquirePayloadBuffer()
82 Status BaseServerWriter::ReleasePayloadBuffer( in ReleasePayloadBuffer()
88 Status BaseServerWriter::ReleasePayloadBuffer() { in ReleasePayloadBuffer()
94 void BaseServerWriter::Close() { in Close()
103 Packet BaseServerWriter::ResponsePacket( in ResponsePacket()
Dbase_server_writer_test.cc42 TEST(BaseServerWriter, ConstructWithContext_StartsOpen) { in TEST() argument
45 BaseServerWriter writer(context.get()); in TEST()
50 TEST(BaseServerWriter, Move_ClosesOriginal) { in TEST() argument
53 BaseServerWriter moved(context.get()); in TEST()
54 BaseServerWriter writer(std::move(moved)); in TEST()
62 class FakeServerWriter : public BaseServerWriter {
64 FakeServerWriter(ServerCall& context) : BaseServerWriter(context) {} in FakeServerWriter()
Dserver_test.cc240 internal::BaseServerWriter writer_;
/external/pigweed/pw_rpc/raw/public/pw_rpc/internal/
Draw_method.h24 class RawServerWriter : public internal::BaseServerWriter {
68 [](ServerCall& call, ConstByteSpan request, BaseServerWriter& writer) { in ServerStreaming()
86 BaseServerWriter&);
/external/pigweed/pw_rpc/public/pw_rpc/
Dserver.h56 IntrusiveList<internal::BaseServerWriter>& writers() { return writers_; } in writers()
71 IntrusiveList<internal::BaseServerWriter> writers_;
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/internal/
Dnanopb_method.h35 class ServerWriter : public internal::BaseServerWriter {
166 [](ServerCall& call, const void* req, BaseServerWriter& writer) {
213 BaseServerWriter& writer);
/external/pigweed/pw_rpc/raw/
Draw_method.cc72 internal::BaseServerWriter server_writer(call); in CallServerStreaming()
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/
Dnanopb_test_method_context.h213 internal::BaseServerWriter server_writer(ctx_.call); in call()
224 internal::BaseServerWriter server_writer(ctx_.call); in writer()
/external/pigweed/pw_rpc/raw/public/pw_rpc/
Draw_test_method_context.h219 BaseServerWriter server_writer(ctx_.call); in call()
228 BaseServerWriter server_writer(ctx_.call); in writer()
/external/pigweed/pw_rpc/nanopb/
Dnanopb_method.cc45 internal::BaseServerWriter server_writer(call); in CallServerStreaming()