Class: Fluent::PluginHelper::Socket::WrappedSocket::TCP

Inherits:
TCPSocket
  • Object
show all
Defined in:
lib/fluent/plugin_helper/socket.rb

Instance Method Summary collapse

Instance Method Details

#remote_addrObject



212
# File 'lib/fluent/plugin_helper/socket.rb', line 212

def remote_addr; peeraddr[3]; end

#remote_hostObject



213
# File 'lib/fluent/plugin_helper/socket.rb', line 213

def remote_host; peeraddr[2]; end

#remote_portObject



214
# File 'lib/fluent/plugin_helper/socket.rb', line 214

def remote_port; peeraddr[1]; end