NAME
Net::Stomp::MooseHelpers::Types - type definitions for Net::Stomp::MooseHelpers
VERSION
version 2.2
TYPES
NetStompish
Any object that can connect
, subscribe
, unsubscribe
, receive_frame
, ack
, send
, send_frame
.
Hostname
A string.
PortNumber
An integer between 1 and 65535.
ServerConfig
A hashref having a hostname
key (with value matching "Hostname"), a port
key (value matching "PortNumber"), and optionally a connect_headers
key (with a hashref value) and a subscribe_headers
key (with a hashref value). See "connect" in Net::Stomp::MooseHelpers::CanConnect.
ServerConfigList
An arrayref of "ServerConfig" values. Can be coerced from a single "ServerConfig".
Headers
A hashref.
SubscriptionConfig
A hashref having a destination
key (with a value matching "Destination"), and optionally a path_info
key (with value matching "Path") and a headers
key (with a hashref value). See "subscribe" in Net::Stomp::MooseHelpers::CanSubscribe.
SubscriptionConfigList
An arrayref of "SubscriptionConfig" values. Can be coerced from a single "SubscriptionConfig".
Destination
A string starting with /queue/
or /topic/
.
Permissions
, OctalPermissions
UNIX-style file-system permissions. Permissions
is an integer type, suitable to be passed to chmod
. OctalPermissions
is a string type coercible to Permissions
, allowing you to specify permissions in the usual "0644"
form.
AUTHOR
Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Net-a-porter.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.