Sha256: fdb35e8619a3d6823b3034265d5e14e94ab6e89fd65193bc27f32bdc2bed5fc2

Contents?: true

Size: 494 Bytes

Versions: 3

Compression:

Stored size: 494 Bytes

Contents

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

        # (see TCP::ClientConnection#process_hook)
        def process_hook
          data = packet_protocol.udp_receive_from_remoteserver(-1)
          plexer.packet_protocol.udp_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/udp/remoteserver_connection.rb
shadowsocks_ruby-0.1.1 lib/shadowsocks_ruby/connections/udp/remoteserver_connection.rb
shadowsocks_ruby-0.1.0 lib/shadowsocks_ruby/connections/udp/remoteserver_connection.rb