class Fluent::PluginHelper::Server::TCPCallbackSocket
Public Class Methods
new(sock)
click to toggle source
Calls superclass method
Fluent::PluginHelper::Server::CallbackSocket::new
# File lib/fluent/plugin_helper/server.rb, line 428 def initialize(sock) super("tcp", sock, [:data, :write_complete, :close]) @peeraddr = @sock.peeraddr end
Public Instance Methods
write(data)
click to toggle source
# File lib/fluent/plugin_helper/server.rb, line 433 def write(data) @sock.write(data) end