Net::Stomp::MooseHelpers::Types - type definitions for Net::Stomp::MooseHelpers
version 3.0
NetStompish
Any object that can connect, subscribe, unsubscribe, receive_frame, ack, send, send_frame.
connect
subscribe
unsubscribe
receive_frame
ack
send
send_frame
Hostname
A string.
PortNumber
An integer between 1 and 65535.
ServerConfig
A hashref with these keys:
hostname
with value matching "Hostname"
port
value matching "PortNumber"
connect_headers
optional, a hashref value (credentials go here, as login / passcode)
login
passcode
subscribe_headers
optional, a hashref value
ssl
optional boolean, defaults to false
ssl_options
optional, a hashref value, passed to IO::Socket::SSL from inside Net::Stomp
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.
destination
path_info
headers
SubscriptionConfigList
An arrayref of "SubscriptionConfig" values. Can be coerced from a single "SubscriptionConfig".
Destination
A string starting with /queue/ or /topic/.
/queue/
/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.
chmod
"0644"
Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>
This software is copyright (c) 2014 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.
To install Net::Stomp::MooseHelpers, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Stomp::MooseHelpers
CPAN shell
perl -MCPAN -e shell install Net::Stomp::MooseHelpers
For more information on module installation, please visit the detailed CPAN module installation guide.