Net_SmartIRC
[ class tree: Net_SmartIRC ] [ index: Net_SmartIRC ] [ all elements ]

Class: Net_SmartIRC_messagehandler

Source Location: /Net_SmartIRC-1.0.2/SmartIRC/messagehandler.php

Class Overview

Net_SmartIRC_base
   |
   --Net_SmartIRC_irccommands
      |
      --Net_SmartIRC_messagehandler

$Id: messagehandler.php 241017 2007-08-10 09:22:02Z amir $


Author(s):

Version:

  • 0.6.0-dev

Child classes:

Net_SmartIRC
$Id: messagehandler.php 241017 2007-08-10 09:22:02Z amir $

Inherited Variables

Inherited Methods

Class: Net_SmartIRC_irccommands

Net_SmartIRC_irccommands::ban()
bans a hostmask for the given channel or requests the current banlist
Net_SmartIRC_irccommands::changeNick()
changes the own nickname
Net_SmartIRC_irccommands::channel()
returns an object reference to the specified channel
Net_SmartIRC_irccommands::deop()
deops an user in the given channel
Net_SmartIRC_irccommands::devoice()
devoice a user in the given channel
Net_SmartIRC_irccommands::getList()
gets a list of one ore more channels
Net_SmartIRC_irccommands::getTopic()
gets the topic of a channel
Net_SmartIRC_irccommands::invite()
invites a user to the specified channel
Net_SmartIRC_irccommands::join()
Joins one or more IRC channels with an optional key.
Net_SmartIRC_irccommands::kick()
Kicks one or more user from an IRC channel with an optional reason.
Net_SmartIRC_irccommands::message()
sends a new message
Net_SmartIRC_irccommands::mode()
sets or gets the mode of an user or channel
Net_SmartIRC_irccommands::names()
requests all nicknames of one or more channels
Net_SmartIRC_irccommands::op()
ops an user in the given channel
Net_SmartIRC_irccommands::part()
parts from one or more IRC channels with an optional reason
Net_SmartIRC_irccommands::quit()
sends QUIT to IRC server and disconnects
Net_SmartIRC_irccommands::setTopic()
sets a new topic of a channel
Net_SmartIRC_irccommands::unban()
unbans a hostmask on the given channel
Net_SmartIRC_irccommands::voice()
voice a user in the given channel
Net_SmartIRC_irccommands::who()
requests a 'WHO' from the specified target
Net_SmartIRC_irccommands::whois()
requests a 'WHOIS' from the specified target
Net_SmartIRC_irccommands::whowas()
requests a 'WHOWAS' from the specified target (if he left the IRC network)

Class: Net_SmartIRC_base

Net_SmartIRC_base::Net_SmartIRC_base()
Constructor. Initiales the messagebuffer and "links" the replycodes from global into properties. Also some PHP runtime settings are configured.
Net_SmartIRC_base::connect()
Creates the sockets and connects to the IRC server on the given port.
Net_SmartIRC_base::disconnect()
Disconnects from the IRC server nicely with a QUIT or just destroys the socket.
Net_SmartIRC_base::getChannel()
Returns a reference to the channel object of the specified channelname.
Net_SmartIRC_base::getMotd()
Returns the full motd.
Net_SmartIRC_base::getUser()
Returns a reference to the user object for the specified username and channelname.
Net_SmartIRC_base::getUsermode()
Returns the usermode.
Net_SmartIRC_base::isBanned()
Checks if the hostmask is on the specified channel banned and returns the result.
Net_SmartIRC_base::isError()
Net_SmartIRC_base::isJoined()
checks if we or the given user is joined to the specified channel and returns the result ChannelSyncing is required for this.
Net_SmartIRC_base::isMe()
checks if the passed nickname is our own nickname
Net_SmartIRC_base::isOpped()
Checks if we or the given user is opped on the specified channel and returns the result.
Net_SmartIRC_base::isVoiced()
Checks if we or the given user is voiced on the specified channel and returns the result.
Net_SmartIRC_base::listen()
goes into receive mode
Net_SmartIRC_base::listenFor()
waits for a special message type and puts the answer in $result
Net_SmartIRC_base::listenOnce()
goes into receive mode _only_ for one pass
Net_SmartIRC_base::loadModule()
Net_SmartIRC_base::log()
Adds an entry to the log.
Net_SmartIRC_base::login()
login and register nickname on the IRC network
Net_SmartIRC_base::reconnect()
Reconnects to the IRC server with the same login info, it also rejoins the channels
Net_SmartIRC_base::registerActionhandler()
registers a new actionhandler and returns the assigned id
Net_SmartIRC_base::registerTimehandler()
registers a timehandler and returns the assigned id
Net_SmartIRC_base::send()
sends an IRC message
Net_SmartIRC_base::setAutoReconnect()
Enables/disables autoreconnecting.
Net_SmartIRC_base::setAutoRetry()
Enables/disables autoretry for connecting to a server.
Net_SmartIRC_base::setAutoRetryMax()
Sets the maximum number of attempts to connect to a server before giving up.
Net_SmartIRC_base::setBenchmark()
Enables/disables the benchmark engine.
Net_SmartIRC_base::setChannelSynching()
Deprecated, use setChannelSyncing() instead!
Net_SmartIRC_base::setChannelSyncing()
Enables/disables channel syncing.
Net_SmartIRC_base::setCtcpVersion()
Sets the CTCP version reply string.
Net_SmartIRC_base::setDebug()
Sets the level of debug messages.
Net_SmartIRC_base::setDisconnecttime()
Sets the delaytime before closing the socket when disconnect.
Net_SmartIRC_base::setLogdestination()
Sets the destination of all log messages.
Net_SmartIRC_base::setLogfile()
Sets the file for the log if the destination is set to file.
Net_SmartIRC_base::setModulepath()
Sets the paths for the modules.
Net_SmartIRC_base::setReceivedelay()
Sets the delay for receiving data from the IRC server.
Net_SmartIRC_base::setReceiveTimeout()
Sets the receive timeout.
Net_SmartIRC_base::setReconnectdelay()
Sets the delaytime before attempting reconnect.
Net_SmartIRC_base::setRunAsDaemon()
Sets wheter the script should be run as a daemon or not ( actually disables/enables ignore_user_abort() )
Net_SmartIRC_base::setSenddelay()
Sets the delay for sending data to the IRC server.
Net_SmartIRC_base::setTransmitTimeout()
Sets the transmit timeout.
Net_SmartIRC_base::setUserSyncing()
Enables/disables user syncing.
Net_SmartIRC_base::setUseSockets()
Enables/disables the usage of real sockets.
Net_SmartIRC_base::showBenchmark()
Shows the benchmark result.
Net_SmartIRC_base::startBenchmark()
Starts the benchmark (sets the counters).
Net_SmartIRC_base::stopBenchmark()
Stops the benchmark and displays the result.
Net_SmartIRC_base::throwError()
Net_SmartIRC_base::unloadModule()
Net_SmartIRC_base::unregisterActionhandler()
unregisters an existing actionhandler
Net_SmartIRC_base::unregisterActionid()
unregisters an existing actionhandler via the id
Net_SmartIRC_base::unregisterTimeid()
unregisters an existing timehandler via the id

Class Details

[line 27]
$Id: messagehandler.php 241017 2007-08-10 09:22:02Z amir $

$Revision: 241017 $ $Author: amir $ $Date: 2007-08-10 18:52:02 +0930 (Fri, 10 Aug 2007) $

Copyright (c) 2002-2004 Mirco Bauer <meebey@meebey.net> <http://www.meebey.net>

Full LGPL License: <http://www.gnu.org/licenses/lgpl.txt>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA



[ Top ]


Documentation generated on Mon, 25 Oct 2010 14:30:09 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.