public class UtpSocketRegistration extends Object
ScheduledFuture polling the socket state with the actual socket.| Constructor and Description |
|---|
UtpSocketRegistration(UtpSocketImpl socket,
ScheduledFuture<?> pollingTask)
Creates a new registration of a
UtpSocketImpl. |
| Modifier and Type | Method and Description |
|---|---|
ScheduledFuture<?> |
getPollingTask() |
UtpSocketImpl |
getSocket() |
public UtpSocketRegistration(UtpSocketImpl socket, ScheduledFuture<?> pollingTask)
UtpSocketImpl.socket - The socket instance.pollingTask - The associated polling task which cleans up the socket state.public ScheduledFuture<?> getPollingTask()
public UtpSocketImpl getSocket()
Copyright © 2016. All rights reserved.