public final class ClientBootstrap extends CrtResource implements Closeable
Constructor and Description |
---|
ClientBootstrap(EventLoopGroup elg)
Creates a new ClientBootstrap.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
acquire, native_ptr, release
public ClientBootstrap(EventLoopGroup elg) throws CrtRuntimeException
elg
- An EventLoopGroup instance, most applications only ever have oneCrtRuntimeException
- If the provided EventLoopGroup is null or invalid,
or if the system is unable to allocate space for a native client bootstrap objectpublic void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2019. All rights reserved.