Net::BEEP::Lite::Channel - a class for holding BEEP channel variables.
This is a class that basically just hold various channel related variables.
Most of the actual "action" methods are in
This is the main constructor. It takes a named parameter list as its argument. See the initialize method for a list of valid parameter names.
Initialize the object. This is generally called by the constructor and subclasses. It takes the following named parameters:
Sets or returns the profile implementation object assoc. with this channel (if any).
Returns the current (sending) sequence number for this channel. Note that this is the sequence number for octets being sent to the peer.
Adds length to the current sequence number. This is done when frames are written to the socket.
Returns (or sets and returns) the peer sequence number. This is (or should be) the sequence number of the octet seen from the peer on this channel. I.e., this should get updated when frames are read from the socket. This value is primarily used in calculating SEQ frames to send back to the peer (as the ackno.).
Sets or returns the current message number for this channel.
Returns the current message number, then increments it.
Sets or returns the size of the local (receiving) window. This is what gets published in sent SEQ frames for this window.
Sets or returns the size of the remove (sending) window. This is what is used to determine the max payload size on a frame that is about to be sent.
Returns the current message that is under construction by the recv_* method in
Adds (or create a new message with) the frame to the message under construction.
Clears the message under construction. This is generally done when the message is complete.
Returns or sets the ANS message under construction for the given ANS number.
Adds a frame (or creates a new ANS message) for the ANS message under construction with the frame's ANS number.
Clears the ANS message under construction with the given ANS number. This is generally done when the message is complete.
Returns the channel number.