パッケージ org.piax.gtrans
クラス TransOptions
java.lang.Object
org.piax.gtrans.TransOptions
- すべての実装されたインタフェース:
Serializable
public final class TransOptions extends Object implements Serializable
A transport options
- 関連項目:
- 直列化された形式
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static classTransOptions.DeliveryModestatic classTransOptions.ResponseTypestatic classTransOptions.RetransMode -
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 static Option.EnumOption<TransOptions.DeliveryMode>DEFAULT_DELIVERY_MODEstatic Option.EnumOption<TransOptions.ResponseType>DEFAULT_RESPONSE_TYPEstatic Option.EnumOption<TransOptions.RetransMode>DEFAULT_RETRANS_MODEstatic Option.IntegerOptionDEFAULT_TIMEOUT -
コンストラクタの概要
-
メソッドの概要
修飾子とタイプ メソッド 説明 static TransOptions.DeliveryModedeliveryMode(TransOptions opts)TransOptionsextraTime(Long time)LonggetExtraTime()LonggetPeriod()TransOptions.ResponseTypegetResponseType()TransOptions.RetransModegetRetransMode()longgetTimeout()TransOptionsinspect(boolean inspect)static booleaninspect(TransOptions opts)booleanisInspect()TransOptionsperiod(Long time)static TransOptions.ResponseTyperesponseType(TransOptions opts)TransOptionsresponseType(TransOptions.ResponseType responseType)static TransOptions.RetransModeretransMode(TransOptions opts)TransOptionsretransMode(TransOptions.RetransMode retransMode)TransOptionstimeout(long timeout)static longtimeout(TransOptions opts)StringtoString()
-
フィールド詳細
-
コンストラクタの詳細
-
TransOptions
public TransOptions() -
TransOptions
-
TransOptions
public TransOptions(long timeout)- パラメータ:
timeout- the timeout value in sec.
-
TransOptions
- パラメータ:
type- the response type.
-
TransOptions
- パラメータ:
mode- the retrans mode.
-
TransOptions
- パラメータ:
responseType- the response type.retransMode- the retrans mode.
-
TransOptions
- パラメータ:
timeout- the timeout.type- the response type
-
TransOptions
- パラメータ:
timeout- the timeout value in sec.mode- the retrans mode.
-
TransOptions
- パラメータ:
timeout- the timeout.type- the response type.inspect- true if inspection is needed.
-
TransOptions
public TransOptions(long timeout, TransOptions.ResponseType responseType, TransOptions.RetransMode retransMode)- パラメータ:
timeout- the timeout.responseType- the response type.retransMode- the retrans mode.
-
TransOptions
public TransOptions(long timeout, TransOptions.ResponseType responseType, TransOptions.RetransMode retransMode, TransOptions.DeliveryMode deliveryMode)- パラメータ:
timeout- the timeout.responseType- the reponse type.retransMode- the retrans mode.deliveryMode- the delivery mode.
-
TransOptions
public TransOptions(long timeout, TransOptions.ResponseType responseType, TransOptions.RetransMode retransMode, TransOptions.DeliveryMode deliveryMode, boolean inspect)- パラメータ:
timeout- the timeout.responseType- the response type.retransMode- the retrans mode.deliveryMode- the delivery mode.inspect- true if the inspection is needed.
-
TransOptions
public TransOptions(long timeout, TransOptions.ResponseType responseType, TransOptions.RetransMode retransMode, TransOptions.DeliveryMode deliveryMode, boolean inspect, Long extraTime, Long period)- パラメータ:
timeout- the timeout.responseType- the response type.retransMode- the retrans mode.deliveryMode- the delivery mode.inspect- true if the inspection is needed.extraTime- time to wait for leave in milli secperiod- sending cycle in milli sec
-
-
メソッドの詳細
-
timeout
- パラメータ:
opts- the transport options.- 戻り値:
- timeout.
-
responseType
- パラメータ:
opts- the transport options.- 戻り値:
- responseType.
-
retransMode
- パラメータ:
opts- the transport options.- 戻り値:
- retransMode.
-
deliveryMode
- パラメータ:
opts- the transport options.- 戻り値:
- deliveryMode.
-
inspect
- パラメータ:
opts- the transport options.- 戻り値:
- inspect value.
-
toString
-
getTimeout
public long getTimeout() -
getRetransMode
-
getResponseType
-
isInspect
public boolean isInspect() -
getExtraTime
-
getPeriod
-
timeout
-
inspect
-
responseType
-
retransMode
-
extraTime
-
period
-