|
WPILibC++
2020.3.2
|
UDP send request. More...
#include <Udp.h>
Public Member Functions | |
| Udp & | GetUdp () const |
Public Member Functions inherited from wpi::uv::RequestImpl< UdpSendReq, uv_udp_send_t > | |
| std::shared_ptr< UdpSendReq > | shared_from_this () |
| std::shared_ptr< const UdpSendReq > | shared_from_this () const |
| uv_udp_send_t * | GetRaw () noexcept |
| Get the underlying request data structure. More... | |
| const uv_udp_send_t * | GetRaw () const noexcept |
| Get the underlying request data structure. More... | |
Public Member Functions inherited from wpi::uv::Request | |
| Request (const Request &)=delete | |
| Request (Request &&)=delete | |
| Request & | operator= (const Request &)=delete |
| Request & | operator= (Request &&)=delete |
| Type | GetType () const noexcept |
| Get the type of the request. More... | |
| const char * | GetTypeName () const noexcept |
| Get the name of the type of the request. More... | |
| bool | Cancel () |
| Cancel a pending request. More... | |
| size_t | RawSize () const noexcept |
| Return the size of the underlying request type. More... | |
| uv_req_t * | GetRawReq () noexcept |
| Get the underlying request data structure. More... | |
| const uv_req_t * | GetRawReq () const noexcept |
| Get the underlying request data structure. More... | |
| virtual void | Keep () noexcept |
| Keep this request in memory even if no outside shared_ptr references remain. More... | |
| virtual void | Release () noexcept |
| No longer force holding this request in memory. More... | |
| void | ReportError (int err) |
| Report an error. More... | |
Public Attributes | |
| sig::Signal< Error > | complete |
| Send completed signal. More... | |
Public Attributes inherited from wpi::uv::Request | |
| std::function< void(Error)> | error |
| Error callback. More... | |
Additional Inherited Members | |
Public Types inherited from wpi::uv::Request | |
| using | Type = uv_req_type |
Protected Member Functions inherited from wpi::uv::RequestImpl< UdpSendReq, uv_udp_send_t > | |
| RequestImpl () | |
| Constructor. | |
Protected Member Functions inherited from wpi::uv::Request | |
| Request (uv_req_t *uv_req) | |
| Constructor. | |
UDP send request.
| sig::Signal<Error> wpi::uv::UdpSendReq::complete |
Send completed signal.
This is called even if an error occurred.
| err | error value |