Masanori Hara
and 1 contributors

NAME

Net:IPMessenger::ToStdoutEventHandler - event handler for standard output

SYNOPSIS

    use Net::IPMessenger::ToStdoutEventHandler;

    ...

    $ipmsg->add_event_handler( new Net::IPMessenger::ToStdoutEventHandler );

DESCRIPTION

IP Messenger receive event handler for standard output.

METHODS

output

    output($user->nickname . " joined.");

This actually converts encodings and output to STDOUT.

debug

Outputs debug receive message.

BR_ENTRY

Outputs "someone joined." message.

BR_EXIT

Outputs "someone left." message.

SENDMSG

Outputs "you've got message from someone." message.

SEE ALSO

Net::IPMessenger::EventHandler