NAME

POEx::IRC::Backend::Role::Socket - IRC socket connector behavior

DESCRIPTION

A role defining some basic attributes shared by POEx::IRC::Backend sockets.

This role is consumed by POEx::IRC::Backend::Connect, POEx::IRC::Backend::Connector, and POEx::IRC::Backend::Listener objects.

This role consumes POEx::IRC::Backend::Role::HasWheel and adds the following attributes:

args

Arbitrary metadata attached to this Connector. (By default, this is a HASH.)

This is typically passed on to a successfully spawned POEx::IRC::Backend::Connect.

Predicate: has_args

protocol

The Internet protocol version for this listener (4 or 6).

(For POEx::IRC::Backend-produced objects, this is set automatically.)

ssl

Boolean value indicating whether connections should be SSLified.

(For POEx::IRC::Backend-produced objects, this is set automatically.)

SEE ALSO

POEx::IRC::Backend::Role::HasWheel

POEx::IRC::Backend::Role::HasEndpoint

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>