Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Protected Member Functions | List of all members
seastar::net::posix_data_sink_impl Class Reference
Inheritance diagram for seastar::net::posix_data_sink_impl:
seastar::data_sink_impl

Public Member Functions

 posix_data_sink_impl (pollable_fd fd)
 
future put (packet p) override
 
future put (temporary_buffer< char > buf) override
 
future close () override
 
bool can_batch_flushes () const noexcept override
 
void on_batch_flush_error () noexcept override
 
virtual future put (net::packet data)=0
 
virtual future put (std::vector< temporary_buffer< char > > data)
 
virtual future put (temporary_buffer< char > buf)
 
virtual temporary_buffer< char > allocate_buffer (size_t size)
 
virtual future flush ()
 
virtual size_t buffer_size () const noexcept
 

Protected Member Functions

future fallback_put (net::packet data)
 

Member Function Documentation

◆ can_batch_flushes()

bool seastar::net::posix_data_sink_impl::can_batch_flushes ( ) const
inlineoverridevirtualnoexcept

Reimplemented from seastar::data_sink_impl.

◆ close()

future seastar::net::posix_data_sink_impl::close ( )
overridevirtual

◆ on_batch_flush_error()

void seastar::net::posix_data_sink_impl::on_batch_flush_error ( )
overridevirtualnoexcept

Reimplemented from seastar::data_sink_impl.

◆ put() [1/5]

virtual future seastar::data_sink_impl::put ( net::packet  data)
virtual

◆ put() [2/5]

future seastar::net::posix_data_sink_impl::put ( packet  p)
overridevirtual

◆ put() [3/5]

virtual future seastar::data_sink_impl::put ( std::vector< temporary_buffer< char > >  data)
inlinevirtual

Reimplemented from seastar::data_sink_impl.

◆ put() [4/5]

virtual future seastar::data_sink_impl::put ( temporary_buffer< char >  buf)
inlinevirtual

Reimplemented from seastar::data_sink_impl.

◆ put() [5/5]

future seastar::net::posix_data_sink_impl::put ( temporary_buffer< char >  buf)
overridevirtual

Reimplemented from seastar::data_sink_impl.


The documentation for this class was generated from the following file: