パッケージ org.wcardinal.controller
インタフェース ControllerIo
- 既知の実装クラスのリスト:
Endpoint
public interface ControllerIo
-
メソッドの概要
修飾子とタイプメソッド説明long
Returns the idle time.long
Returns the last accessed time.long
Returns the maximum idle time.Returns the session ID.Returns the sub session ID.boolean
Returns true once a network connection has established regardless of whether a network connection is now available or not.boolean
Returns true if a network connection seems to be available.boolean
touch()
Returns true if successfully the last accessed time is updated.
-
メソッドの詳細
-
getSessionId
String getSessionId()Returns the session ID.- 戻り値:
- the session ID
-
getSubSessionId
String getSubSessionId()Returns the sub session ID.- 戻り値:
- the sub session ID
-
getIdleTime
long getIdleTime()Returns the idle time.- 戻り値:
- the idle time
-
getLastAccessedTime
long getLastAccessedTime()Returns the last accessed time.- 戻り値:
- the last accessed time
-
touch
boolean touch()Returns true if successfully the last accessed time is updated.- 戻り値:
- true if successfully the last accessed time is updated
-
getMaximumIdleTime
long getMaximumIdleTime()Returns the maximum idle time.- 戻り値:
- the maximum idle time
-
hasConnection
boolean hasConnection()Returns true if a network connection seems to be available. An availability of a network connection is not guaranteed even when this method returns true.- 戻り値:
- true if a network connection seems to be available
-
hadConnection
boolean hadConnection()Returns true once a network connection has established regardless of whether a network connection is now available or not.- 戻り値:
- true once a network connection has established regardless of whether a network connection is now available or not
-