public class TransOptions extends Object implements Serializable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
TransOptions.DeliveryMode |
static class |
TransOptions.ResponseType |
static class |
TransOptions.RetransMode |
| コンストラクタと説明 |
|---|
TransOptions() |
TransOptions(long timeout) |
TransOptions(long timeout,
TransOptions.ResponseType type) |
TransOptions(long timeout,
TransOptions.ResponseType type,
boolean inspect) |
TransOptions(long timeout,
TransOptions.ResponseType responseType,
TransOptions.RetransMode retransMode) |
TransOptions(long timeout,
TransOptions.ResponseType responseType,
TransOptions.RetransMode retransMode,
TransOptions.DeliveryMode deliveryMode) |
TransOptions(long timeout,
TransOptions.ResponseType responseType,
TransOptions.RetransMode retransMode,
TransOptions.DeliveryMode deliveryMode,
boolean inspect) |
TransOptions(long timeout,
TransOptions.RetransMode mode) |
TransOptions(TransOptions.ResponseType type) |
TransOptions(TransOptions.ResponseType responseType,
TransOptions.RetransMode retransMode) |
TransOptions(TransOptions.RetransMode mode) |
TransOptions(TransOptions opts) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static TransOptions.DeliveryMode |
deliveryMode(TransOptions opts) |
TransOptions.ResponseType |
getResponseType() |
TransOptions.RetransMode |
getRetransMode() |
long |
getTimeout() |
static boolean |
inspect(TransOptions opts) |
boolean |
isInspect() |
static TransOptions.ResponseType |
responseType(TransOptions opts) |
static TransOptions.RetransMode |
retransMode(TransOptions opts) |
void |
setInspect(boolean inspect) |
void |
setResponseType(TransOptions.ResponseType responseType) |
void |
setRetransMode(TransOptions.RetransMode retransMode) |
void |
setTimeout(long timeout) |
static long |
timeout(TransOptions opts) |
String |
toString() |
public TransOptions()
public TransOptions(TransOptions opts)
public TransOptions(long timeout)
timeout - the timeout value in sec.public TransOptions(TransOptions.ResponseType type)
type - the response type.public TransOptions(TransOptions.RetransMode mode)
mode - the retrans mode.public TransOptions(TransOptions.ResponseType responseType, TransOptions.RetransMode retransMode)
responseType - the response type.retransMode - the retrans mode.public TransOptions(long timeout,
TransOptions.ResponseType type)
timeout - the timeout.type - the response typepublic TransOptions(long timeout,
TransOptions.RetransMode mode)
timeout - the timeout value in sec.mode - the retrans mode.public TransOptions(long timeout,
TransOptions.ResponseType type,
boolean inspect)
timeout - the timeout.type - the response type.inspect - true if inspection is needed.public TransOptions(long timeout,
TransOptions.ResponseType responseType,
TransOptions.RetransMode retransMode)
timeout - the timeout.responseType - the response type.retransMode - the retrans mode.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.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.public static long timeout(TransOptions opts)
opts - the transport options.public static TransOptions.ResponseType responseType(TransOptions opts)
opts - the transport options.public static TransOptions.RetransMode retransMode(TransOptions opts)
opts - the transport options.public static TransOptions.DeliveryMode deliveryMode(TransOptions opts)
opts - the transport options.public static boolean inspect(TransOptions opts)
opts - the transport options.public long getTimeout()
public void setTimeout(long timeout)
public boolean isInspect()
public void setInspect(boolean inspect)
public TransOptions.ResponseType getResponseType()
public void setResponseType(TransOptions.ResponseType responseType)
public TransOptions.RetransMode getRetransMode()
public void setRetransMode(TransOptions.RetransMode retransMode)
Copyright © 2017. All rights reserved.