From 7455e1c881f12eaf3ec9658ac84add6b61b131a3 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 30 Mar 2003 18:38:07 +0000 Subject: Updated docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@171 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classModule.html | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'docs/module-doc/classModule.html') diff --git a/docs/module-doc/classModule.html b/docs/module-doc/classModule.html index b15439b3d..7fd4956d7 100644 --- a/docs/module-doc/classModule.html +++ b/docs/module-doc/classModule.html @@ -37,9 +37,13 @@ Inheritance diagram for Module:

OnUserPart (userrec *user, chanrec *channel)  Called when a user parts a channel.

virtual void Module::OnPacketTransmit (char *p) + Called before a packet is transmitted across the irc network between two irc servers.

virtual void Module::OnPacketReceive (char *p) + Called after a packet is received from another irc server.

virtual void OnRehash () + Called on rehash.

virtual void Module::OnServerRaw (string &raw, bool inbound) + Called when a raw command is transmitted or received.


Detailed Description

Base class for all InspIRCd modules This class is the base class for InspIRCd modules. @@ -181,7 +185,9 @@ Definition at line 37 o

- +Called after a packet is received from another irc server. +

+The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called immediately after the packet is received but before any other operations with the core of the ircd.

@@ -210,7 +216,9 @@ Definition at line 37 o

- +Called before a packet is transmitted across the irc network between two irc servers. +

+The packet is represented as a char*, as it should be regarded as a buffer, and not a string. This allows you to easily represent it in the correct ways to implement encryption, compression, digital signatures and anything else you may want to add. This should be regarded as a pre-processor and will be called before ANY other operations within the ircd core program.

@@ -248,7 +256,9 @@ Definition at line 37 o

- +Called when a raw command is transmitted or received. +

+This method is the lowest level of handler available to a module. It will be called with raw data which is passing through a connected socket. If you wish, you may munge this data by changing the string parameter "raw". If you do this, after your function exits it will immediately be cut down to 510 characters plus a carriage return and linefeed.

@@ -276,7 +286,9 @@ Definition at line 37 o

- +Called on rehash. +

+This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application.

Definition at line 35 of file modules.cpp.

@@ -448,7 +460,7 @@ Definition at line 30 o


The documentation for this class was generated from the following files: -
Generated on Sun Mar 30 13:29:10 2003 for InspIRCd by +
Generated on Sun Mar 30 19:36:13 2003 for InspIRCd by doxygen1.3-rc3
-- cgit v1.2.3