History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SFT-24
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Nils Ohlmeier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
SF Test Framework

multiple socket listening support

Created: 2004-10-09 07:28   Updated: 2005-01-31 02:19
Component/s: framework
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
The framework should be able to listen on multiple sockets at the same time and not just on one.

With the new central resource management looking for open sockets should be possible. But we need some new "upper" class which collects all open NetworkEventHandlers sockets and call select only on this list and then switches to NEH of the socket where the data came from.

 All   Comments   Work Log   Change History      Sort Order:
Nils Ohlmeier - 2004-10-20 20:59
The alternative to an "upper" class, would probably be to start a thread for each listener. Each of these listeners would then have to put the received messages into a queue at the central process. but then the timeout handling in the listeners and the central process is getting complicated.


Nils Ohlmeier - 2005-01-31 02:19
In any case we should mark/memories what this socket is listening for. E.g. a SIP and a RTP sockets need to call different methods after receiving something.