Jon Portnoy > POEx-IRC-Backend > POEx::IRC::Backend::Role::Connector

Download:
POEx-IRC-Backend-0.024006.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.024006   Source  

NAME ^

POEx::IRC::Backend::Role::Connector

SYNOPSIS ^

A Moo::Role defining some basic common attributes for listening/connecting sockets.

DESCRIPTION ^

This role is consumed by POEx::IRC::Backend::Connector and POEx::IRC::Backend::Listener objects; it defines some basic attributes shared by listening/connecting sockets.

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

addr

The local address we are bound to.

port

The local port we are listening on.

set_port

Change the current port attribute.

This won't trigger any automatic Wheel changes (at this time), but it is useful when creating a listener on port 0.

protocol

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

ssl

Boolean value indicating whether connections should be SSLified.

AUTHOR ^

Jon Portnoy <avenj@cobaltirc.org>

syntax highlighting: