WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::net::uv::ShutdownReq Class Reference

Shutdown request. More...

#include <wpi/net/uv/Stream.hpp>

Inheritance diagram for wpi::net::uv::ShutdownReq:
wpi::net::uv::RequestImpl< ShutdownReq, uv_shutdown_t > wpi::net::uv::Request

Public Member Functions

 ShutdownReq ()
StreamGetStream () const
Public Member Functions inherited from wpi::net::uv::RequestImpl< ShutdownReq, uv_shutdown_t >
std::shared_ptr< ShutdownReqshared_from_this ()
uv_shutdown_tGetRaw () noexcept
 Get the underlying request data structure.
Public Member Functions inherited from wpi::net::uv::Request
 Request (const Request &)=delete
 Request (Request &&)=delete
Requestoperator= (const Request &)=delete
Requestoperator= (Request &&)=delete
virtual ~Request () noexcept=default
Type GetType () const noexcept
 Get the type of the request.
const char * GetTypeName () const noexcept
 Get the name of the type of the request.
bool Cancel ()
 Cancel a pending request.
size_t RawSize () const noexcept
 Return the size of the underlying request type.
uv_req_tGetRawReq () noexcept
 Get the underlying request data structure.
const uv_req_tGetRawReq () const noexcept
 Get the underlying request data structure.
virtual void Keep () noexcept
 Keep this request in memory even if no outside shared_ptr references remain.
virtual std::shared_ptr< RequestRelease () noexcept
 No longer force holding this request in memory.
void ReportError (int err)
 Report an error.

Public Attributes

wpi::util::sig::Signal complete
 Shutdown completed signal.
Public Attributes inherited from wpi::net::uv::Request
std::function< void(Error)> error
 Error callback.

Additional Inherited Members

Public Types inherited from wpi::net::uv::Request
using Type = uv_req_type
Protected Member Functions inherited from wpi::net::uv::RequestImpl< ShutdownReq, uv_shutdown_t >
 RequestImpl ()
 Constructor.
Protected Member Functions inherited from wpi::net::uv::Request
 Request (uv_req_t *uv_req)
 Constructor.

Detailed Description

Shutdown request.

Constructor & Destructor Documentation

◆ ShutdownReq()

wpi::net::uv::ShutdownReq::ShutdownReq ( )

Member Function Documentation

◆ GetStream()

Stream & wpi::net::uv::ShutdownReq::GetStream ( ) const
inline

Member Data Documentation

◆ complete

wpi::util::sig::Signal wpi::net::uv::ShutdownReq::complete

Shutdown completed signal.


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