Net::STOMP::Client::IO - Input/Output support for Net::STOMP::Client
This module provides Input/Output (I/O) support. It is used internally by Net::STOMP::Client and should not be directly used elsewhere.
It uses non-blocking I/O: the socket is in non-blocking mode and errors like EAGAIN or EWOULDBLOCK are trapped.
EAGAIN
EWOULDBLOCK
This module provides the following internal methods:
return a new Net::STOMP::Client::IO object (class method)
queue (append to the internal outgoing buffer) the given data (a binary string reference); return the length of DATA in bytes
send some queued data to the socket; return the total number of bytes written
receive some data from the socket and put it in the internal incoming buffer; return the total number of bytes read
Net::STOMP::Client.
Lionel Cons http://cern.ch/lionel.cons
Copyright (C) CERN 2010-2013
To install Net::STOMP::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::STOMP::Client
CPAN shell
perl -MCPAN -e shell install Net::STOMP::Client
For more information on module installation, please visit the detailed CPAN module installation guide.