[SERVER-18570] Add getters for Message _buf and _data Created: 19/May/15  Updated: 05/Feb/16  Resolved: 26/Jun/15

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: 3.1.5

Type: Task Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

Also, consider adding a method to return whether Message has a single data buffer. Message::singleData() masserts that this is the case, but it would be useful to have something that just observes.



 Comments   
Comment by Samantha Ritter (Inactive) [ 26/Jun/15 ]

Getter for _buf added: https://github.com/mongodb/mongo/commit/8152573ed2eae299001b2e4d459c3caf4f8fe245

Comment by Samantha Ritter (Inactive) [ 26/Jun/15 ]

For now we aren't handling vectored Messages. So, yes, this can be closed.

Comment by Adam Midvidy [ 26/Jun/15 ]

it looks like the getter for _buf was added in commit 8152573e. Do you think you need the other ones or can you close this out?

Generated at Thu Feb 08 03:48:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.