Class: DripDrop

Inherits:
Object
  • Object
show all
Defined in:
lib/dripdrop/handlers/mongrel2.rb,
lib/dripdrop/node.rb,
lib/dripdrop/agent.rb,
lib/dripdrop/message.rb,
lib/dripdrop/version.rb,
lib/dripdrop/handlers/base.rb,
lib/dripdrop/handlers/zeromq.rb,
lib/dripdrop/handlers/http_client.rb,
lib/dripdrop/handlers/http_server.rb,
lib/dripdrop/handlers/websocket_server.rb

Overview

Large portion of at least the concepts (and plenty of the code) used here come from m2r

github.com/perplexes/m2r

Under the following license

Copyright © 2009 Pradeep Elankumaran

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Defined Under Namespace

Modules: SubclassedMessage, ZMQReadableHandler, ZMQWritableHandler Classes: Agent, AutoMessageClass, BaseHandler, HTTPClientHandler, HTTPEMServer, HTTPServerHandler, HTTPServerHandlerResponse, Message, Mongrel2Handler, Node, WebSocketHandler, WrongMessageClassError, ZMQBaseHandler, ZMQPubHandler, ZMQPullHandler, ZMQPushHandler, ZMQSubHandler, ZMQXRepHandler, ZMQXReqHandler

Constant Summary collapse

VERSION =
"0.11.0"
SEQ_CTR_KEY =
'_dd/xctr'

Class Attribute Summary collapse

Class Attribute Details

.default_message_classObject

Returns the value of attribute default_message_class.



9
10
11
# File 'lib/dripdrop/handlers/zeromq.rb', line 9

def default_message_class
  @default_message_class
end