Class: Rinda::TupleSpaceProxy::Port
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rinda/rinda.rb |
Overview
A Port ensures that a moved tuple arrives properly at its destination and does not get lost.
Class Method Summary
- .deliver
- .new ⇒ Port constructor
Instance Attribute Summary
- #value readonly
Instance Method Summary
-
#close
Don't let the DRb thread push to it when remote sends tuple.
-
#push(value)
Stores #value and ensure it does not get marshaled multiple times.
Constructor Details
.new ⇒ Port
# File 'lib/rinda/rinda.rb', line 230
def initialize @open = true @value = nil end
Class Method Details
.deliver
[ GitHub ]Instance Attribute Details
#value (readonly)
[ GitHub ]# File 'lib/rinda/rinda.rb', line 216
attr_reader :value
Instance Method Details
#close
Don't let the DRb thread push to it when remote sends tuple
# File 'lib/rinda/rinda.rb', line 238
def close @open = false end
#push(value)
Stores #value and ensure it does not get marshaled multiple times.