JwsContext.getMaxIdleTime() Method

Gets the number of seconds that the conversation can remain idle before finishing due to client inactivity.

# Syntax

    public long getMaxIdleTime()

# Parameters

None.

# Return Value

The number of seconds that the conversation can remain idle before finishing due to client inactivity.

# Exceptions

IllegalStateException

Thrown if the method is called from a service instance that is not conversational.

# Remarks

A conversation is idle if the service is not receiving incoming messages through an operation method. Note that messages received through callback handlers do not reset a conversation idle time.

Related Topics

JwsContext.resetIdleTime() Method

JwsContext.setMaxIdleTime(long) Method

JwsContext.setMaxIdleTime(String) Method

Managing Conversation Lifetime