Skip to content
lamatsujun edited this page Dec 12, 2011 · 4 revisions

Castoro::Common

Home > Components >

Page Contents

It is a class library where a common function to castoro is offered.
The class that is common between components of castoro and used is included.

Install

gem install castoro-common-X.X.X.gem

Class Details

  • BasketKey
    It is a class that becomes a key that identifies contents between components.
    It puts it on the protocol in the communication between components.
  • CastoroError
    It is an error class of the castoro component.
    The error matched to the error status of each component is included.
  • Protocol
    It is a class of the communication protocol between castoro components.
    The protocol of each command, the response, and UDPHeader is included.
  • Sender
    It is sender class of the TCP communication and the UDP communication.
    The transmitting function of UNIX and TCP and UDP and UDPmulthicast is offered.
  • Receiver
    It is receiver class of the TCP communication and the UDP communication.
    The reception function of TCP, UDP, and UDP maulticast is offered.
  • Server
    It is a server class of the stream connection.
    UNIX and the server function of the stream connection of TCP are offered.
  • Workers
    It is a base class of the worker thread that operates in the component.
    The base class of the worker thread of each component is this class.

Page TOP