public class Ctx extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Ctx.Endpoint |
| Constructor and Description |
|---|
Ctx() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkTag()
Deprecated.
use
isActive() instead |
boolean |
closeSelector(Selector selector) |
Selector |
createSelector() |
SocketBase |
createSocket(int type) |
Errno |
errno() |
int |
get(int option) |
boolean |
isActive() |
boolean |
set(int option,
int optval) |
void |
terminate() |
public boolean isActive()
terminate()terminate() has been called.@Deprecated public boolean checkTag()
isActive() insteadterminate()terminate() has been called.public void terminate()
public boolean set(int option,
int optval)
public int get(int option)
public SocketBase createSocket(int type)
public Selector createSelector()
public boolean closeSelector(Selector selector)
public Errno errno()
Copyright © 2020. All rights reserved.