Class irc

Description

Provides basic mechanisms for the IRCD socket connection.

Channel class object

Located in /includes/class/Class.irc.php (line 25)

sockets
   |
   --irc
Method Summary
void __construct (string $host, int $port)
void disconnect ()
unknown has_burst ()
bool ok ()
bool send (string $string)
void setBurst (bool $value)
Methods
Constructor __construct (line 39)

Irc object constructor.

void __construct (string $host, int $port)
  • string $host
  • int $port

Redefinition of:
sockets::__construct()
Constructor to set host and port of our future connection
disconnect (line 49)

Disconnects from the irc server.

void disconnect ()
has_burst (line 83)

This command checks if we have finished our sync

burst with the server. Plex has a tendency of making our local uplink send us an EOB on every remote server connect. This causes services to eroneously report that primary bursts are complete.

unknown has_burst ()
ok (line 108)

Actually connected to an irc server?

bool ok ()
send (line 60)

Send a string to the ircd server

bool send (string $string)
  • string $string
setBurst (line 97)

Sets the objects burst check.

void setBurst (bool $value)
  • bool $value

Inherited Methods

Inherited From sockets

sockets::__construct()
sockets::connect()
sockets::sendto()

Documentation generated on Thu, 19 Nov 2009 20:25:17 -0700 by phpDocumentor 1.4.1