client
2015-04-09 13:11:06 2 举报
客户端(Client)是计算机网络中的一个术语,指的是与服务器进行通信的一方。在网络环境中,客户端通常是指用户使用的设备,如个人电脑、智能手机、平板电脑等。客户端通过发送请求到服务器来获取或发送数据,服务器则负责处理这些请求并返回相应的结果。客户端和服务器之间的通信遵循一定的协议,如HTTP、FTP等。客户端软件可以是浏览器、应用程序或其他支持网络通信的软件。总之,客户端是用户与网络世界互动的重要接口,为用户提供了丰富的信息和服务。
作者其他创作
大纲/内容
listen_watcher
conn_list
easy_connection_send_session_list()
unblocked
session_list
NO
packet-ObMySQLCommandPacket
easy_hash_dlist_del()
ObMySQLServer::initialize()
easy_connection_on_accept()
easy_connection_request_done()
EASY_AGAIN
initialization
into
request
io_thread is waked
easy_connection_do_response()
easy_buf_t
YES
packet
server
decode()
YES.Produce
easy_client_dispatch()
easy_session_create()
for each request
initialize
ASYNCHRONIZATION
error packet
easy_connection_write_socket()
NO. Push
easy_connection_on_wakeup()
easy_connection_on_listen()
encode()
easy_hash_dlist_add()
has readable event?
handler_
easy_connection_on_readable
EASY_OK
easy_session_process()
set
easy_io_on_thread_start()
up-layer application
read_watcher
MergeServer-ChunkServer
easy_connection_process_request()
queue
easy_connection_t
ObMySQLServer::start()
client OR server?
reuqest-ipacket
easy_connection_get_packet_id()
active
CONNECTION-ESTABLISHMENT
easy_message_destroy()
easy_connection_do_client()
easy_summary_t
process()
easy_eio_create()
request_list
listen_fd
easy_connection_session_build()
request-opacket
ObTbnetCallback::encode()
SYNCHRONIZATION
socket
2MB ?
of
ObMySQLCallBack
easy_baseth_init
easy_listen_t
process all request?
for each session
ObMergeCallback::sql_process()
easy_pool_t
easy_connection_do_request()
easy_connection_on_wakeup
return
easy_session_t
easy_io_handler_pt-on_connect()
YES.Trigger
client
thread_watcher
output buffer queue in TCP connection
allot
process()get_packet_id()on_disconnect()
0 条评论
回复 删除
下一页