Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement suggestion: new stayalive function #30

Open
ThePrez opened this issue Apr 25, 2023 · 0 comments
Open

Enhancement suggestion: new stayalive function #30

ThePrez opened this issue Apr 25, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ThePrez
Copy link
Member

ThePrez commented Apr 25, 2023

Proposal is for a new method in the AS400 class to set and enable a "stay alive" feature

Proposed method signature is:

public void setStayAlive(long milliseconds)

If milliseconds is greater than 0, then a request is sent at the specified milliseconds interval to all
currently opened connections to keep the connections alive. This is often needed to prevent
firewalls from dropping stale connections. If set to zero, then stayAlive will not be used.

To be in effect for a connection, this must be set before the connection is created.

@ThePrez ThePrez added the enhancement New feature or request label Apr 25, 2023
@jeber-ibm jeber-ibm self-assigned this May 1, 2023
@jeber-ibm jeber-ibm changed the title Enhancement suggestion: new keepalive function Enhancement suggestion: new stayalive function May 1, 2023
@ThePrez ThePrez added the help wanted Extra attention is needed label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants