| Net-AIM documentation | view source | Contained in the Net-AIM distribution. |
Net::AIM::Event - Object to hold event data
This module holds data about an event which is any instruction we get from the server.
Net::AIM::Event constructor. Takes 4 args * The type of event * The originator (screenname or server) * To/Destination (us - remnants from IRC module days...) * @ARGS
Print the event to STDERR good for debugging
Sets the event's argument list to @args if it is provided. Otherwise it returns the event's argument list.
Sets the originator of this event if $from is provided. Otherwise it returns the event's originator. Usually either a ScreenName|Server
Sets the recipients of this event if @to is provided. Otherwise it returns the event's recipient list.
This method takes a numeric $error_code and returns a string representing the definition of the error code, or undef if the $error_code is unknown.
Sets the type of this event if $type is provided. Otherwise it returns the event's type.
Aryeh Goldsmith <perlaim@aryeh.net>.
The Net::AIM project: http://www.aryeh.net/Net-AIM/
The Net::AIM bot list: http://www.nodoubtyo.com/aimbots/
perl(1)
| Net-AIM documentation | view source | Contained in the Net-AIM distribution. |