|
|||
|
|||
|
#include <protocol.h>
Inheritance diagram for ProtocolInterface:


Public Member Functions | |
| ProtocolInterface (InspIRCd *Instance) | |
| virtual | ~ProtocolInterface () |
| virtual void | SendEncapsulatedData (parameterlist &encap) |
| Send an ENCAP message to one or more linked servers. | |
| virtual void | SendMetaData (void *target, TargetTypeFlags type, const std::string &key, const std::string &data) |
| Send metadata for an object to other linked servers. | |
| virtual void | SendTopic (Channel *channel, std::string &topic) |
| Send a topic change for a channel. | |
| virtual void | SendMode (const std::string &target, parameterlist &modedata) |
| Send mode changes for an object. | |
| virtual void | SendModeStr (const std::string &target, const std::string &modeline) |
| Convenience function, string wrapper around the above. | |
| virtual void | SendModeNotice (const std::string &modes, const std::string &text) |
| Send a notice to users with a given mode(s). | |
| virtual void | SendSNONotice (const std::string &snomask, const std::string &text) |
| Send a notice to users with a given snomask. | |
| virtual void | PushToClient (User *target, const std::string &rawline) |
| Send raw data to a remote client. | |
| virtual void | SendChannelPrivmsg (Channel *target, char status, const std::string &text) |
| Send a message to a channel. | |
| virtual void | SendChannelNotice (Channel *target, char status, const std::string &text) |
| Send a notice to a channel. | |
| virtual void | SendUserPrivmsg (User *target, const std::string &text) |
| Send a message to a user. | |
| virtual void | SendUserNotice (User *target, const std::string &text) |
| Send a notice to a user. | |
| virtual void | GetServerList (ProtoServerList &sl) |
| Fill a list of servers and information about them. | |
| virtual void | Introduce (User *u) |
| Send information about a user connection to linked servers. | |
Protected Attributes | |
| InspIRCd * | ServerInstance |
Definition at line 37 of file protocol.h.
|
|
Definition at line 42 of file protocol.h. |
|
|
Definition at line 43 of file protocol.h. |
|
|
Fill a list of servers and information about them.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 133 of file protocol.h. Referenced by ModuleHttpStats::OnEvent(). |
|
|
Send information about a user connection to linked servers.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 138 of file protocol.h. Referenced by User::FullConnect(), ModuleSpanningTree::ModuleSpanningTree(), and TreeSocket::ParseUID(). |
|
||||||||||||
|
Send raw data to a remote client.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 101 of file protocol.h. Referenced by CommandAlltime::Handle(), ModuleSpanningTree::HandleMap(), and ModuleShowwhois::OnWhois(). |
|
||||||||||||||||
|
Send a notice to a channel.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 115 of file protocol.h. |
|
||||||||||||||||
|
Send a message to a channel.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 108 of file protocol.h. Referenced by ModuleChanLog::OnSendSnotice(). |
|
|
Send an ENCAP message to one or more linked servers. See the protocol documentation for the purpose of ENCAP.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 51 of file protocol.h. Referenced by SaslAuthenticator::SaslAuthenticator(), and SaslAuthenticator::SendClientMessage(). |
|
||||||||||||||||||||
|
Send metadata for an object to other linked servers.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 59 of file protocol.h. Referenced by CommandSwhois::Handle(), CommandTitle::Handle(), ModuleSWhois::OnPostCommand(), ModuleSSLOpenSSL::OnPostConnect(), ModuleSSLGnuTLS::OnPostConnect(), and ModuleSASL::OnPostConnect(). |
|
||||||||||||
|
Send mode changes for an object.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 71 of file protocol.h. Referenced by ModuleModesOnOper::ApplyModes(), CommandSamode::Handle(), and SendModeStr(). |
|
||||||||||||
|
Send a notice to users with a given mode(s).
Reimplemented in SpanningTreeProtocolInterface. Definition at line 89 of file protocol.h. |
|
||||||||||||
|
Convenience function, string wrapper around the above.
Definition at line 75 of file protocol.h. References irc::sepstream::GetToken(), and SendMode(). Referenced by ModuleTimedBans::OnBackgroundTimer(), and ModuleMsgFlood::ProcessMessages(). |
|
||||||||||||
|
Send a notice to users with a given snomask.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 95 of file protocol.h. Referenced by CommandSATopic::Handle(). |
|
||||||||||||
|
Send a topic change for a channel.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 65 of file protocol.h. |
|
||||||||||||
|
Send a notice to a user.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 127 of file protocol.h. Referenced by ModuleSpanningTree::RemoteMessage(). |
|
||||||||||||
|
Send a message to a user.
Reimplemented in SpanningTreeProtocolInterface. Definition at line 121 of file protocol.h. |
|