SYNOPSIS

    use Net::Hotline::PrivateChat;

    $pchat = new Net::Hotline::PrivateChat;

    $pchat->subject("Issue 1: Monkey beards");
    $pchat->reference(0x313337);
    ...

DESCRIPTION

Net::Hotline::PrivateChat is a simple class for storing and retrieving private chat information, You should never have to create your own Net::Hotline::PrivateChat objects when using Net::Hotline::Client. Getting and (to a lesser extent) setting attributes is all that should be necessary.

CONSTRUCTION

new \s-1REF\s0, \s-1USERLIST\s0, \s-1SUBJECT\s0

Creates a new Net::Hotline::PrivateChat object with the reference \s-1REF\s0, userlist \s-1USERLIST\s0, and subject \s-1SUBJECT\s0, where \s-1REF\s0 is a number, \s-1USERLIST\s0 is a reference to a hash of Net::Hotline::User objects keyed by socket number, and \s-1SUBJECT\s0 is a string. Any missing arguments will be set to undef.

METHODS

All the Net::Hotline::PrivateChat methods are simple attribute get/set routines. If given an argument, they set an attribute. In all cases, they return the current value of the attribute.

reference \s-1NUM\s0

The private chat reference number.

subject \s-1TEXT\s0

The subject of the private chat.

userlist \s-1HASHREF\s0

The list of users in the private chat.

AUTHOR

John C. Siracusa ([email protected])

COPYRIGHT

Copyright(c) 1999 by John Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.