- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- How to update LM_A_TCP_TIMEOUT through Java API
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello,
I'm using the FNP Java toolkit and would like to know which API to use to update the value of the LM_A_TCP_TIMEOUT attribute.
Also, I read that the default value for LM_A_TCP_TIMEOUT is 2hrs. Is this default value the same when using the FNP Java toolkit?
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ageorge Thanks for raising support case 02738641, if you are not using JNI then there is no way to set LM_A_TCP_TIMEOUT in the pure java client. There are Java-specific calls:
getServerTimeout() and/or initHeartbeat(Heartbeat heartbeat).
Best Regards,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ageorge Thanks for raising support case 02738641, if you are not using JNI then there is no way to set LM_A_TCP_TIMEOUT in the pure java client. There are Java-specific calls:
getServerTimeout() and/or initHeartbeat(Heartbeat heartbeat).
Best Regards,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
@mrathinam Thanks for the reply.
To avoid confusion and duplication I will continue this in the support case.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ageorge That would be good. Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello @mrathinam,
Actually when does the time returned by getServerTimeout() start counting down?
For example, if that method call returns 10mins, at what point does the 10mins countdown start?
Thanks.