]
Bela Ban commented on JGRP-1335:
--------------------------------
The byte[] getState() and setState(byte[] state) callbacks have been removed from
MessageListener and ReceiverAdapter. When we still use STATE_TRANSFER, the byte buffers
will get converted (internally) into input- and output- streams
Collapse setState and getState callbacks
----------------------------------------
Key: JGRP-1335
URL:
https://issues.jboss.org/browse/JGRP-1335
Project: JGroups
Issue Type: Feature Request
Affects Versions: 2.6, 2.9, 2.10, 2.11, 2.12
Reporter: Vladimir Blagojevic
Assignee: Bela Ban
Fix For: 3.0
Currently we maintain two sets of getState and setState callbacks, one for byte based
transfer and the other for stream based transfer. Users had to implement both types of
callbacks if the wanted to interchange STREAMING_STATE_TRANSFER and STATE_TRANSFER. If we
use only stream based callbacks we can simplify client code and users can choose what type
of transfer they want as a protocol option of STREAMING_STATE_TRANSFER. Finally, we could
potentially drop STATE_TRANSFER all together.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: