Changes between and of Initial VersionVersion 5Ticket #5400


Ignore:
Timestamp:
11/29/2011 06:59:04 AM (8 years ago)
Author:
Itamar Turner-Trauring
Comment:

Old ticket description:

FileDescriptor has way too much code, much of it irrelevant to simple cases like ports. It also implements an implicit, hard to test state machine.

We should create a replacement that is simpler, and with hooks for an explicit state machine. Later tickets could then begin switching some our port classes to this new class, and someday even transports.

I decided to switch the ticket to the concrete case of switching UDP ports away from FileDescriptor.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5400

    • Property Summary changed from Create a replacement FileDescriptor class that has less hardcoded logic to Change UDP port to have an explicit state machine, and no FileDescriptor dependency
    • Property Owner set to Itamar Turner-Trauring
    • Property Branch changed from to branches/filedescriptor-5400
    • Property Author changed from to itamarst
  • Ticket #5400 – Description

    initial v5  
    1 `FileDescriptor` has way too much code, much of it irrelevant to simple cases like ports. It also implements an implicit, hard to test state machine.
     1`FileDescriptor` has way too much code, much of it irrelevant to simple cases like ports. It also implements an implicit, hard to test state machine, much of it irrelevant to ports.
    22
    3 We should create a replacement that is simpler, and with hooks for an explicit state machine. Later tickets could then begin switching some our port classes to this new class, and someday even transports.
     3As a starting point for replacing it, or at least restricting it to transports where all the extra logic is relevant, we should implement a UDP port that doesn't inherit from `FileDescriptor`, and uses an explicit state machine. The explicit state machine will help us learn the requirements for the more complex state machine we can expect for TCP transports.