Struct tdengine::SocketEvent
[−]
[src]
pub struct SocketEvent { /* fields omitted */ }
pub struct SocketEvent { /* fields omitted */ }
impl SocketEvent
[src]fn new(socket_fd: i32, client_ip: String, server_port: u16) -> SocketEvent
fn get_socket_fd(&self) -> i32
fn get_client_ip(&self) -> String
fn get_server_port(&self) -> u16
fn get_buffer(&mut self) -> &mut Buffer
fn get_out_cache(&mut self) -> &mut Buffer
fn set_online(&mut self, online: bool)
fn is_online(&mut self) -> bool
impl Debug for SocketEvent
[src]