NAME

Net::STOMP::Client::IO - Input/Output support for Net::STOMP::Client

DESCRIPTION

This module provides Input/Output support for Net::STOMP::Client.

It is used internally by Net::STOMP::Client and should not be used elsewhere.

FUNCTIONS

This module provides the following functions and methods:

new(SOCKET)

create a new Net::STOMP::Client::IO object

queue_data(DATA)

queue (append to the internal outgoing buffer) the given data (a string reference); return the length of DATA in bytes

send_data(TIMEOUT)

send some queued data to the socket; return the total number of bytes written

receive_data(TIMEOUT)

receive some data from the socket and put it in the internal incoming buffer; return the total number of bytes read

incoming_buffer_reference()

return a reference to the internal incoming buffer (a string)

outgoing_buffer_length()

return the length of the internal outgoing buffer

AUTHOR

Lionel Cons http://cern.ch/lionel.cons

Copyright CERN 2010-2011