Class ConnectionContext

java.lang.Object
org.serviceconnector.net.connection.ConnectionContext

public class ConnectionContext extends Object
The Class ConnectionContext.
Author:
JTraber
  • Constructor Details

    • ConnectionContext

      public ConnectionContext(IConnection connection, IIdleConnectionCallback idleCallback, int idleTimeoutSeconds)
      Instantiates a new connection context.
      Parameters:
      connection - the connection
      idleCallback - the idle callback
      idleTimeoutSeconds - the idle timeout
  • Method Details

    • getConnection

      public IConnection getConnection()
      Gets the connection.
      Returns:
      the connection
    • getIdleTimeoutSeconds

      public int getIdleTimeoutSeconds()
      Gets the idle timeout in seconds.
      Returns:
      the idle timeout
    • getIdleCallback

      public IIdleConnectionCallback getIdleCallback()
      Gets the idle callback.
      Returns:
      the idle callback