| IM-Engine documentation | Contained in the IM-Engine distribution. |
IM::Engine::Outgoing - a message we're sending to somebody
An instance of IM::Engine::User which represents the recipient of this outgoing message.
An instance of IM::Engine::Incoming to which this outgoing message was a
response. Since not all outgoing messages are replies, this attribute may have
no value; use the has_incoming accessor to see whether it does.
| IM-Engine documentation | Contained in the IM-Engine distribution. |
package IM::Engine::Outgoing; use Moose; use MooseX::StrictConstructor; extends 'IM::Engine::Message'; has recipient => ( is => 'ro', isa => 'IM::Engine::User', required => 1, ); has incoming => ( is => 'ro', isa => 'IM::Engine::Incoming', predicate => 'has_incoming', ); __PACKAGE__->meta->make_immutable; no Moose; 1; # Sartak is not at all outgoing! __END__