クラス HsmsGsCommunicatorConfig
java.lang.Object
com.shimizukenta.secs.AbstractSecsCommunicatorConfig
com.shimizukenta.secs.hsms.AbstractHsmsCommunicatorConfig
com.shimizukenta.secs.hsmsgs.HsmsGsCommunicatorConfig
- すべての実装されたインタフェース:
java.io.Serializable
public class HsmsGsCommunicatorConfig extends AbstractHsmsCommunicatorConfig
This class is config of HSMS-GS-Communicator.
- To add SESSION-ID,
addSessionId(int). - To set Connect or Bind SocketAddress,
socketAddress(SocketAddress)}. - To set not try-SELECT.REQ communicator,
notTrySelectRequest(). - To set retry-SELECT.REQ timeout,
retrySelectRequestTimeout(float).
- 関連項目:
- 直列化された形式
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 HsmsGsCommunicatorConfig()Constructor. -
メソッドの概要
修飾子とタイプ メソッド 説明 booleanaddSessionId(int sessionId)Returns true if add success, otherwise false.BooleanPropertyisTrySelectRequest()ReadOnlyBooleanProperty of is-try-SELECT.REQ getter.voidnotTrySelectRequest()Set Not Try SELECT.REQ.booleanremoveSessionId(int sessionId)Returns true if remove success, otherwise false.TimeoutPropertyretrySelectRequestTimeout()ReadOnlyTimeProperty of SELECT.REQ Timeout getter.voidretrySelectRequestTimeout(float seconds)SELECT.REQ retry-timeout setter.SetProperty<java.lang.Integer>sessionIds()Returns Session-ID set.ObjectProperty<java.net.SocketAddress>socketAddress()Connect or bind SocketAddress gettervoidsocketAddress(java.net.SocketAddress socketAddress)Connect or bind SocketAddress setterクラスから継承されたメソッド com.shimizukenta.secs.hsms.AbstractHsmsCommunicatorConfig
connectionMode, connectionMode, doLinktest, doRebindIfPassive, linktest, linktestTime, notLinktest, notRebindIfPassive, rebindIfPassive, rebindIfPassiveTimeクラスから継承されたメソッド com.shimizukenta.secs.AbstractSecsCommunicatorConfig
gem, isEquip, isEquip, logSubjectHeader, logSubjectHeader, name, name, timeoutクラスから継承されたメソッド java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
コンストラクタの詳細
-
HsmsGsCommunicatorConfig
public HsmsGsCommunicatorConfig()Constructor.
-
-
メソッドの詳細
-
addSessionId
public boolean addSessionId(int sessionId)Returns true if add success, otherwise false.- パラメータ:
sessionId- Session-ID- 戻り値:
- true if add success, otherwise false
-
removeSessionId
public boolean removeSessionId(int sessionId)Returns true if remove success, otherwise false.- パラメータ:
sessionId- Session-ID- 戻り値:
- true if remove success, otherwise false
-
sessionIds
Returns Session-ID set.- 戻り値:
- Session-ID set
-
socketAddress
public void socketAddress(java.net.SocketAddress socketAddress)Connect or bind SocketAddress setter- パラメータ:
socketAddress- PASSIVE/ACTIVE SocketAddress
-
socketAddress
Connect or bind SocketAddress getter- 戻り値:
- socketAddress PASSIVE/ACTIVE SocketAddress
-
notTrySelectRequest
public void notTrySelectRequest()Set Not Try SELECT.REQ. -
isTrySelectRequest
ReadOnlyBooleanProperty of is-try-SELECT.REQ getter.- 戻り値:
- ReadOnlyProperty of is-try-SELECT.REQ
-
retrySelectRequestTimeout
public void retrySelectRequestTimeout(float seconds)SELECT.REQ retry-timeout setter.- パラメータ:
seconds- Timeout seconds
-
retrySelectRequestTimeout
ReadOnlyTimeProperty of SELECT.REQ Timeout getter.- 戻り値:
- ReadOnlyTimeProperty
-