|
barchart-udt-core 2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.barchart.udt.OptionUDT<T>
public class OptionUDT<T>
The Enum OptionUDT.
provide 2 names: 1) UDT original and 2) human-readble
keep code values in sync with udt.h - UDT::UDTOpt; enum starts with index 0
UDT_MSS, // the Maximum Transfer Unit UDT_SNDSYN, // if sending is blocking UDT_RCVSYN, // if receiving is blocking UDT_CC, // custom congestion control algorithm UDT_FC, // Flight flag size (window size) UDT_SNDBUF, // maximum buffer in sending queue UDT_RCVBUF, // UDT receiving buffer size UDT_LINGER, // waiting for unsent data when closing UDP_SNDBUF, // UDP sending buffer size UDP_RCVBUF, // UDP receiving buffer size UDT_MAXMSG, // maximum datagram message size UDT_MSGTTL, // time-to-live of a datagram message UDT_RENDEZVOUS, // rendezvous connection mode UDT_SNDTIMEO, // send() timeout UDT_RCVTIMEO, // recv() timeout UDT_REUSEADDR, // reuse an existing port or create a new one UDT_MAXBW, // maximum bandwidth (bytes per second) that the connection can use UDT_STATE, // current socket state, see UDTSTATUS, read only UDT_EVENT, // current avalable events associated with the socket UDT_SNDDATA, // size of data in the sending buffer UDT_RCVDATA // size of data available for recv
| Nested Class Summary | |
|---|---|
static class |
OptionUDT.Format
render options in human format |
| Field Summary | |
|---|---|
static OptionUDT<FactoryUDT> |
Custom_Congestion_Control
custom congestion control algorithm, class factory |
static OptionUDT<Integer> |
Epoll_Event_Mask
current available epoll events, see EpollUDT.Opt.code |
static OptionUDT<Integer> |
Flight_Window_Size
Flight flag size (window size), bytes |
static OptionUDT<Boolean> |
Is_Address_Reuse_Enabled
reuse an existing port or create a one. |
static OptionUDT<Boolean> |
Is_Randezvous_Connect_Enabled
rendezvous connection mode, enabled/disabled |
static OptionUDT<Boolean> |
Is_Receive_Synchronous
if receiving is blocking, true/false |
static OptionUDT<Boolean> |
Is_Send_Synchronous
if sending is blocking., true/false |
protected static org.slf4j.Logger |
log
|
static OptionUDT<Long> |
Maximum_Bandwidth
maximum bandwidth (bytes per second) that the connection can use. |
static OptionUDT<Integer> |
Maximum_Transfer_Unit
the Maximum Transfer Unit., bytes |
static OptionUDT<Integer> |
Protocol_Receive_Buffer_Size
UDT receiving buffer size limit, bytes |
static OptionUDT<Integer> |
Protocol_Send_Buffer_Size
maximum buffer in sending queue. |
static OptionUDT<Integer> |
Receive_Buffer_Available
current available receiving buffer capacity, read only, bytes |
static OptionUDT<Integer> |
Receive_Timeout
recv() timeout. |
static OptionUDT<Integer> |
Send_Buffer_Consumed
current consumed sending buffer utilization, read only, bytes |
static OptionUDT<Integer> |
Send_Timeout
send() timeout. |
static OptionUDT<Integer> |
Status_Code
current socket status code, see StatusUDT.getCode(), read only |
static OptionUDT<Integer> |
System_Receive_Buffer_Size
UDP receiving buffer size limit, bytes |
static OptionUDT<Integer> |
System_Send_Buffer_Size
UDP sending buffer size limit, bytes |
static OptionUDT<LingerUDT> |
Time_To_Linger_On_Close
waiting for unsent data when closing. |
static OptionUDT<Integer> |
UDP_RCVBUF
UDP receiving buffer size. |
static OptionUDT<Integer> |
UDP_SNDBUF
UDP sending buffer size. |
static OptionUDT<FactoryUDT> |
UDT_CC
custom congestion control algorithm |
static OptionUDT<Integer> |
UDT_EVENT
current available events associated with the socket |
static OptionUDT<Integer> |
UDT_FC
Flight flag size (window size). |
static OptionUDT<LingerUDT> |
UDT_LINGER
waiting for unsent data when closing. |
static OptionUDT<Long> |
UDT_MAXBW
maximum bandwidth (bytes per second) that the connection can use. |
static OptionUDT<Integer> |
UDT_MSS
the Maximum Transfer Unit. |
static OptionUDT<Integer> |
UDT_RCVBUF
UDT receiving buffer size. |
static OptionUDT<Integer> |
UDT_RCVDATA
size of data available for recv |
static OptionUDT<Boolean> |
UDT_RCVSYN
if receiving is blocking. |
static OptionUDT<Integer> |
UDT_RCVTIMEO
recv() timeout. |
static OptionUDT<Boolean> |
UDT_RENDEZVOUS
rendezvous connection mode. |
static OptionUDT<Boolean> |
UDT_REUSEADDR
reuse an existing port or create a one. |
static OptionUDT<Integer> |
UDT_SNDBUF
maximum buffer in sending queue. |
static OptionUDT<Integer> |
UDT_SNDDATA
size of data in the sending buffer |
static OptionUDT<Boolean> |
UDT_SNDSYN
if sending is blocking. |
static OptionUDT<Integer> |
UDT_SNDTIMEO
send() timeout. |
static OptionUDT<Integer> |
UDT_STATE
current socket state, see UDTSTATUS, read only |
protected static List<OptionUDT<?>> |
values
|
| Constructor Summary | |
|---|---|
protected |
OptionUDT(int code,
Class<T> klaz,
OptionUDT.Format format)
|
| Method Summary | ||
|---|---|---|
static void |
appendSnapshot(SocketUDT socketUDT,
StringBuilder text)
|
|
int |
code()
|
|
OptionUDT.Format |
format()
|
|
String |
name()
|
|
protected static
|
NEW(int code,
Class<T> klaz,
OptionUDT.Format format)
|
|
Class<?> |
type()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final OptionUDT<Integer> UDT_MSS
public static final OptionUDT<Integer> Maximum_Transfer_Unit
public static final OptionUDT<Boolean> UDT_SNDSYN
public static final OptionUDT<Boolean> Is_Send_Synchronous
public static final OptionUDT<Boolean> UDT_RCVSYN
public static final OptionUDT<Boolean> Is_Receive_Synchronous
public static final OptionUDT<FactoryUDT> UDT_CC
public static final OptionUDT<FactoryUDT> Custom_Congestion_Control
public static final OptionUDT<Integer> UDT_FC
public static final OptionUDT<Integer> Flight_Window_Size
public static final OptionUDT<Integer> UDT_SNDBUF
public static final OptionUDT<Integer> Protocol_Send_Buffer_Size
public static final OptionUDT<Integer> UDT_RCVBUF
public static final OptionUDT<Integer> Protocol_Receive_Buffer_Size
public static final OptionUDT<LingerUDT> UDT_LINGER
public static final OptionUDT<LingerUDT> Time_To_Linger_On_Close
public static final OptionUDT<Integer> UDP_SNDBUF
public static final OptionUDT<Integer> System_Send_Buffer_Size
public static final OptionUDT<Integer> UDP_RCVBUF
public static final OptionUDT<Integer> System_Receive_Buffer_Size
public static final OptionUDT<Boolean> UDT_RENDEZVOUS
public static final OptionUDT<Boolean> Is_Randezvous_Connect_Enabled
public static final OptionUDT<Integer> UDT_SNDTIMEO
public static final OptionUDT<Integer> Send_Timeout
public static final OptionUDT<Integer> UDT_RCVTIMEO
public static final OptionUDT<Integer> Receive_Timeout
public static final OptionUDT<Boolean> UDT_REUSEADDR
public static final OptionUDT<Boolean> Is_Address_Reuse_Enabled
public static final OptionUDT<Long> UDT_MAXBW
public static final OptionUDT<Long> Maximum_Bandwidth
public static final OptionUDT<Integer> UDT_STATE
public static final OptionUDT<Integer> Status_Code
StatusUDT.getCode(), read only
public static final OptionUDT<Integer> UDT_EVENT
public static final OptionUDT<Integer> Epoll_Event_Mask
EpollUDT.Opt.code
public static final OptionUDT<Integer> UDT_SNDDATA
public static final OptionUDT<Integer> Send_Buffer_Consumed
public static final OptionUDT<Integer> UDT_RCVDATA
public static final OptionUDT<Integer> Receive_Buffer_Available
protected static final org.slf4j.Logger log
protected static final List<OptionUDT<?>> values
| Constructor Detail |
|---|
protected OptionUDT(int code,
Class<T> klaz,
OptionUDT.Format format)
| Method Detail |
|---|
protected static <T> OptionUDT<T> NEW(int code,
Class<T> klaz,
OptionUDT.Format format)
public static void appendSnapshot(SocketUDT socketUDT,
StringBuilder text)
public int code()
public Class<?> type()
public OptionUDT.Format format()
public String name()
|
barchart-udt-core 2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||