Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Koken 0.8.4
  • ContentBox 1.5.2
  • jQPlayer 0.5.2
  • SPOILER ALERT! 0.0.2
  • jQuery Mask Plugin 0.9.0
  • Easing Slider 2.1.2
  • Btapp.js 0.2.0
  • WiiFlash 0.4.5
  • Breeze.js 1.3.3
  • TinyMCE Templates 3.0.2
  • Home > Scripts > Communication Tools

    EventMachine 1.0.3

    download button


    Downloads: 715  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.5/5)
    17 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Francis Girardeau | More scripts
    rubyeventmachine.com
    LGPL - GNU Lesser General Public License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Ruby
    March 12th, 2013, 22:04 GMT
    C: \ Communication Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    EventMachine description

    A fast, simple event-processing library for Ruby programs.

    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.

    It emphasizes:

    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.



    TAGS:

    event handler | I/O library | network I/O | event | I/O | library

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM