jira-importer opened a new issue, #1147:
URL: https://github.com/apache/httpcomponents-core/issues/1147

   **[Gary D. 
Gregory](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=garydgregory)**
 opened 
**[HTTPCORE-620](https://issues.apache.org/jira/browse/HTTPCORE-620?redirect=false)**
 and commented
   
   Refactor int constants fromĀ `org.apache.hc.core5.reactor.IOSession` into an 
enum called state:
   * int org.apache.hc.core5.reactor.IOSession.ACTIVE
   * int org.apache.hc.core5.reactor.IOSession.CLOSED
   * int org.apache.hc.core5.reactor.IOSession.CLOSING
   
   Like:
   
   ```java
   public interface IOSession extends ByteChannel, SocketModalCloseable, 
Identifiable {
   
       public enum Status {
   
           ACTIVE(0),
           CLOSING(1),
           CLOSED(Integer.MAX_VALUE);
   
           private Status(final int rank) {
               this.rank = rank;
           }
   
           public final int rank;
   
       }
   ...
   ```
   
   https://github.com/apache/httpcomponents-core/pull/180
   
   
   ---
   
   **Remote Links:**
   - [GitHub Pull Request `#180`
   ](https://github.com/apache/httpcomponents-core/pull/180)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to