|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Classes | |
| class | Address |
| class | BoostAsioWriteQueue |
Functions | |
| template<class Timer> | |
| void | CancelTimer (Timer &timer) |
| void | CloseTcpAcceptor (boost::asio::ip::tcp::acceptor &acceptor) |
| void | CloseTcpSocket (boost::asio::ip::tcp::socket &socket) |
| bool | IsIPv4Address (std::string const &host) |
| bool | IsWouldBlock (boost::system::error_code const &error) |
| bool | OpenTcpAcceptor (boost::asio::io_context &ioContext, boost::asio::ip::tcp::acceptor &acceptor, uint16 port, std::string const &bindAddress, char const *logFilter, char const *logName) |
| void | RestartIoContext (boost::asio::io_context &ioContext) |
| void | StopIoContext (boost::asio::io_context &ioContext) |
| uint32 | ToIPv4NetworkOrder (std::string const &host) |
| void Skyfire::Net::CancelTimer | ( | Timer & | timer | ) |
Definition at line 33 of file BoostAsioUtils.h.
Referenced by RASocket::close(), RASocket::handle_subnegotiation_read(), and RARunnable::Run().
|
inline |
Definition at line 38 of file BoostAsioUtils.h.
Referenced by RealmAcceptor::Close(), WorldSocketAcceptor::Close(), OpenTcpAcceptor(), and RARunnable::Run().
|
inline |
Definition at line 45 of file BoostAsioUtils.h.
Referenced by RASocket::close(), RealmSocket::CloseSocket(), and WorldSocket::CloseSocket().
| bool Skyfire::Net::IsIPv4Address | ( | std::string const & | host | ) |
Definition at line 39 of file NetworkAddress.cpp.
Referenced by IsIPAddress().
| bool Skyfire::Net::IsWouldBlock | ( | boost::system::error_code const & | error | ) |
Definition at line 16 of file BoostAsioUtils.cpp.
| bool Skyfire::Net::OpenTcpAcceptor | ( | boost::asio::io_context & | ioContext, |
| boost::asio::ip::tcp::acceptor & | acceptor, | ||
| uint16 | port, | ||
| std::string const & | bindAddress, | ||
| char const * | logFilter, | ||
| char const * | logName ) |
Definition at line 21 of file BoostAsioUtils.cpp.
References CloseTcpAcceptor(), RestartIoContext(), and SF_LOG_ERROR.
Referenced by RealmAcceptor::Open(), WorldSocketAcceptor::Open(), and RARunnable::Run().
|
inline |
Definition at line 22 of file BoostAsioUtils.h.
Referenced by OpenTcpAcceptor().
|
inline |
Definition at line 27 of file BoostAsioUtils.h.
| uint32 Skyfire::Net::ToIPv4NetworkOrder | ( | std::string const & | host | ) |
Definition at line 45 of file NetworkAddress.cpp.
Referenced by AuthSocket::_HandleLogonChallenge(), account_commandscript::HandleAccountLockCountryCommand(), misc_commandscript::HandlePInfoCommand(), and Skyfire::Net::Address::ToIPv4NetworkOrder().