Appearance
class flake::SocketWire
#include </Users/ios_developer/workspace/coldwave-os/build/_deps/flake-src/wire/unix/SocketWire.h>
Inherits from flake::Wire
Public Functions
Name | |
---|---|
SocketWire(string path) | |
SocketWire(int sock, sockaddr_un * addr, string path) | |
virtual size_t | read(void * buf, size_t len) override |
virtual size_t | write(void * buf, size_t len) override |
virtual int | close() override |
virtual int | open() override |
virtual bool | isOpen() override |
char * | describe() |
Additional inherited members
Public Functions inherited from flake::Wire
Name | |
---|---|
virtual | ~Wire() =default |
virtual uint32_t | getId() const =0 |
virtual int | getFd() const =0 |
virtual int | secure() const =0 |
virtual int | authenticated() const =0 |
Public Functions Documentation
function SocketWire
cpp
explicit SocketWire(
string path
)
function SocketWire
cpp
SocketWire(
int sock,
sockaddr_un * addr,
string path
)
function read
cpp
virtual size_t read(
void * buf,
size_t len
) override
Reimplements: flake::Wire::read
function write
cpp
virtual size_t write(
void * buf,
size_t len
) override
Reimplements: flake::Wire::write
function close
cpp
virtual int close() override
Reimplements: flake::Wire::close
function open
cpp
virtual int open() override
Reimplements: flake::Wire::open
function isOpen
cpp
virtual bool isOpen() override
Reimplements: flake::Wire::isOpen
function describe
cpp
char * describe()