public static class UtpSocketImpl.Builder extends Object
UtpSocketImpl instances progressively.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UtpSocketImpl |
build() |
UtpSocketImpl |
build(short connectionId) |
UtpSocketImpl.Builder |
setSocketAddress(SocketAddress socketAddress) |
UtpSocketImpl.Builder |
setUtpMultiplexer(UtpMultiplexer utpMultiplexer) |
public UtpSocketImpl.Builder setUtpMultiplexer(UtpMultiplexer utpMultiplexer)
public UtpSocketImpl.Builder setSocketAddress(SocketAddress socketAddress)
public UtpSocketImpl build()
public UtpSocketImpl build(short connectionId)
connectionId - The ID of the connection on which we'll send out.Copyright © 2016. All rights reserved.