[SERVER-23756] Change the definition of MessageHandler::connected() Created: 15/Apr/16  Updated: 22/May/16  Resolved: 20/May/16

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

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

Issue Links:
Related
related to SERVER-23755 Change the contract of MessageHandler... Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 13 (04/22/16), Platforms 14 (05/13/16), Platforms 15 (06/03/16)
Participants:

 Description   

The current definition of MessageHandler::connected() is as follows:

/**
 * Called once when a socket is connected.
 */
virtual void connected(AbstractMessagingPort* p) = 0;

We would like to change this so that it does not take an AbstractMessagingPort. A new possible implementation is:

/**
 * Called when a new session begins.
 */
virtual void connected(Session session) = 0;

Some questions:

  • What information from AbstractMessagingPort needs to go into Session to make this work?


 Comments   
Comment by Samantha Ritter (Inactive) [ 20/May/16 ]

The work being done for SERVER-24162 makes this ticket unnecessary.

Generated at Thu Feb 08 04:04:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.