CatapultServer  v0.5.0.1 (Elephant)
PacketSocket.cpp File Reference
Include dependency graph for PacketSocket.cpp:

Namespaces

 catapult
 
 catapult::ionet
 

Functions

void catapult::ionet::Accept (boost::asio::ip::tcp::acceptor &acceptor, const PacketSocketOptions &options, const ConfigureSocketCallback &configureSocket, const AcceptCallback &accept)
 
void catapult::ionet::Accept (boost::asio::ip::tcp::acceptor &acceptor, const PacketSocketOptions &options, const AcceptCallback &accept)
 Accepts a connection using acceptor and calls accept on completion configuring the socket with options. More...
 
action catapult::ionet::Connect (boost::asio::io_context &ioContext, const PacketSocketOptions &options, const NodeEndpoint &endpoint, const ConnectCallback &callback)
 

Variable Documentation

◆ Context

AppendContext Context

◆ m_accept

AcceptCallback m_accept
private

◆ m_acceptor

boost::asio::ip::tcp::acceptor& m_acceptor
private

◆ m_buffer

WorkingBuffer m_buffer
private

◆ m_callback

ConnectCallback m_callback
private

◆ m_configureSocket

ConfigureSocketCallback m_configureSocket
private

◆ m_endpoint

boost::asio::ip::tcp::endpoint m_endpoint
private

◆ m_handler

BasicConnectHandler<StrandedConnectHandler> m_handler
private

◆ m_host

std::string m_host
private

◆ m_isCancelled

bool m_isCancelled
private

◆ m_maxPacketDataSize

size_t m_maxPacketDataSize
private

◆ m_nextBufferIndex

size_t m_nextBufferIndex
private

◆ m_packetExtractor

PacketExtractor& m_packetExtractor
private

◆ m_payload

const PacketPayload m_payload
private

◆ m_pSocket

std::shared_ptr<StrandedPacketSocket> m_pSocket
private

◆ m_query

Resolver::query m_query
private

◆ m_resolver

Resolver m_resolver
private

◆ m_socket

SocketType m_socket
private

◆ m_strand

boost::asio::io_context::strand m_strand
private

◆ m_strandWrapper

thread::StrandOwnerLifetimeExtender<StrandedConnectHandler> m_strandWrapper
private

◆ m_wrapper

TCallbackWrapper& m_wrapper
private