AnyEvent-STOMP-Client
view release on metacpan or search on metacpan
lib/AnyEvent/STOMP/Client.pm view on Meta::CPAN
"\r" => "\\r",
"\n" => "\\n",
":" => "\\c",
"\\" => "\\\\",
);
my %DECODE_MAP = reverse %ENCODE_MAP;
sub new {
my $class = shift;
my $self = $class->SUPER::new;
$self->{connection_timeout_margin} = 250;
$self->{connected} = 0;
$self->{counter} = 0;
$self->{host} = shift || 'localhost';
$self->{port} = shift || 61613;
my $connect_headers = shift || {};
lib/AnyEvent/STOMP/Client/Any.pm view on Meta::CPAN
our $VERSION = '0.42';
my $SEPARATOR_ID_ACK = '#';
my $SEPARATOR_BROKER_ID = ':';
sub new {
my $class = shift;
my $config = shift;
my $self = $class->SUPER::new;
bless $self, $class;
$self->{config} = $config;
$self->setup_stomp_clients();
return $self;
}
sub setup_stomp_clients {
my $self = shift;
( run in 1.181 second using v1.01-cache-2.11-cpan-49f99fa48dc )