Module Hydra::MessagingIO
In: lib/hydra/messaging_io.rb

Module that implemets methods that auto-serialize and deserialize messaging objects.

Methods

close   gets   write  

Classes and Modules

Class Hydra::MessagingIO::UnprocessableMessage

Public Instance methods

Closes the IO object.

Read a Message from the input IO object. Automatically build a message from the response and return it.

 IO.gets
   => Hydra::Message # or subclass

Write a Message to the output IO object. It will automatically serialize a Message object.

 IO.write Hydra::Message.new

[Validate]