class Fluent::PluginHelper::Server::TLSCallbackSocket

Public Class Methods

new(sock) click to toggle source
# File lib/fluent/plugin_helper/server.rb, line 439
def initialize(sock)
  super("tls", sock, [:data, :write_complete, :close])
  @peeraddr = @sock.to_io.peeraddr
end

Public Instance Methods

write(data) click to toggle source
# File lib/fluent/plugin_helper/server.rb, line 444
def write(data)
  @sock.write(data)
end