Top Description Methods
io.vertx.core.net.impl.pool

public Interface EndpointProvider<C>

Imports
io.vertx.core.impl.ContextInternal

Provides endpoint to a ConnectionManager.
Author
Julien Viet

Method Summary

Modifier and TypeMethod and Description
public Endpoint<C>

Returns:

the created endpoint
create
(ContextInternal
the creating context
ctx
,
Runnable
the callback to signal this endpoint should be destroyed
dispose
)

Create an endpoint tracked by the ConnectionManager.

Method Detail

createback to summary
public Endpoint<C> create(ContextInternal ctx, Runnable dispose)

Create an endpoint tracked by the ConnectionManager.

Parameters
ctx:ContextInternal

the creating context

dispose:Runnable

the callback to signal this endpoint should be destroyed

Returns:Endpoint<C>

the created endpoint