public class SessionBase extends Own implements Pipe.IPipeEvents, IPollEvents, IMsgSink, IMsgSource
| Constructor and Description |
|---|
SessionBase(IOThread io_thread_,
boolean connect_,
SocketBase socket_,
Options options_,
Address addr_) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept_event() |
void |
attach_pipe(Pipe pipe_) |
void |
connect_event() |
static SessionBase |
create(IOThread io_thread_,
boolean connect_,
SocketBase socket_,
Options options_,
Address addr_) |
void |
destroy() |
void |
detach() |
void |
flush() |
SocketBase |
get_soket() |
void |
hiccuped(Pipe pipe_) |
void |
in_event() |
void |
out_event() |
protected void |
process_attach(IEngine engine_) |
protected void |
process_plug() |
protected void |
process_term(int linger_) |
Msg |
pull_msg() |
int |
push_msg(Msg msg_) |
void |
read_activated(Pipe pipe_) |
protected void |
reset() |
void |
terminated(Pipe pipe_) |
void |
timer_event(int id_) |
String |
toString() |
void |
write_activated(Pipe pipe_) |
inc_seqnum, is_terminating, launch_child, process_destroy, process_own, process_seqnum, process_term_ack, process_term_req, register_term_acks, term_child, terminate, unregister_term_ackchoose_io_thread, destroy_socket, find_endpoint, get_ctx, get_tid, process_activate_read, process_activate_write, process_bind, process_command, process_hiccup, process_pipe_term_ack, process_pipe_term, process_reap, process_reaped, process_stop, register_endpoint, send_activate_read, send_activate_write, send_attach, send_attach, send_bind, send_bind, send_done, send_hiccup, send_own, send_pipe_term_ack, send_pipe_term, send_plug, send_plug, send_reap, send_reaped, send_stop, send_term_ack, send_term_req, send_term, unregister_endpointspublic SessionBase(IOThread io_thread_, boolean connect_, SocketBase socket_, Options options_, Address addr_)
public static SessionBase create(IOThread io_thread_, boolean connect_, SocketBase socket_, Options options_, Address addr_)
public void attach_pipe(Pipe pipe_)
public Msg pull_msg()
pull_msg in interface IMsgSourceprotected void reset()
public void flush()
public void terminated(Pipe pipe_)
terminated in interface Pipe.IPipeEventspublic void read_activated(Pipe pipe_)
read_activated in interface Pipe.IPipeEventspublic void write_activated(Pipe pipe_)
write_activated in interface Pipe.IPipeEventspublic void hiccuped(Pipe pipe_)
hiccuped in interface Pipe.IPipeEventspublic SocketBase get_soket()
protected void process_plug()
process_plug in class ZObjectprotected void process_attach(IEngine engine_)
process_attach in class ZObjectpublic void detach()
protected void process_term(int linger_)
process_term in class Ownpublic void timer_event(int id_)
timer_event in interface IPollEventspublic void in_event()
in_event in interface IPollEventspublic void out_event()
out_event in interface IPollEventspublic void connect_event()
connect_event in interface IPollEventspublic void accept_event()
accept_event in interface IPollEventsCopyright © 2014. All rights reserved.