Appearance
class flake::IPCServerConnection
#include </Users/ios_developer/workspace/coldwave-os/build/_deps/flake-src/routing/IPCConnection.h>
Inherits from flake::ServerConnectionImpl, flake::ServerConnection, flake::WireConnectionSink, flake::TransportImpl, flake::Transport, AtomicRef
Public Functions
Name | |
---|---|
IPCServerConnection(ThreadQueue< Message * > & inQueue, ThreadQueue< Message * > * outQueue, ServerConnectionSink * wireSink, IPCConnection * client) | |
virtual void | pushQueue(Message * dgram) override |
virtual int | connect() override |
virtual int | latency_us() override |
virtual void | ping() override |
virtual bool | stale() override |
virtual int | pingCount() override |
virtual uint32_t | wireId() const override |
virtual int | isSecure() override |
virtual void | shutdown() override |
virtual int | isAuthenticated() override |
virtual void | ref() override |
virtual void | unref() override |
Friends
Name | |
---|---|
class | IPCConnection |
Additional inherited members
Public Functions inherited from flake::ServerConnectionImpl
Name | |
---|---|
virtual | ~ServerConnectionImpl() |
virtual addr_t | rootObjectAddr() override |
virtual void | setRootObjectAddr(addr_t addr) override |
virtual int | id() override |
ServerConnectionImpl(Wire * w, ServerConnectionSink * s, ThreadQueue< Message * > & inQueue, ThreadQueue< Message * > * outQueue, int id) | |
virtual void | onWireDisconnect() override |
virtual void | onWireConnect() override |
virtual vector< byte > * | receiveBuffer() override |
void | setSecure(bool s) |
void | setAuthenticated(bool a) |
Public Functions inherited from flake::ServerConnection
Name | |
---|---|
virtual addr_t | rootObjectAddr() =0 |
virtual void | setRootObjectAddr(addr_t addr) =0 |
virtual int | id() =0 |
virtual vector< byte > * | receiveBuffer() =0 |
Public Functions inherited from flake::WireConnectionSink
Name | |
---|---|
virtual void | onWireConnect() =0 |
virtual void | onWireDisconnect() =0 |
Public Functions inherited from flake::TransportImpl
Name | |
---|---|
TransportImpl(Wire * w, ThreadQueue< Message * > & inQueue, ThreadQueue< Message * > * outQueue, WireConnectionSink * wiresink) | |
virtual | ~TransportImpl() |
virtual Message * | pollQueue(bool nonblocking) override |
bool | tryPushQueue(Message * dgram) |
ConnectionState | connectionState() |
virtual Wire * | wire() const override |
virtual bool | isConnected() override |
virtual bool | isShutdown() override |
virtual bool | isShuttingDown() override |
int8_t | sendDatagram(Message * d) |
int | processBuffer(unsigned char * receiveBuffer, unsigned int buflen, Message ** d) |
virtual void | onWireDisconnect(void ) override |
Protected Functions inherited from flake::TransportImpl
Name | |
---|---|
void | start() |
Public Attributes inherited from flake::TransportImpl
Name | |
---|---|
flakeMutexId_t | m_wireMutex |
Protected Attributes inherited from flake::TransportImpl
Name | |
---|---|
volatile ConnectionState | m_connectionState |
ThreadQueue< Message * > * | m_dgramOutQueue |
ThreadQueue< Message * > & | m_dgramInQueue |
WireConnectionSink * | m_wireConnectionSink |
int | m_pingCount |
uint32_t | m_lastDgramTimestamp |
Friends inherited from flake::TransportImpl
Name | |
---|---|
class | Router |
Public Functions inherited from flake::Transport
Name | |
---|---|
virtual void | onWireConnect() =0 |
virtual void | onWireDisconnect() =0 |
virtual Wire * | wire() const =0 |
virtual Message * | pollQueue(bool nonblocking) =0 |
virtual Message * | pollOutQueue(bool nonblocking) =0 |
virtual bool | isConnected() =0 |
virtual bool | isShutdown() =0 |
virtual bool | isShuttingDown() =0 |
Public Functions Documentation
function IPCServerConnection
cpp
IPCServerConnection(
ThreadQueue< Message * > & inQueue,
ThreadQueue< Message * > * outQueue,
ServerConnectionSink * wireSink,
IPCConnection * client
)
function pushQueue
cpp
virtual void pushQueue(
Message * dgram
) override
Reimplements: flake::Transport::pushQueue
function connect
cpp
virtual int connect() override
Reimplements: flake::Transport::connect
function latency_us
cpp
virtual int latency_us() override
Reimplements: flake::Transport::latency_us
function ping
cpp
virtual void ping() override
Reimplements: flake::ServerConnection::ping
function stale
cpp
virtual bool stale() override
Reimplements: flake::ServerConnection::stale
function pingCount
cpp
virtual int pingCount() override
Reimplements: flake::ServerConnection::pingCount
function wireId
cpp
virtual uint32_t wireId() const override
Reimplements: flake::Transport::wireId
function isSecure
cpp
virtual int isSecure() override
Reimplements: flake::ServerConnection::isSecure
function shutdown
cpp
virtual void shutdown() override
Reimplements: flake::Transport::shutdown
function isAuthenticated
cpp
virtual int isAuthenticated() override
Reimplements: flake::ServerConnection::isAuthenticated
function ref
cpp
inline virtual void ref() override
Reimplements: flake::Transport::ref
function unref
cpp
inline virtual void unref() override
Reimplements: flake::Transport::unref
Friends
friend IPCConnection
cpp
friend class IPCConnection(
IPCConnection
);