Issue Details (XML | Word | Printable)

Key: DIRMINA-38
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Trustin Lee
Reporter: Emmanuel Lecharny
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

Adding a flush method to ProtocolEncoderOutput

Created: 13/May/05 04:00 PM   Updated: 07/Dec/05 06:13 PM
Return to search
Component/s: None
Affects Version/s: 0.7.0, 0.7.1, 0.8.0
Fix Version/s: 0.9.0

Time Tracking:
Not Specified

Issue Links:
dependent
 

Resolution Date: 12/Jun/05 09:08 PM


 Description  « Hide
It would be very interesting to have a flush method in ProtocolEncoderOutput interface, allowing the caller to send chunks of PDU without creating a full bufer to store it. The memory footprint could be greatly improved.

This method could be blocking or not blocking (i.e, MINA could return a status after having sent the PDU chunk - blocking mode - or storing the PDU chunk in it's own buffer pool, and returning).

wdyt?

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee made changes - 13/May/05 04:28 PM
Field Original Value New Value
Link This issue depends upon DIRMINA-39 [ DIRMINA-39 ]
Trustin Lee added a comment - 13/May/05 04:28 PM
flush() method will also return Future so that codec can await.

Trustin Lee made changes - 13/May/05 04:29 PM
Fix Version/s 0.9 [ 11069 ]
Affects Version/s 0.7.1 [ 11171 ]
Affects Version/s 0.8 [ 11068 ]
Affects Version/s 0.7 [ 11067 ]
Trustin Lee added a comment - 13/May/05 04:30 PM
I'll fix this issue in 0.9 stream with 'Future' enhancement. Is that OK?

Trustin Lee made changes - 30/May/05 09:04 PM
Assignee Trustin Lee [ trustin ]
Trustin Lee added a comment - 12/Jun/05 09:08 PM
ProtocolEncoderOutput has flush() method that returns WriteFuture now.

Trustin Lee made changes - 12/Jun/05 09:08 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Emmanuel Lecharny added a comment - 07/Dec/05 06:13 PM
It has been closed a looooong time ago !

Emmanuel Lecharny made changes - 07/Dec/05 06:13 PM
Status Resolved [ 5 ] Closed [ 6 ]