Sha256: 218aacc081606c0c7f0311114acb882ebd9285dd1b4289a77e13a2130aa3af61
Contents?: true
Size: 768 Bytes
Versions: 4
Compression:
Stored size: 768 Bytes
Contents
require 'logger' require 'socket' require 'pp' require 'stringio' module Protobuf end # When setting up a client unless defined?(Protobuf::ConnectorType) && Protobuf::ConnectorType == "Socket" Protobuf::ConnectorType = "EventMachine" require 'eventmachine' require 'protobuf/ext/eventmachine' require 'protobuf/rpc/connectors/eventmachine' end # For running the rpc_server unless defined?(Protobuf::ServerType) && Protobuf::ServerType == "SocketServer" Protobuf::ServerType = "EventedServer" require 'eventmachine' require 'protobuf/ext/eventmachine' require 'protobuf/rpc/servers/evented_server' end require 'protobuf/rpc/client' require 'protobuf/rpc/connectors/socket' require 'protobuf/rpc/service' require 'protobuf/rpc/servers/socket_server'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
protobuf-1.1.1 | lib/protobuf.rb |
protobuf-1.1.0.beta2 | lib/protobuf.rb |
protobuf-1.1.0.beta1 | lib/protobuf.rb |
protobuf-1.1.0.beta0 | lib/protobuf.rb |