| Package | Description |
|---|---|
| io.jpower.kcp.netty |
Java implementation of KCP based on Netty.
|
| Modifier and Type | Method and Description |
|---|---|
Ukcp |
Ukcp.channel(io.netty.channel.Channel channel) |
Ukcp |
Ukcp.setAutoSetConv(boolean autoSetConv) |
Ukcp |
Ukcp.setByteBufAllocator(io.netty.buffer.ByteBufAllocator allocator)
Sets the
ByteBufAllocator which is used for the kcp to allocate buffers. |
Ukcp |
Ukcp.setDeadLink(int deadLink) |
Ukcp |
Ukcp.setFastFlush(boolean fastFlush) |
Ukcp |
Ukcp.setFastLimit(int fastLimit) |
Ukcp |
Ukcp.setFastResend(int fastResend)
Sets the fastresend of kcp.
|
Ukcp |
Ukcp.setInterval(int interval)
Sets update interval
|
Ukcp |
Ukcp.setMergeSegmentBuf(boolean mergeSegmentBuf) |
Ukcp |
Ukcp.setMinRto(int minRto) |
Ukcp |
Ukcp.setMtu(int mtu) |
Ukcp |
Ukcp.setNocwnd(boolean nocwnd) |
Ukcp |
Ukcp.setNodelay(boolean nodelay)
Sets whether enable nodelay.
|
Ukcp |
Ukcp.setRcvWnd(int rcvWnd) |
Ukcp |
Ukcp.setSndWnd(int sndWnd) |
Ukcp |
Ukcp.setStream(boolean stream) |
Ukcp |
Ukcp.setTsUpdate(int tsUpdate) |
Ukcp |
Ukcp.wndSize(int sndWnd,
int rcvWnd) |
| Constructor and Description |
|---|
DefaultUkcpClientChannelConfig(UkcpClientChannel channel,
Ukcp ukcp,
DatagramSocket javaSocket) |
DefaultUkcpServerChildChannelConfig(UkcpServerChildChannel channel,
Ukcp ukcp) |
Copyright © 2023. All rights reserved.