Ruby EventMachine 0.7.0
File ID: 105697
Ruby EventMachine 0.7.0
File Size: 71.7 KB
Ruby EventMachine 0.7.0 Description
Description: EventMachine implements a fast, single-threaded engine for arbitrary network communications. It's extremely easy to use in Ruby. EventMachine wraps all interactions with IP sockets, allowing programs to concentrate on the implementation of network protocols. It can be used to create both network servers and clients.
To create a server or client, a Ruby program only needs to specify the IP address and port, and provide a Module that implements the communications protocol. Implementations of several standard network protocols are provided with the package, primarily to serve as examples. The real goal of EventMachine is to enable programs to easily interface with other programs using TCP/IP, especially if custom protocols are required.
A Ruby program uses EventMachine by registering the addresses and ports of network servers and clients, and then entering an event-handling loop. EventMachine contains glue code in Ruby which will execute callbacks to user-supplied code for all significant events occurring in the clients and servers. These events include connection acceptance, startup, data-receipt, shutdown, and timer events. Arbitrary processing can be performed by user code during event callbacks, including sending data to one or more remote network peers, startup and shutdown of network connections, and installation of new event handlers.
The EventMachine implements a very familiar model for network programming.
1) the maximum possible isolation of user code from network objects like sockets;
2) maximum performance and scalability;
3) extreme ease-of-use for user code. It attempts to provide a higher-level interface than similar projects which expose a variety of low-level event-handling and networking objects to Ruby programs.
Related: Network, eventmachine, Programs, Servers, Events, implements, protocols, Shutdown, Objects, maximum, Event, Interface, provide, Startup, Program, Create, eventhandling, clients, Communications, ruby eventmachine 0 7 0
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 71.7 KB
|More Similar Code|
Using this widget you can easily place the Cool-er Ruby containing an image of the cover of the book you are reading in the sidebar. You can also specify a URL to link to when clicking on the book cover image. Supports multiple instances, so you can use it multiple times in multiple sidebars. (adapted from the Simple Image Widget)
Once the plugin is enabled, the widget will be available in your widgets list as "Cool-er Ruby...
A Ruby interface for the libtorrent C bittorrent library. You can use it to create bittorrent enabled Ruby programs. Please note that libtorrent-ruby is a library and not a bittorrent tracker, however there is a simple bittorrent tracker provided...
This is a set of cross-platform native extensions for Ruby to enable Bluetooth networking. RFCOMM, L2CAP, SDP and OBEX protocols will be supported where available.
Ruby/ZOOM provides a Ruby binding to the Z39.50 Object-Orientation Model (ZOOM), an abstract object-oriented programming interface to a subset of the services specified by the Z39.50 standard, also known as the international standard ISO 23950.
The Ruby For Positioning Device project is a set of Ruby programs that allows reading GPS-related information from GPS receivers (GPSr) and saving them in a more appropriate and open format (GPX).
A GNOME2 based tool for interactively renameing files with regular expressions. rrename is a GNOME2 based tool which renames a set of files interactively with the help of regular expressions and ruby code.
It supports undo and redo and...
Ruby FrontBase bindings - Ruby bindings for the FrontBase database
CouchDb-Ruby is a Ruby front end for the CouchDb document database engine.
ruby-freedb is a freedb library for Ruby.
Ruby SQLite GUI is a cross-platform, GTK2, ActiveRecord-backed GUI tool for creating and managing SQLite databases. It is targeted towards Rails developers wanting to use SQLite instead of MySQL, pgSQL, etc., but can be used for anything else in...
|User Review for Ruby EventMachine