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