|
|||
|
|||
|


Public Member Functions | |
| IdentRequestSocket (InspIRCd *Server, User *u, const std::string &bindip) | |
| virtual void | OnConnected () |
| virtual void | HandleEvent (EventType et, int errornum=0) |
| Process an I/O event. | |
| void | Close () |
| bool | HasResult () |
| const char * | GetResult () |
| void | ReadResponse () |
Private Attributes | |
| User * | user |
| InspIRCd * | ServerInstance |
| bool | done |
| std::string | result |
Definition at line 74 of file m_ident.cpp.
|
||||||||||||||||
|
Definition at line 83 of file m_ident.cpp. References SocketEngine::AddFd(), SocketEngine::Bind(), Close(), SocketEngine::Connect(), done, EventHandler::GetFd(), User::GetIPString(), SocketEngine::NonBlocking(), InspIRCd::SE, ServerInstance, EventHandler::SetFd(), user, and SocketEngine::WantWrite(). |
|
|
Definition at line 240 of file m_ident.cpp. References SocketEngine::Close(), DEBUG, SocketEngine::DelFd(), EventHandler::GetFd(), LogManager::Log(), InspIRCd::Logs, InspIRCd::SE, ServerInstance, EventHandler::SetFd(), and SocketEngine::Shutdown(). Referenced by HandleEvent(), IdentRequestSocket(), ModuleIdent::OnUserDisconnect(), and ReadResponse(). |
|
|
Definition at line 263 of file m_ident.cpp. References result. Referenced by ModuleIdent::OnCheckReady(). |
|
||||||||||||
|
Process an I/O event. You MUST implement this function in your derived class, and it will be called whenever read or write events are received, depending on what your functions Readable() and Writeable() returns and wether you previously made a call to SocketEngine::WantWrite().
Implements EventHandler. Definition at line 216 of file m_ident.cpp. References Close(), DEBUG, done, EVENT_ERROR, EVENT_READ, EVENT_WRITE, LogManager::Log(), InspIRCd::Logs, OnConnected(), ReadResponse(), and ServerInstance. |
|
|
Definition at line 255 of file m_ident.cpp. References done. Referenced by ModuleIdent::OnCheckReady(). |
|
|
Definition at line 178 of file m_ident.cpp. References DEBUG, done, EventHandler::GetFd(), LogManager::Log(), InspIRCd::Logs, InspIRCd::SE, SocketEngine::Send(), ServerInstance, and user. Referenced by HandleEvent(). |
|
|
Definition at line 268 of file m_ident.cpp. References Close(), InspIRCd::Config, DEBUG, done, irc::sepstream::GetToken(), ServerLimits::IdentMax, InspIRCd::IsIdent, ServerConfig::Limits, LogManager::Log(), InspIRCd::Logs, MAXBUF, SocketEngine::Recv(), result, InspIRCd::SE, and ServerInstance. Referenced by HandleEvent(). |
|
|
Definition at line 79 of file m_ident.cpp. Referenced by HandleEvent(), HasResult(), IdentRequestSocket(), OnConnected(), and ReadResponse(). |
|
|
Definition at line 80 of file m_ident.cpp. Referenced by GetResult(), and ReadResponse(). |
|
|
Definition at line 78 of file m_ident.cpp. Referenced by Close(), HandleEvent(), IdentRequestSocket(), OnConnected(), and ReadResponse(). |
|
|
Definition at line 77 of file m_ident.cpp. Referenced by IdentRequestSocket(), and OnConnected(). |