Summary
Add a predicate for port open/closed status (slot 8)
Metadata
- Id: a15a60df0eeae72fb1628fcd617da43591680e31
- Trac id: 225
- Type: enhancement
- Reporter: sjamaan
- Owner: Felix
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty:
- Resolution: fixed
- Priority: not urgent at all
- Milestone:
- Version: 4.6.0
- Changetime: 2011-04-04 08:31:00 UTC
- Created: 2010-05-01 15:31:05 UTC
- Keywords: ports, closed, status
Attachments
- a15a60df0eeae72fb1628fcd617da43591680e31/attachments/port-closed.patch
Description
Currently there's no way to check if a port is open or closed besides from performing an operation on it and checking whether it caused an exception or call ##sys#slot on it directly.
It would be a good idea to add a port-closed? predicate. Here's a patch.
Changes and comments
[2010-05-01 15:31:22 UTC] sjamaan attached port-closed.patch (description=Implementation of port-closed?)
[2010-05-02 00:23:17 UTC] felix changed status from new to closed
[2010-05-02 00:23:17 UTC] felix set resolution to fixed
[2010-05-02 00:23:17 UTC] felix wrote:
Applied in 6eda778123408d57e78e6e87935dd7c588df724c (experimental).
Thanks, sjaaman.
[2011-04-04 08:31:00 UTC] felix removed milestone 4.6.0
[2011-04-04 08:31:00 UTC] felix wrote:
Milestone 4.6.0 deleted