public class Ctx extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Ctx.Endpoint |
| Modifier and Type | Field and Description |
|---|---|
static int |
reaper_tid |
static int |
term_tid |
| Constructor and Description |
|---|
Ctx() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check_tag() |
IOThread |
choose_io_thread(long affinity_) |
SocketBase |
create_socket(int type_) |
void |
destroy_socket(SocketBase socket_) |
protected void |
destroy() |
Ctx.Endpoint |
find_endpoint(String addr_) |
ZObject |
get_reaper() |
int |
get(int option_) |
boolean |
register_endpoint(String addr_,
Ctx.Endpoint endpoint_) |
void |
send_command(int tid_,
Command command_) |
boolean |
set(int option_,
int optval_) |
void |
terminate() |
void |
unregister_endpoints(SocketBase socket_) |
public static final int term_tid
public static final int reaper_tid
protected void destroy()
public boolean check_tag()
public void terminate()
public boolean set(int option_,
int optval_)
public int get(int option_)
public SocketBase create_socket(int type_)
public void destroy_socket(SocketBase socket_)
public ZObject get_reaper()
public void send_command(int tid_,
Command command_)
public IOThread choose_io_thread(long affinity_)
public boolean register_endpoint(String addr_, Ctx.Endpoint endpoint_)
public void unregister_endpoints(SocketBase socket_)
public Ctx.Endpoint find_endpoint(String addr_)
Copyright © 2014. All rights reserved.