Sha256: ccbc8a642c7fe24da6d4c06166f40c3479de2f9b691f8a43d01b79bb5cee3f88

Contents?: true

Size: 494 Bytes

Versions: 3

Compression:

Stored size: 494 Bytes

Contents

module ShadowsocksRuby
  module Connections
    module TCP
      # (see TCP::ClientConnection)
      module RemoteServerConnection
        include ShadowsocksRuby::Connections::Connection
        include ShadowsocksRuby::Connections::BackendConnection

        # (see TCP::ClientConnection#process_hook)
        def process_hook
          data = packet_protocol.tcp_receive_from_remoteserver(-1)
          plexer.packet_protocol.tcp_send_to_client(data)
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shadowsocks_ruby-0.1.2 lib/shadowsocks_ruby/connections/tcp/remoteserver_connection.rb
shadowsocks_ruby-0.1.1 lib/shadowsocks_ruby/connections/tcp/remoteserver_connection.rb
shadowsocks_ruby-0.1.0 lib/shadowsocks_ruby/connections/tcp/remoteserver_connection.rb